aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-06-24tty: mcf: MCF54418 has 10 UARTSJean-Michel Hautbois1-1/+1
Most of the colfires have up to 5 UARTs but MCF54418 has up-to 10 ! Change the maximum value authorized. Signed-off-by: Jean-Michel Hautbois <[email protected]> Cc: stable <[email protected]> Fixes: 2545cf6e94b4 ("m68knommu: allow 4 coldfire serial ports") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24serial: 8250_omap: Implementation of Errata i2310Udit Kumar1-5/+20
As per Errata i2310[0], Erroneous timeout can be triggered, if this Erroneous interrupt is not cleared then it may leads to storm of interrupts, therefore apply Errata i2310 solution. [0] https://www.ti.com/lit/pdf/sprz536 page 23 Fixes: b67e830d38fa ("serial: 8250: 8250_omap: Fix possible interrupt storm on K3 SoCs") Cc: [email protected] Signed-off-by: Udit Kumar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24tty: serial: 8250: Fix port count mismatch with the deviceCrescent Hsieh1-1/+12
Normally, the number of ports is indicated by the third digit of the device ID on Moxa PCI serial boards. For example, `0x1121` indicates a device with 2 ports. However, `CP116E_A_A` and `CP116E_A_B` are exceptions; they have 8 ports, but the third digit of the device ID is `6`. This patch introduces a function to retrieve the number of ports on Moxa PCI serial boards, addressing the issue described above. Fixes: 37058fd5d239 ("tty: serial: 8250: Add support for MOXA Mini PCIe boards") Cc: stable <[email protected]> Signed-off-by: Crescent Hsieh <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24netfilter: fix undefined reference to 'netfilter_lwtunnel_*' when ↵Jianguo Wu1-0/+3
CONFIG_SYSCTL=n if CONFIG_SYSFS is not enabled in config, we get the below compile error, All errors (new ones prefixed by >>): csky-linux-ld: net/netfilter/core.o: in function `netfilter_init': core.c:(.init.text+0x42): undefined reference to `netfilter_lwtunnel_init' >> csky-linux-ld: core.c:(.init.text+0x56): undefined reference to `netfilter_lwtunnel_fini' >> csky-linux-ld: core.c:(.init.text+0x70): undefined reference to `netfilter_lwtunnel_init' csky-linux-ld: core.c:(.init.text+0x78): undefined reference to `netfilter_lwtunnel_fini' Fixes: a2225e0250c5 ("netfilter: move the sysctl nf_hooks_lwtunnel into the netfilter core") Reported-by: Mirsad Todorovac <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Jianguo Wu <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
2024-06-24staging: vc04_services: vchiq_arm: Fix initialisation checkKieran Bingham3-3/+13
The vchiq_state used to be obtained through an accessor which would validate that the VCHIQ had been initialised correctly with the remote, or return a null state. In commit 42a2f6664e18 ("staging: vc04_services: Move global g_state to vchiq_state") the global state was moved to the vchiq_mgnt structures stored as a vchiq instance specific context. This conversion removed the helpers and instead replaced users of this helper with the assumption that the state is always available and the remote connected. The conversion does ensure that the state is always available, so some remaining state null pointer checks that remain are unnecessary, but the assumption that the remote is present and initialised is incorrect. Fix this broken assumption by re-introducing the logic that was lost during the conversion. Fixes: 42a2f6664e18 ("staging: vc04_services: Move global g_state to vchiq_state") Signed-off-by: Kieran Bingham <[email protected]> Reviewed-by: Stefan Wahren <[email protected]> Reviewed-by: Umang Jain <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: vc04_services: Update testing instructionsStefan Wahren1-1/+44
Since the initial version of the testing instructions a few things has changed. So consider the latest arm64/defconfig changes and the new debugfs entry. Signed-off-by: Stefan Wahren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: vchiq_arm: Don't cast scatter-gather elementsStefan Wahren1-3/+3
The kernel uses different types for DMA length & address, so better use them. Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: vchiq_core: Add hex prefix to debugfs outputStefan Wahren1-4/+4
The number format of VCHIQ debugfs isn't always clear. So let's add a prefix for all hex values, in order to make things clear. Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: vchiq_arm: Reduce indentation of service_callbackStefan Wahren1-29/+43
The service_callback has 5 levels of indentation, which makes it hard to read. Reduce this by splitting the code in a new function service_single_message() as suggested by Laurent Pinchart. Signed-off-by: Stefan Wahren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: vchiq_arm: Drop vchiq_arm_init_stateStefan Wahren1-18/+9
After removal of struct vchiq_2835_state, the init of vchiq_arm_state can be simplified by doing it directly within vchiq_platform_init_state. Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: vchiq_arm: Get the rid off struct vchiq_2835_stateStefan Wahren1-19/+6
The whole benefit of this encapsulating struct is questionable. It just stores a flag to signalize the init state of vchiq_arm_state. Beside the fact this flag is set too soon, the access to uninitialized members should be avoided. So initialize vchiq_arm_state properly before assign it directly to vchiq_state. Signed-off-by: Stefan Wahren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: vchiq_arm: Drop unnecessary declarationsStefan Wahren2-5/+0
These declarations are left from cleanups and not necessary anymore. So we can drop them. Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: vchiq_core: Drop non-functional struct membersStefan Wahren2-6/+0
There are some struct members, which don't have a real function. So it's safe to drop them. Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: vchiq_arm: Drop obsolete commentStefan Wahren1-1/+0
The BUG_ON has been replaced with WARN_ON. So we can drop the comment. Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: vchiq_arm: Unify return code variableStefan Wahren1-72/+69
The file vchiq_arm uses a wild mixture of variable names for return codes. Unify them by using the common name "ret". Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove unused macro in ioctl_cfg80211.cPhilipp Hortmann1-1/+0
Remove unused macro. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/0a33ebb3e11558f41dc847dcaa9733bfe1cf4ba6.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove unused macros in rtw_io.hPhilipp Hortmann1-57/+0
Remove unused macros. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/91e79b32292ba567c2ec624e130350a40a7866b5.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove unused macros in rtw_mlme.hPhilipp Hortmann1-23/+0
Remove unused macros. Removed also commented out macros. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/289075f2b84a1ad9be85417a8c9736059ef709ed.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove unused macros in rtw_mp.hPhilipp Hortmann1-29/+0
Remove unused macros. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/49bf00c305b34f2d3ed1061b6a22d042edd3a2c1.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove unused macros in rtw_pwrctrl.hPhilipp Hortmann1-38/+0
Remove unused macros. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/41f7ed26b5a6de187a71bdc7f062f3817993ba5f.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove unused macros in rtw_recv.hPhilipp Hortmann1-16/+0
Remove unused macros. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/e9f61bab428def7298212aecfab3708a32469cef.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove unused macros in rtw_security.hPhilipp Hortmann1-5/+0
Remove unused macros. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/59d13806a66afc571c9a7082f9436439113d3231.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove unused macros in rtw_xmit.hPhilipp Hortmann1-10/+0
Remove unused macros. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/3d0c5e727098f7eb3ceb5d3ebe0562515dd19bcd.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove unused macros in sta_info.hPhilipp Hortmann1-44/+0
Remove unused macros. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/912fba119b3041c396bcb2ddf22219fa0025ee42.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove unused macros in wifi.hPhilipp Hortmann1-299/+0
Remove unused macros. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/26af5a910e84523d9040ee29967c9b3a4971daa5.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove empty file sdio_osintf.hPhilipp Hortmann2-11/+0
Remove empty file sdio_osintf.h. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/1536950be4d4e4fc4757e10070ffc38c0158f808.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove unused declarations start with sd_hal_bus_initPhilipp Hortmann2-10/+0
Remove unused function declarations. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/37d2c677e5ef57a9aeb6857d7857d4512b8e3954.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove switch(type) as type is constantPhilipp Hortmann1-14/+0
Remove switch(type) as type is constant and never matches any of the cases. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/1e3982de9a03e75931bf7977fca83c5402084aa4.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8723bs: Remove unused structs starting with profile_infoPhilipp Hortmann1-133/+0
Remove unused structs. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/0771ebf074f71fb484d0005241416144ca813859.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: vc04_services: use 'time_left' variable with ↵Wolfram Sang2-8/+8
wait_for_completion_timeout() There is a confusing pattern in the kernel to use a variable named 'timeout' to store the result of wait_for_completion_timeout() causing patterns like: timeout = wait_for_completion_timeout(...) if (!timeout) return -ETIMEDOUT; with all kinds of permutations. Use 'time_left' as a variable to make the code self explaining. Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Stefan Wahren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8192e: Remove unnecessary pre-declaration of struct net_deviceTeddy Engel2-2/+0
Remove pre-declaration of struct. Signed-off-by: Teddy Engel <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/bb7d1aa7b336e4d68a30fd17dae7accfd2d5a26e.1718309120.git.engel.teddy@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8192e: Remove unused macro dm_tx_bb_gain_idx_to_amplifyTeddy Engel1-2/+0
Remove unused macro. Signed-off-by: Teddy Engel <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/5ee3df2b02a84e6aeb2d1c4903cb018161d78b1b.1718309120.git.engel.teddy@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8192e: Capitalize constant RegC38_THTeddy Engel2-3/+3
According to kernel coding style, capitalize defined constant. Signed-off-by: Teddy Engel <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/e78f4c30a838d8e98794d80126ca246614b14b68.1718309120.git.engel.teddy@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8192e: Remove unused struct phy_ofdm_rx_status_rxscTeddy Engel1-7/+0
Remove unused struct declaration. Signed-off-by: Teddy Engel <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/ef5ffc1063323f6c1f22ab75f3b5ff01982c3061.1718309120.git.engel.teddy@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: rtl8192e: Remove unused constantsTeddy Engel2-4/+0
Remove unused constants: IC_VersionCut_C, IC_VersionCut_E, WA_IOT_TH_VAL Signed-off-by: Teddy Engel <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/0ff436b8aa199829728ee11d0ed302e3fa6fd2ac.1718309120.git.engel.teddy@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24staging: vt6656: Remove line from TODOTeddy Engel1-1/+0
Remove checkpatch.pl line from TODO as no valid checkpatch recommendations still present. Signed-off-by: Teddy Engel <[email protected]> Reviewed-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Fix alignment to match open parenthesis in rtllib_rx.cTree Davies1-19/+18
Add spaces and tabs to fix warning: Alignment should match open parenthesis. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Fix alignment to match open parenthesis in rtllib_tx.cTree Davies1-3/+3
Add spaces and tabs to fix warning: Alignment should match open parenthesis. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Remove variable IsAmsdu from rtllib_xmit_inter()Tree Davies1-6/+1
Remove boolean variable, IsAmsdu, and code which does not execute because it is never set to true. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Remove parameter bIsAmsdu from rtllib_classify()Tree Davies1-2/+2
Remove argument, bIsAmsdu from rtllib_classify() as it is never used. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Rename variable bRTSSTBCTree Davies3-3/+3
Rename variable bRTSSTBC to rtsstbc to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Rename variable bUseShortPreambleTree Davies3-5/+5
Rename variable bUseShortPreamble to use_short_preamble to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Rename function rtllib_query_HTCapShortGITree Davies1-2/+2
Rename function rtllib_query_HTCapShortGI to rtllib_query_ht_cap_short_gi to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Rename function rtllib_query_ShortPreambleModeTree Davies1-2/+2
Rename function rtllib_query_ShortPreambleMode to rtllib_query_short_preamble_mode to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Rename function rtllib_query_BandwidthModeTree Davies1-2/+2
Rename function rtllib_query_BandwidthMode to rtllib_query_bandwidth_mode to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Fix alignment to match open parenthesisTree Davies1-5/+5
Added tabs and spaces to fix warning: Alignment should match open parenthesis Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Rename function TsStartAddBaProcess()Tree Davies3-3/+3
Rename variable TsStartAddBaProcess to rtllib_ts_start_add_ba_process to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Rename variable bUseShortGITree Davies3-5/+5
Rename variable bUseShortGI to use_short_gi to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Rename variable CntAfterLinkTree Davies4-6/+6
Rename variable CntAfterLink to cnt_after_link to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-24Staging: rtl8192e: Rename variable bBroadcastTree Davies2-5/+5
Rename variable bBroadcast to broadcast to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>