Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2023 16:32:55 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 0ae6421c8573 - stable/13 - linuxkpi: Use a proper declaration for pm_suspend_via_firmware.
Message-ID:  <202303221632.32MGWtBL024088@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=0ae6421c85732ccf203a10b04aa723da65345a5b

commit 0ae6421c85732ccf203a10b04aa723da65345a5b
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-01-28 03:29:39 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-03-22 15:22:07 +0000

    linuxkpi: Use a proper declaration for pm_suspend_via_firmware.
    
    Reported by:    GCC -Wstrict-prototypes
    
    (cherry picked from commit 4d77927e2af3a991c5b07071b7fe18673d7742f2)
---
 sys/compat/linuxkpi/common/include/linux/suspend.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/include/linux/suspend.h b/sys/compat/linuxkpi/common/include/linux/suspend.h
index 8ceafaf35f56..dacecbebdc08 100644
--- a/sys/compat/linuxkpi/common/include/linux/suspend.h
+++ b/sys/compat/linuxkpi/common/include/linux/suspend.h
@@ -15,7 +15,7 @@ extern suspend_state_t pm_suspend_target_state;
 #define	PM_SUSPEND_MAX		4
 
 static inline int
-pm_suspend_via_firmware()
+pm_suspend_via_firmware(void)
 {
 	return 0;
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303221632.32MGWtBL024088>