1bff15cd | 14-Aug-2023 |
Alexon Oliveira <alexondunkan@gmail.com> |
staging: vme_user: fix check lines should not end with a '('
Fixed all CHECK: Lines should not end with a '(' as reported by checkpatch to adhere to the Linux kernel coding-style guidelines.
Signed
staging: vme_user: fix check lines should not end with a '('
Fixed all CHECK: Lines should not end with a '(' as reported by checkpatch to adhere to the Linux kernel coding-style guidelines.
Signed-off-by: Alexon Oliveira <alexondunkan@gmail.com> Link: https://lore.kernel.org/r/ZNqbDtRjGWq67lDJ@alolivei-thinkpadt480s.gru.csb Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
|
56d098b7 | 15-Mar-2023 |
Menna Mahmoud <eng.mennamahmoud.mm@gmail.com> |
staging: vme_user: remove unnecessary blank lines
Remove unnecessary blank lines before a close brace as reported by checkpatch script
"CHECK: Blank lines aren't necessary before a close brace '}'"
staging: vme_user: remove unnecessary blank lines
Remove unnecessary blank lines before a close brace as reported by checkpatch script
"CHECK: Blank lines aren't necessary before a close brace '}'"
Signed-off-by: Menna Mahmoud <eng.mennamahmoud.mm@gmail.com> Link: https://lore.kernel.org/r/c8fedfeca9a56dba26846a5bed56642cc694bcbe.1678899549.git.eng.mennamahmoud.mm@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
|
9ac9e59f | 15-Jan-2023 |
Abhirup Deb <abhirupdeb@linux.vnet.ibm.com> |
staging: vme_user: Replace the "<<" with BIT macro
Replace the "<<" operator with BIT macro, in accordance to the checkpatch.pl script and Linux kernel coding-style guidelines.
Signed-off-by: Abhir
staging: vme_user: Replace the "<<" with BIT macro
Replace the "<<" operator with BIT macro, in accordance to the checkpatch.pl script and Linux kernel coding-style guidelines.
Signed-off-by: Abhirup Deb <abhirupdeb@linux.vnet.ibm.com> Link: https://lore.kernel.org/r/Y8O5DN9ehby8K487@li-27defe4c-32e1-11b2-a85c-e202e9981075.ibm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
|
e185623a | 08-Dec-2022 |
Matt Jan <zoo868e@gmail.com> |
staging: vme_user: replace 'unsigned' with 'unsigned int'
Update the bare use of "unsigned" to the preferred "unsigned int".
Signed-off-by: Matt Jan <zoo868e@gmail.com> Link: https://lore.kernel.or
staging: vme_user: replace 'unsigned' with 'unsigned int'
Update the bare use of "unsigned" to the preferred "unsigned int".
Signed-off-by: Matt Jan <zoo868e@gmail.com> Link: https://lore.kernel.org/r/20221209021756.5597-3-zoo868e@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
|
3b529e14 | 08-Dec-2022 |
Matt Jan <zoo868e@gmail.com> |
staging: vme_user: remove unnecessary spaces
Remove unnecessary spaces before function pointer arguments in vme_bridge.h. This is done with command ':%s/) (/)('.
Signed-off-by: Matt Jan <zoo868e@gm
staging: vme_user: remove unnecessary spaces
Remove unnecessary spaces before function pointer arguments in vme_bridge.h. This is done with command ':%s/) (/)('.
Signed-off-by: Matt Jan <zoo868e@gmail.com> Link: https://lore.kernel.org/r/20221209021756.5597-2-zoo868e@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
|
37aa6b98 | 05-Dec-2022 |
Chen Zhongjin <chenzhongjin@huawei.com> |
vme: Use root_device_register() not underlined version
root_device_register and __root_device_register have exactly same effect. Use the not underlined version to keep usage consistency.
Signed-off
vme: Use root_device_register() not underlined version
root_device_register and __root_device_register have exactly same effect. Use the not underlined version to keep usage consistency.
Signed-off-by: Chen Zhongjin <chenzhongjin@huawei.com> Link: https://lore.kernel.org/r/20221206015033.125827-1-chenzhongjin@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
|
7bef797d | 05-Dec-2022 |
Chen Zhongjin <chenzhongjin@huawei.com> |
vme: Fix error not catched in fake_init()
In fake_init(), __root_device_register() is possible to fail but it's ignored, which can cause unregistering vme_root fail when exit.
general protection f
vme: Fix error not catched in fake_init()
In fake_init(), __root_device_register() is possible to fail but it's ignored, which can cause unregistering vme_root fail when exit.
general protection fault, probably for non-canonical address 0xdffffc000000008c KASAN: null-ptr-deref in range [0x0000000000000460-0x0000000000000467] RIP: 0010:root_device_unregister+0x26/0x60 Call Trace: <TASK> __x64_sys_delete_module+0x34f/0x540 do_syscall_64+0x38/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd
Return error when __root_device_register() fails.
Fixes: 658bcdae9c67 ("vme: Adding Fake VME driver") Signed-off-by: Chen Zhongjin <chenzhongjin@huawei.com> Link: https://lore.kernel.org/r/20221205084805.147436-1-chenzhongjin@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
|