Ahmet Sezgin Duran
145a22aab1
staging: sm750fb: use early returns in frequency checks
...
Invert the frequency validation conditions and use early returns
to reduce nesting and improve readability.
No functional changes.
Signed-off-by: Ahmet Sezgin Duran <ahmet@sezginduran.net >
Link: https://patch.msgid.link/20260512164124.188210-3-ahmet@sezginduran.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 12:37:22 +02:00
Ahmet Sezgin Duran
ee681e7b6a
staging: sm750fb: remove unused includes
...
Remove unused header file includes from multiple source files to
declutter the include sections.
Also remove the unused CONFIG_MTRR include block after verifying
that no MTRR interfaces are used by the driver.
No functional changes.
Signed-off-by: Ahmet Sezgin Duran <ahmet@sezginduran.net >
Link: https://patch.msgid.link/20260512164124.188210-2-ahmet@sezginduran.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 12:37:22 +02:00
Michael Straube
632b69132c
staging: rtl8723bs: remove READ_AND_CONFIG_MP macro
...
Remove the READ_AND_CONFIG_MP macro from odm_HWConfig.c and call the
ODM_ReadAndConfig_MP_* functions directly to reduce code complexity and
improve readability.
Signed-off-by: Michael Straube <straube.linux@gmail.com >
Reviewed-by: Dan Carpenter <error27@gmail.com >
Link: https://patch.msgid.link/20260517072802.71149-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:22:17 +02:00
Nikolay Kulikov
6ddafcd8c8
staging: rtl8723bs: remove unused SysIntrStatus from struct hal_com_data
...
This field has not been used anywhere since the driver was added, so
remove it to eliminate dead code.
Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com >
Link: https://patch.msgid.link/20260512125703.6878-5-nikolayof23@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:21:14 +02:00
Nikolay Kulikov
a00e23438d
staging: rtl8723bs: remove overwriting of current IMR settings
...
Originally, this code use to
Step 1: Read a value from register
Step 2: Add some bits to the value
Step 3: Write the result back to the same register
The problem was that the bits in Step 2 were always zero and didn't
change the value, so I have removed that code. Now this function
just reads a value and writes the same value back. It is unnecessary
and can be removed.
Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com >
Link: https://patch.msgid.link/20260512125703.6878-4-nikolayof23@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:21:14 +02:00
Nikolay Kulikov
591e09e749
staging: rtl8723bs: remove empty InitSysInterrupt8723BSdio()
...
This function does not do any useful work to initialize interrupt, so
remove it co clean up dead code.
Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com >
Link: https://patch.msgid.link/20260512125703.6878-3-nikolayof23@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:21:14 +02:00
Nikolay Kulikov
ab6148c242
staging: rtl8723bs: remove unused SysIntrMask from struct hal_com_data
...
This field is set to 0 once, and its use becomes optional. Remove it to
clean up dead code.
Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com >
Link: https://patch.msgid.link/20260512125703.6878-2-nikolayof23@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:21:14 +02:00
Ayushman Rout
ed2b7541e7
staging: rtl8723bs: fix CamelCase of DelayLPSLastTimeStamp
...
Rename CamelCase variable DelayLPSLastTimeStamp to
delay_lps_last_time_stamp across rtw_cmd.c, rtw_pwrctrl.c
and rtw_pwrctrl.h.
Signed-off-by: Ayushman Rout <ayushmanrout27@gmail.com >
Link: https://patch.msgid.link/20260512104539.18629-1-ayushmanrout27@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:21:11 +02:00
Ayushman Rout
2014f38e4a
staging: rtl8723bs: fix line lengths in rtw_cmd.c
...
Minor Fix in lines exceeding 100 characters
Signed-off-by: Ayushman Rout <ayushmanrout27@gmail.com >
Link: https://patch.msgid.link/20260512063135.2880-1-ayushmanrout27@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:21:09 +02:00
Jennifer Guo
9893f32976
staging: rtl8723bs: fix unbalanced braces in 3 files
...
Add missing braces to if/else statements to comply with kernel coding
style.
This fixes the following checkpatch.pl checks:
- CHECK: Unbalanced braces around else statement
- CHECK: braces {} should be used on all arms of this statement
Signed-off-by: Jennifer Guo <guojy.bj@gmail.com >
Link: https://patch.msgid.link/20260512054655.4800-1-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:21:08 +02:00
Jennifer Guo
75f9613aef
staging: rtl8723bs: fix unbalanced braces in rtw_recv.c
...
Add missing braces to if/else statements to comply with kernel coding
style.
This fixes the following checkpatch.pl checks for rtw_recv.c:
- CHECK: Unbalanced braces around else statement
- CHECK: braces {} should be used on all arms of this statement
Signed-off-by: Jennifer Guo <guojy.bj@gmail.com >
Link: https://patch.msgid.link/20260512050826.3117-1-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:21:05 +02:00
Jennifer Guo
9f7da7b1f2
staging: rtl8723bs: remove unnecessary blank lines in rtw_security.c
...
Remove unnecessary blank lines around braces {} to improve readability.
This fixes the following checkpatch.pl checks in rtw_security.c:
- CHECK: Blank lines aren't necessary after an open brace '{'
- CHECK: Blank lines aren't necessary before a close brace '}'
Signed-off-by: Jennifer Guo <guojy.bj@gmail.com >
Link: https://patch.msgid.link/20260511182038.6625-3-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:21:01 +02:00
Jennifer Guo
6602a11fdb
staging: rtl8723bs: remove unnecessary blank lines in rtw_mlme_ext.c
...
Remove unnecessary blank lines around braces {} to improve readability.
This fixes the following checkpatch.pl checks in rtw_mlme_ext.c:
- CHECK: Blank lines aren't necessary after an open brace '{'
- CHECK: Blank lines aren't necessary before a close brace '}'
Signed-off-by: Jennifer Guo <guojy.bj@gmail.com >
Link: https://patch.msgid.link/20260511182038.6625-2-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:21:01 +02:00
Ahmet Sezgin Duran
0007c79071
staging: sm750fb: remove unnecessary initializations
...
Remove two instances of `de_ctrl = 0` initializations since the
variable is overridden unconditionally before being used.
Signed-off-by: Ahmet Sezgin Duran <ahmet@sezginduran.net >
Link: https://patch.msgid.link/20260511171745.79646-1-ahmet@sezginduran.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:20:54 +02:00
Ayush Mukkanwar
2191a8dfd1
staging: octeon: replace pr_warn with dev_warn in fill and rx paths
...
Add struct platform_device parameter to cvm_oct_fill_hw_memory,
cvm_oct_mem_fill_fpa, cvm_oct_rx_refill_pool and
cvm_oct_rx_initialize to support device-aware logging. Replace
pr_warn with dev_warn using &pdev->dev.
To avoid passing these parameters through global state, introduce
struct octeon_ethernet_platform to hold per-device state including
the rx_refill_work and the oct_rx_group array. This ensures all
receive group state and workers are correctly associated with the
platform device.
Define struct oct_rx_group and struct octeon_ethernet_platform in
octeon-ethernet.h so they are shared across compilation units.
Signed-off-by: Ayush Mukkanwar <ayushmukkanwar@gmail.com >
Link: https://patch.msgid.link/20260511150931.93382-4-ayushmukkanwar@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:20:45 +02:00
Ayush Mukkanwar
9144251294
staging: octeon: ethernet: replace pr_err and pr_info with dev_err and netdev_err
...
Replace pr_err() and pr_info() calls in cvm_oct_probe() with
dev_err(), netdev_err(), and netdev_info() to include device
information in log messages. Use dev_err() where no net_device
is available (allocation failures), and netdev_err()/netdev_info()
where a net_device exists.
Signed-off-by: Ayush Mukkanwar <ayushmukkanwar@gmail.com >
Link: https://patch.msgid.link/20260511150931.93382-3-ayushmukkanwar@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:20:45 +02:00
Ayush Mukkanwar
be5e8d5f61
staging: octeon: ethernet-mem: replace pr_warn with dev_warn in free functions
...
Add struct platform_device parameter to cvm_oct_free_hw_skbuff,
cvm_oct_free_hw_memory and cvm_oct_mem_empty_fpa. Replace pr_warn
calls with dev_warn, using &pdev->dev for device-aware logging.
Signed-off-by: Ayush Mukkanwar <ayushmukkanwar@gmail.com >
Link: https://patch.msgid.link/20260511150931.93382-2-ayushmukkanwar@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-21 11:20:45 +02:00
Michael Steinmötzger
6abf0b2df0
staging: rtl8723bs: fix type issue in DYNAMIC_BB_DYNAMIC_TXPWR
...
Add explicit cast to fix -Werror=overflow warning for BIT(2) usage
in DYNAMIC_BB_DYNAMIC_TXPWR
Suggested-by: Nikolay Kulikov <nikolayof23@gmail.com >
Signed-off-by: Michael Steinmötzger <m.steinmoetzger@gmail.com >
Link: https://patch.msgid.link/20260511044029.14839-1-m.steinmoetzger@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:35:30 +02:00
Michael Steinmötzger
6a620bb2f4
staging: rtl8723bs: replace non-standard BITn macros with BIT(n)
...
Remove the local BIT0-BIT31 macro definitions from osdep_service.h
and replace all usages with the kernel's BIT(n) macro from <linux/bitops.h>.
NOTE: DYNAMIC_BB_DYNAMIC_TXPWR is defined as BIT2 and used
in a bitwise NOT expression. Migrating to BIT(2) causes an
-Werror=overflow warning due to the unsigned long result not
fitting in u32. This instance has been left unconverted.
Compile-tested only.
Signed-off-by: Michael Steinmötzger <m.steinmoetzger@gmail.com >
Link: https://patch.msgid.link/20260509032202.146240-1-m.steinmoetzger@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:24:31 +02:00
Andrei Khomenkov
3a7def187d
staging: rtl8723bs: simplify if-else blocks in rtw_mlme_ext.c
...
Fix indentation, remove unnecessary braces, and wrap long lines
in if-else blocks inside the site_survey function.
Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org >
Link: https://patch.msgid.link/20260510134315.64295-10-khomenkov@mailbox.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:13:24 +02:00
Andrei Khomenkov
acda662a0a
staging: rtl8723bs: remove commented out code in rtw_mlme_ext.c
...
Remove commented out code in the site_survey function as it is not used.
Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org >
Link: https://patch.msgid.link/20260510134315.64295-9-khomenkov@mailbox.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:13:24 +02:00
Andrei Khomenkov
4fc90c9f94
staging: rtl8723bs: remove unused RTW_MLME_EXT_C_ code
...
Remove the RTW_MLME_EXT_C_ code since it is not used as the macro
is not defined anywhere.
Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org >
Link: https://patch.msgid.link/20260510134315.64295-8-khomenkov@mailbox.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:13:24 +02:00
Andrei Khomenkov
1ea2b0b62b
staging: rtl8723bs: remove unused RTW_DVOBJ_CHIP_HW_TYPE code
...
Remove the RTW_DVOBJ_CHIP_HW_TYPE code since it is not used as the
macro is not defined anywhere.
Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org >
Link: https://patch.msgid.link/20260510134315.64295-7-khomenkov@mailbox.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:13:24 +02:00
Andrei Khomenkov
c914292071
staging: rtl8723bs: remove unused REMOVE_PACK code
...
Remove the REMOVE_PACK code since it is not used as the macro
is not defined anywhere.
Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org >
Link: https://patch.msgid.link/20260510134315.64295-6-khomenkov@mailbox.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:13:24 +02:00
Andrei Khomenkov
a9142fdd58
staging: rtl8723bs: remove unused DBG_CH_SWITCH code
...
Remove the DBG_CH_SWITCH code since it is not used as the macro
is not defined anywhere.
Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org >
Link: https://patch.msgid.link/20260510134315.64295-5-khomenkov@mailbox.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:13:24 +02:00
Andrei Khomenkov
d7d9eda56b
staging: rtl8723bs: remove unused CONSISTENT_PN_ORDER code
...
Remove the CONSISTENT_PN_ORDER code since it is not used as the macro
is not defined anywhere.
Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org >
Link: https://patch.msgid.link/20260510134315.64295-4-khomenkov@mailbox.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:13:24 +02:00
Andrei Khomenkov
7493412df4
staging: rtl8723bs: remove unused DBG_RX_DUMP_EAP code
...
Remove the DBG_RX_DUMP_EAP code since it is not used as the macro
is not defined anywhere.
Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org >
Link: https://patch.msgid.link/20260510134315.64295-3-khomenkov@mailbox.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:13:23 +02:00
Andrei Khomenkov
6caa63431a
staging: rtl8723bs: remove unused DBG_FIXED_CHAN code
...
Remove the DBG_FIXED_CHAN code since it is not used as the macro
is not defined anywhere.
Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org >
Link: https://patch.msgid.link/20260510134315.64295-2-khomenkov@mailbox.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:13:23 +02:00
Pramod Maurya
8ba61dec20
staging: rtl8723bs: Fix block comment style in ieee80211.h
...
Move trailing '*/' to a new line in multi-line block comments, add
proper ' * ' prefix to comment continuation lines, and consolidate
the OUI_MICROSOFT multi-line comment into a single line.
Signed-off-by: Pramod Maurya <pramod.nexgen@gmail.com >
Link: https://patch.msgid.link/20260510175207.563378-4-pramod.nexgen@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:12:39 +02:00
Pramod Maurya
9f9ed6afa6
staging: rtl8723bs: Replace __attribute__((packed)) with __packed in ieee80211.h
...
Replace the verbose __attribute__ ((packed)) with the preferred
kernel shorthand __packed in struct eapol and struct ieee80211_snap_hdr.
Signed-off-by: Pramod Maurya <pramod.nexgen@gmail.com >
Link: https://patch.msgid.link/20260510175207.563378-2-pramod.nexgen@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:12:31 +02:00
Pramod Maurya
cade718831
staging: rtl8723bs: Remove multiple blank lines in include headers
...
Remove superfluous consecutive blank lines from rtl8723bs include
header files as flagged by checkpatch.pl.
Signed-off-by: Pramod Maurya <pramod.nexgen@gmail.com >
Link: https://patch.msgid.link/20260510175103.562518-2-pramod.nexgen@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:10:03 +02:00
Pramod Maurya
b36ddb456f
staging: rtl8723bs: Replace __attribute__((__packed__)) with __packed in rtl8723b_hal.h
...
Replace __attribute__((__packed__)) with the preferred __packed macro
to fix a checkpatch.pl warning.
Signed-off-by: Pramod Maurya <pramod.nexgen@gmail.com >
Link: https://patch.msgid.link/20260510110338.98540-1-pramod.nexgen@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:09:07 +02:00
Pramod Maurya
3fb7c93716
staging: rtl8723bs: Replace __attribute__((packed)) with __packed in wifi.h
...
Replace all occurrences of __attribute__((packed)) with the preferred
__packed macro in wifi.h to fix checkpatch.pl warnings.
Signed-off-by: Pramod Maurya <pramod.nexgen@gmail.com >
Link: https://patch.msgid.link/20260510103630.80917-1-pramod.nexgen@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:09:05 +02:00
Shivam Gupta
c87a4d3344
staging: rtl8723bs: remove unnecessary braces
...
Remove unnecessary braces around a single statement block
reported by checkpatch.
Signed-off-by: Shivam Gupta <shivgupta751157@gmail.com >
Reviewed-by: Nikolay Kulikov <nikolayof23@gmail.com >
Link: https://patch.msgid.link/20260507175218.16831-1-shivgupta751157@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:05:39 +02:00
Aidan Russell
d7d9af4cc3
staging: rtl8723bs: Replace uint with unsigned int in core
...
Replace the uint type with unsigned int in the rtl8723bs core code.
This removes unnecessary typedef use and moves the driver closer to
standards.
No functional changes intended.
Signed-off-by: Aidan Russell <aidanlrussell@gmail.com >
Link: https://patch.msgid.link/20260504234846.114912-1-aidanlrussell@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:05:32 +02:00
Jennifer Guo
ec09be88d1
staging: rtl8723bs: remove unnecessary blank lines in rtw_recv.c
...
Remove unnecessary blank lines around braces {}.
This fixes the following checkpatch.pl checks in rtw_recv.c:
- CHECK: Blank lines aren't necessary after an open brace '{'
- CHECK: Blank lines aren't necessary before a close brace '}'
Signed-off-by: Jennifer Guo <guojy.bj@gmail.com >
Link: https://patch.msgid.link/20260510065829.68957-1-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:04:59 +02:00
Jennifer Guo
23fe711a43
staging: rtl8723bs: remove commented out code from odm.c
...
Remove commented out case statements for better readability.
This also fixes the checkpatch.pl warning:
WARNING: Block comments use * on subsequent lines.
Signed-off-by: Jennifer Guo <guojy.bj@gmail.com >
Reviewed-by: Nikolay Kulikov <nikolayof23@gmail.com >
Link: https://patch.msgid.link/20260509051240.5807-1-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:04:53 +02:00
Jennifer Guo
87480e2a97
staging: rtl8723bs: move block comment terminator to new line
...
Move block comment terminator '*/' to separate line in order to
adhere to the kernel coding style.
This fixes the following checkpatch.pl warning:
WARNING: Block comments use a trailing */ on a separate line
Signed-off-by: Jennifer Guo <guojy.bj@gmail.com >
Link: https://patch.msgid.link/20260509042310.4745-3-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:04:45 +02:00
Jennifer Guo
acfb6a467f
staging: rtl8723bs: fix block comment alignment in hal/ source files
...
Add leading whitespace to block comments in order to adhere to
the kernel coding style.
This fixes the following checkpatch.pl warning:
WARNING: Block comments should align the * on each line.
Signed-off-by: Jennifer Guo <guojy.bj@gmail.com >
Link: https://patch.msgid.link/20260509042310.4745-2-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:04:45 +02:00
Jennifer Guo
b325af6c49
staging: rtl8723bs: fix block comment alignment in hal/ header files
...
Add leading whitespace to block comments in order to adhere to
the kernel coding style.
This fixes the following checkpatch.pl warning:
WARNING: Block comments should align the * on each line.
Signed-off-by: Jennifer Guo <guojy.bj@gmail.com >
Link: https://patch.msgid.link/20260507174256.5319-1-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:03:56 +02:00
Jennifer Guo
99b168d354
staging: rtl8723bs: remove commented out enum values from odm_types.h
...
Found these commented out enum values, while checking for block comment
issues with checkpatch.pl. These seem to be ok to remove for cleanup.
I verified via:
git grep 'RT_STATUS_' drivers/staging/rtl8723bs/
to check there are no other occurrences.
Signed-off-by: Jennifer Guo <guojy.bj@gmail.com >
Link: https://patch.msgid.link/20260507050011.17066-1-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:03:52 +02:00
Jennifer Guo
0551fd8a1c
staging: rtl8723bs: remove unnecessary block comment
...
Found a block comment formatting warning in odm_interface.h
via checkpatch.pl. As far as I can tell, this block comment is no
longer useful. Hence proposing to remove it.
Signed-off-by: Jennifer Guo <guojy.bj@gmail.com >
Link: https://patch.msgid.link/20260505185431.27037-1-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 10:03:42 +02:00
Jennifer Guo
45a337c126
staging: sm750fb: change 2 CamelCase variables to snake_case
...
Renames these variables inside struct init_status to adhere to
kernel coding style:
- powerMode -> power_mode
- resetMemory -> reset_memory
This fixes the following checkpatch.pl checks:
- CHECK: Avoid CamelCase: <powerMode>
- CHECK: Avoid CamelCase: <resetMemory>
Signed-off-by: Jennifer Guo <guojy.bj@gmail.com >
Link: https://patch.msgid.link/20260510062908.67848-3-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 09:58:06 +02:00
Jennifer Guo
f50b4602fe
staging: sm750fb: rename CamelCase variable and drop prefix
...
Renames the CamelCase variable 'pvMem' in struct sm750_dev to 'vmem'.
Dropping the pointer prefix 'p'.
This fixes the following checkpatch.pl check:
CHECK: Avoid CamelCase: <pvMem>
Signed-off-by: Jennifer Guo <guojy.bj@gmail.com >
Link: https://patch.msgid.link/20260510062908.67848-2-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 09:58:06 +02:00
Maha Maryam Javaid
a5b28f0d8f
staging: most: net: replace pr_err with netdev_err
...
Replace remaining pr_err() calls with netdev_err() where a net device
is available to provide better context in error messages.
Lines in skb_to_mep() are left as pr_err() since no net device
context is available there.
Signed-off-by: Maha Maryam Javaid <mahamaryamjavaid@gmail.com >
Link: https://patch.msgid.link/20260508060438.20156-1-mahamaryamjavaid@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 09:58:02 +02:00
Ahmet Sezgin Duran
bd2e75c827
staging: sm750fb: remove unnecessary initializations
...
Remove two instances of `ret = 0` initializations since the variable
is overridden unconditionally before being used.
Signed-off-by: Ahmet Sezgin Duran <ahmet@sezginduran.net >
Link: https://patch.msgid.link/20260504204612.55657-1-ahmet@sezginduran.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 09:58:00 +02:00
Shyam Sunder Reddy Padira
9bfa3674d9
staging: vme_user: simplify boolean comparisons
...
Replace explicit comparisons against zero with logical Not operator.
This follows the standard kernel coding style for boolean logic.
No functional changes.
Signed-off-by: Shyam Sunder Reddy Padira <shyamsunderreddypadira@gmail.com >
Link: https://patch.msgid.link/20260505200145.160377-1-shyamsunderreddypadira@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 09:51:05 +02:00
Shyam Sunder Reddy Padira
718fc81de0
staging: vme_user: remove unnecessary NULL initialization before list iteration
...
Remove redundant NULL initialization for list iterator because
variables used as iterators in list_for_each_entry() do not require
initialization, as the macro assigns them before first use.
No functional change.
Signed-off-by: Shyam Sunder Reddy Padira <shyamsunderreddypadira@gmail.com >
Link: https://patch.msgid.link/20260505192320.107936-1-shyamsunderreddypadira@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 09:51:01 +02:00
Greg Kroah-Hartman
ea09c82fbc
Merge tag 'v7.1-rc3' into staging-next
...
We need the staging fixes in here to build off of.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-05-11 08:48:31 +02:00
Linus Torvalds
5d6919055d
Linux 7.1-rc3
v7.1-rc3
2026-05-10 14:08:09 -07:00