[PATCH v3] platform/x86: asus-wmi: Add param to turn fn-lock mode on by default

2021-03-23 Thread Luca Stefani
* On recent ZenBooks the fn-lock is disabled by default on boot while running Windows. * Add a module param ( fnlock_default ) that allows changing the default at probe time Signed-off-by: Luca Stefani --- drivers/platform/x86/asus-wmi.c | 5 - 1 file changed, 4 insertions(+), 1

[PATCH v2] platform/x86: asus-wmi: Add param to turn fn-lock mode on by default

2021-03-23 Thread Luca Stefani
* On recent ZenBooks the fn-lock is disabled by default on boot while running Windows. * Add a module param ( fnlock_default ) that allows changing the default at probe time Signed-off-by: Luca Stefani --- drivers/platform/x86/asus-wmi.c | 5 - 1 file changed, 4 insertions(+), 1

[PATCH] platform/x86: asus-wmi: Disable fn-lock mode by default

2021-03-16 Thread Luca Stefani
* On recent ZenBooks the fn-lock is disabled by default on boot while running Windows. * Follow the same paradigm also here. Signed-off-by: Luca Stefani --- drivers/platform/x86/asus-wmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/asus-wmi.c b

[tip: ras/core] RAS/CEC: Fix cec_init() prototype

2020-08-20 Thread tip-bot2 for Luca Stefani
The following commit has been merged into the ras/core branch of tip: Commit-ID: 85e6084e0b436cabe9c909e679937998ffbf9c9d Gitweb: https://git.kernel.org/tip/85e6084e0b436cabe9c909e679937998ffbf9c9d Author:Luca Stefani AuthorDate:Wed, 05 Aug 2020 11:57:08 +02:00 Committer

[tip: ras/core] RAS/CEC: Fix cec_init() prototype

2020-08-18 Thread tip-bot2 for Luca Stefani
The following commit has been merged into the ras/core branch of tip: Commit-ID: 71aefb9a89d4ad751726ff5b902896c35c7df5b9 Gitweb: https://git.kernel.org/tip/71aefb9a89d4ad751726ff5b902896c35c7df5b9 Author:Luca Stefani AuthorDate:Wed, 05 Aug 2020 11:57:08 +02:00 Committer

[PATCH v2] RAS/CEC: Fix cec_init prototype

2020-08-05 Thread Luca Stefani
* late_initcall expects a function that returns an integer -> Update the function signature to match. Fixes: 9554bfe403nd ("x86/mce: Convert the CEC to use the MCE notifier") Signed-off-by: Luca Stefani --- drivers/ras/cec.c | 9 + 1 file changed, 5 insertions(+), 4 delet

[PATCH] RAS/CEC: Fix cec_init prototype

2020-08-04 Thread Luca Stefani
* late_initcall expects a function to return an integer Signed-off-by: Luca Stefani --- drivers/ras/cec.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/ras/cec.c b/drivers/ras/cec.c index 569d9ad2c594..e048e0e3949a 100644 --- a/drivers/ras/cec.c +++ b

[PATCH v2] ntfs: Fix ntfs_test_inode and ntfs_init_locked_inode function type

2020-07-18 Thread Luca Stefani
ntfs_mount+0x18/0x24 mount_fs+0x1b0/0x380 vfs_kern_mount+0x90/0x398 do_mount+0x5d8/0x1a10 SyS_mount+0x108/0x144 el0_svc_naked+0x34/0x38 Signed-off-by: Luca Stefani Tested-by: freak07 Acked-by: Anton Altaparmakov --- fs/ntfs/dir.c | 2 +- fs/ntfs/inode.c | 27 ++- fs

[PATCH] ntfs: Fix ntfs_test_inode and ntfs_init_locked_inode function type

2020-06-27 Thread Luca Stefani
do_mount+0x5d8/0x1a10 SyS_mount+0x108/0x144 el0_svc_naked+0x34/0x38 Fixing iget5_locked and ilookup5 callers seems enough Signed-off-by: Luca Stefani Tested-by: freak07 --- fs/ntfs/dir.c | 2 +- fs/ntfs/inode.c | 23 --- fs/ntfs/inode.h | 4 +--- fs/ntfs/mft.c | 4 ++-- 4

[PATCH] ntfs: Fix ntfs_test_inode and ntfs_init_locked_inode function type

2020-06-02 Thread Luca Stefani
do_mount+0x5d8/0x1a10 SyS_mount+0x108/0x144 el0_svc_naked+0x34/0x38 Fixing iget5_locked and ilookup5 callers seems enough Signed-off-by: Luca Stefani Tested-by: freak07 --- fs/ntfs/dir.c | 2 +- fs/ntfs/inode.c | 23 --- fs/ntfs/inode.h | 4 +--- fs/ntfs/mft.c | 5