Skip to content
Permalink
Fabio-M-De-Fra…
Switch branches/tags

Commits on Aug 19, 2021

  1. staging: r8188eu: Remove _enter/_exit_critical_mutex()

    Remove _enter_critical_mutex() and _exit_critical_mutex(). They are
    unnecessary wrappers, respectively to mutex_lock_interruptible() and
    to mutex_unlock(). They also have an odd interface that takes an
    unused argument named pirqL of type unsigned long.
    Replace them with the in-kernel API. Ignore return values as it was
    in the old code.
    
    Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    xp4ns3 authored and intel-lab-lkp committed Aug 19, 2021
  2. staging: r8188eu: Remove empty rtw_mfree_xmit_priv_lock()

    Remove rtw_mfree_xmit_priv_lock() because it is empty. Remove its only
    call from within _rtw_free_xmit_priv().
    
    Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Link: https://lore.kernel.org/r/20210819050808.28825-1-fmdefrancesco@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    xp4ns3 authored and gregkh committed Aug 19, 2021
  3. staging: r8188eu: remove rtw_update_mem_stat macro and associated flags

    Remove the unused rtw_update_mem_stat macro and the associated flags
    from include/osdep_service.h as this is all dead code.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818234853.208448-8-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 19, 2021
  4. staging: r8188eu: remove function _rtw_zvmalloc

    Remove the function _rtw_zvmalloc from os_dep/osdep_service.c, as this
    function is now unused and is just an inline wrapper around vmalloc
    which zeroes out the memory. All previous callers have been converted to
    use vzalloc. Also remove the declaration from include/osdep_service.h.
    
    It is considered generally bad practice to declare functions as inline in
    the majority of cases, as not only can this qualifier be ignored by the
    compiler but the compiler generally makes good decisions about inlining
    anyway.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818234853.208448-7-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 19, 2021
  5. staging: r8188eu: remove rtw_zvmalloc preprocessor definition

    Remove rtw_zvmalloc preprocessor definition from include/osdep_service.h
    as it now has no callers.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818234853.208448-6-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 19, 2021
  6. staging: r8188eu: convert all rtw_zvmalloc calls to vzalloc calls

    Convert all rtw_zvmalloc calls within the driver to use the existing
    kernel vzalloc function, which has the same semantics. Also rewrite the
    two places where it is mentioned in comments to say vzalloc, and remove
    the redundant cast to struct adapter * in ./os_dep/usb_intf.c as vzalloc
    returns void *.
    
    The reason for the conversion is that rtw_zvmalloc is just a
    preprocessor definition for _rtw_zvmalloc which itself is just an inline
    wrapper around vmalloc which then zeroes the memory out. As vzalloc does
    the same thing via usage of __GFP_ZERO, this code is redundant and can
    subsequently be removed.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818234853.208448-5-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 19, 2021
  7. staging: r8188eu: remove function _rtw_vmalloc

    Remove the function _rtw_vmalloc from os_dep/osdep_service.c, converting
    its only user (also in os_dep/osdep_service.c) to use plain vmalloc.
    This function is just an inline wrapper around vmalloc which returns a u8
    pointer, which isn't needed. Also remove the declaration from
    include/osdep_service.h.
    
    It is considered generally bad practice to declare functions as inline in
    the majority of cases, as not only can this qualifier be ignored by the
    compiler but the compiler generally makes good decisions about inlining
    anyway.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818234853.208448-4-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 19, 2021
  8. staging: r8188eu: remove rtw_vmalloc preprocessor definition

    Remove rtw_vmalloc preprocessor definition from include/osdep_service.h
    as it now has no callers.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818234853.208448-3-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 19, 2021
  9. staging: r8188eu: convert only rtw_vmalloc call to vmalloc

    Convert the only call to rtw_vmalloc in os_dep/ioctl_linux.c to the
    kernel's existing vmalloc function, as rtw_malloc is just a preprocessor
    definition for _rtw_vmalloc. The _rtw_vmalloc function is defined inline
    and returns a u8, wrapping standard vmalloc. This behaviour is not necessary.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818234853.208448-2-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 19, 2021
  10. staging: r8188eu: remove free_xmit_priv field from struct hal_ops

    Remove free_xmit_priv function pointer field from struct hal_ops definition
    in include/hal_intf.h, as it is now no longer used anywhere in the driver.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818234253.208271-7-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 19, 2021
  11. staging: r8188eu: remove function rtw_hal_free_xmit_priv

    Remove function rtw_hal_free_xmit_priv in hal/hal_intf.c and its
    declaration in include/hal_intf.h, as well as the single call line in
    core/rtw_xmit.c. This function now essentially checks a function
    pointer which will always be NULL (due to previous patches) and
    therefore will never be called.
    
    Acked-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818234253.208271-6-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 19, 2021
  12. staging: r8188eu: remove empty function rtl8188eu_free_xmit_priv

    Remove empty function rtl8188eu_free_xmit_priv from hal/rtl8188eu_xmit.c
    and its declaration from include/rtl8188e_xmit.h, as well as the one
    place where it is stored in the free_xmit_priv function pointer of the
    HalFunc struct inside padapter. This is safe, as the wrapper function
    checks for NULL before calling this function via the function pointer.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818234253.208271-5-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 19, 2021
  13. staging: r8188eu: remove txrpt_ccx_sw_88e and txrpt_ccx_qtime_88e macros

    Remove txrpt_ccx_sw_88e and txrpt_ccx_qtime_88e macro definitions from
    include/rtl8188e_xmit.h, as these were only called from the now removed
    dump_txrpt_ccx_88e function, which was itself not called from anywhere
    anyway.
    
    Acked-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818234253.208271-4-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 19, 2021
  14. staging: r8188eu: remove unused function dump_txrpt_ccx_88e

    Remove unused function dump_txrpt_ccx_88e from hal/rtl8188e_xmit.c and
    remove its declaration in include/rtl8188e_xmit.h, as this function is
    not called from anywhere, and is thus dead code.
    
    Acked-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818234253.208271-3-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 19, 2021
  15. staging: r8188eu: remove _dbg_dump_tx_info function

    Remove _dbg_dump_tx_info from hal/rtl8188e_xmit.c as it is just a
    dumping function that contains a lot of unclear DBG_88E calls, and has
    no other external effect, other than calling a function that ultimately
    determines whether or not to dump/trigger the DBG_88E calls. Also remove
    its declaration and single call site.
    
    Acked-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818234253.208271-2-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 19, 2021
  16. staging: r8188eu: Fix fall-through warnings for Clang

    Fix the following fallthrough warnings:
    
    drivers/staging/r8188eu/core/rtw_mlme_ext.c:1498:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
    drivers/staging/r8188eu/core/rtw_wlan_util.c:1113:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
    drivers/staging/r8188eu/core/rtw_wlan_util.c:1147:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
    drivers/staging/r8188eu/core/rtw_wlan_util.c:1405:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
    
    This helps with the ongoing efforts to globally enable
    -Wimplicit-fallthrough for Clang.
    
    Link: KSPP#115
    Reviewed-by: Nathan Chancellor <nathan@kernel.org>
    Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
    Link: https://lore.kernel.org/r/20210818221418.GA311735@embeddedor
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    GustavoARSilva authored and gregkh committed Aug 19, 2021

Commits on Aug 18, 2021

  1. staging: r8188eu: rename variable within rtl8188e_Add_RateATid

    Rename 'shortGIrate' within the rtl8188e_Add_RateATid function to
    'short_gi_rate', to comply with kernel camel case style rules.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210818180831.67581-1-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 18, 2021
  2. staging: r8188eu: ctrl vendor req index is not used

    The index for r8188eu's vendor-specific control requests is not used.
    Remove the index parameter from usbctrl_vendorreq and pass index 0 to
    usb_control_msg.
    
    This patch is an adaptation of commit 3d0be94 ("staging: rtl8188eu:
    ctrl vendor req index is not used") for the new r8188eu driver.
    
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20210818200041.10870-2-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Aug 18, 2021
  3. staging: r8188eu: ctrl vendor req value is always 0x05

    The bRequest value for the vendor specific control requests sent by this
    driver is always 0x05. Replace the function parameter with the define from
    usb_ops.h.
    
    This patch is an adaptation of commit eeb4661 ("staging: rtl8188eu:
    ctrl vendor req value is always 0x05") for the new r8188eu driver.
    
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20210818200041.10870-1-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Aug 18, 2021
  4. staging: r8188eu: clean up comparsions to false

    Clean up comparsions to false.
    
    x == false -> !x
    
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210818080854.15847-2-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 18, 2021
  5. staging: r8188eu: clean up comparsions to true

    Clean up comparsions to true.
    
    x == true -> x
    
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210818080854.15847-1-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 18, 2021
  6. staging: r8188eu: remove null pointer checks before kfree

    kfree(NULL) is safe, so remove unnecessary null pointer checks before
    calls to kfree. Reported by checkpatch.
    
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210818085809.31451-1-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 18, 2021
  7. staging: r8188eu: Remove unused including <linux/version.h>

    Remove including <linux/version.h> that don't need it
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
    Link: https://lore.kernel.org/r/20210818095331.3422-1-caihuoqing@baidu.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cai Huoqing authored and gregkh committed Aug 18, 2021
  8. staging: wlan-ng: Disable buggy MIB ioctl

    struct hfa384x_wpa_data ends with a flexible array, but it is allocated
    on the stack. This means it can never hold any data. Disable the
    memcpy() calls in and out of the structure, since it must always be
    zero. This could never have worked.
    
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Igor Matheus Andrade Torrente <igormtorrente@gmail.com>
    Cc: linux-staging@lists.linux.dev
    Signed-off-by: Kees Cook <keescook@chromium.org>
    Link: https://lore.kernel.org/r/20210818081937.1668775-1-keescook@chromium.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    kees authored and gregkh committed Aug 18, 2021
  9. staging: rts5208: Fix get_ms_information() heap buffer size

    Fix buf allocation size (it needs to be 2 bytes larger). Found when
    __alloc_size() annotations were added to kmalloc() interfaces.
    
    In file included from ./include/linux/string.h:253,
                     from ./include/linux/bitmap.h:10,
                     from ./include/linux/cpumask.h:12,
                     from ./arch/x86/include/asm/paravirt.h:17,
                     from ./arch/x86/include/asm/irqflags.h:63,
                     from ./include/linux/irqflags.h:16,
                     from ./include/linux/rcupdate.h:26,
                     from ./include/linux/rculist.h:11,
                     from ./include/linux/pid.h:5,
                     from ./include/linux/sched.h:14,
                     from ./include/linux/blkdev.h:5,
                     from drivers/staging/rts5208/rtsx_scsi.c:12:
    In function 'get_ms_information',
        inlined from 'ms_sp_cmnd' at drivers/staging/rts5208/rtsx_scsi.c:2877:12,
        inlined from 'rtsx_scsi_handler' at drivers/staging/rts5208/rtsx_scsi.c:3247:12:
    ./include/linux/fortify-string.h:54:29: warning: '__builtin_memcpy' forming offset [106, 107] is out
     of the bounds [0, 106] [-Warray-bounds]
       54 | #define __underlying_memcpy __builtin_memcpy
          |                             ^
    ./include/linux/fortify-string.h:417:2: note: in expansion of macro '__underlying_memcpy'
      417 |  __underlying_##op(p, q, __fortify_size);   \
          |  ^~~~~~~~~~~~~
    ./include/linux/fortify-string.h:463:26: note: in expansion of macro '__fortify_memcpy_chk'
      463 | #define memcpy(p, q, s)  __fortify_memcpy_chk(p, q, s,   \
          |                          ^~~~~~~~~~~~~~~~~~~~
    drivers/staging/rts5208/rtsx_scsi.c:2851:3: note: in expansion of macro 'memcpy'
     2851 |   memcpy(buf + i, ms_card->raw_sys_info, 96);
          |   ^~~~~~
    
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: linux-staging@lists.linux.dev
    Signed-off-by: Kees Cook <keescook@chromium.org>
    Link: https://lore.kernel.org/r/20210818044252.1533634-1-keescook@chromium.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    kees authored and gregkh committed Aug 18, 2021
  10. staging: r8188eu: Remove code depending on NAT25_LOOKUP

    Remove all the code related to the management of the NAT25_LOOKUP
    method in nat25_db_handle(). The only function that used that method was
    the now deleted nat25_handle_frame(). Remove the NAT25_LOOKUP entry from
    the NAT25_METHOD enum because it is not anymore used everywhere else in
    the code of the driver.
    
    Remove the 'sender' pointer to integer. Remove
    __nat25_db_network_lookup_and_replace(). Following the deletion of the
    code related to the NAT25_LOOKUP method, they are no more needed.
    
    Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Link: https://lore.kernel.org/r/20210817185723.15192-1-fmdefrancesco@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    xp4ns3 authored and gregkh committed Aug 18, 2021

Commits on Aug 17, 2021

  1. clk: staging: correct reference to config IOMEM to config HAS_IOMEM

    Commit 0a0a66c ("clk: staging: Specify IOMEM dependency for Xilinx
    Clocking Wizard driver") introduces a dependency on the non-existing config
    IOMEM, which basically makes it impossible to include this driver into any
    build. Fortunately, ./scripts/checkkconfigsymbols.py warns:
    
    IOMEM
    Referencing files: drivers/staging/clocking-wizard/Kconfig
    
    The config for IOMEM support is called HAS_IOMEM. Correct this reference to
    the intended config.
    
    Fixes: 0a0a66c ("clk: staging: Specify IOMEM dependency for Xilinx Clocking Wizard driver")
    Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
    Link: https://lore.kernel.org/r/20210817105404.13146-1-lukas.bulwahn@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    bulwahn authored and gregkh committed Aug 17, 2021
  2. staging: r8188eu: remove unneeded DBG_88E call from rtl8188e_Add_Rate…

    …ATid
    
    Remove unneeded DBG_88E macro call from the rtl8188e_Add_RateATid
    function in hal/rtl8188e_cmd.c, as it is not particularly clear in my
    opinion, and we should strive towards use of existing kernel machinery
    for debugging purposes.
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210816234459.132239-3-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 17, 2021
  3. staging: r8188eu: remove set but unused variable from rtl8188e_Add_Ra…

    …teATid
    
    Remove set but unused variable init_rate from the rtl8188e_Add_RateATid
    function in hal/rtl8188eu_cmd.c, as this fixes a kernel test robot
    warning. Removing the call to get_highest_rate_idx has no side effects
    here so is safe.
    
    Reported-by: kernel test robot <lkp@intel.com>
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210816234459.132239-2-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Aug 17, 2021
  4. staging: r8188eu: clean up spacing style issues in os_dep dir

    Clean up spacing style issues reported by checkpatch in the os_dep
    directory.
    
    CHECK: spaces preferred around that ...
    CHECK: No space is necessary after a cast
    WARNING: space prohibited before semicolon
    WARNING: space prohibited between function name and open parenthesis '('
    ERROR: spaces required around that '=' (ctx:VxV)
    
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210816211053.31728-1-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 17, 2021
  5. staging: r8188eu: clean up spacing style issues in hal dir, part 3

    Clean up spacing style issues reported by checkpatch in the remaining
    files in the hal directory.
    
    CHECK: spaces preferred around that ...
    
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210816205511.20068-4-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 17, 2021
  6. staging: r8188eu: clean up spacing style issues in hal dir, part 2

    Clean up spacing style issues reported by checkpatch in the next 10
    files in the hal directory.
    
    CHECK: spaces preferred around that ...
    CHECK: No space is necessary after a cast
    WARNING: space prohibited before semicolon
    WARNING: space prohibited between function name and open parenthesis '('
    
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210816205511.20068-3-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 17, 2021
  7. staging: r8188eu: clean up spacing style issues in hal dir, part 1

    Clean up spacing style issues reported by checkpatch in the first 10
    files in the hal directory.
    
    CHECK: spaces preferred around that ...
    CHECK: No space is necessary after a cast
    
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210816205511.20068-2-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 17, 2021
  8. staging: r8188eu: clean up spacing style issues in core/rtw_sta_mgt.c

    Clean up spacing style issues in core/rtw_sta_mgt.c reported by
    checkpatch.
    
    WARNING: space prohibited between function name and open parenthesis '('
    CHECK: spaces preferred around that '/' (ctx:VxV)
    WARNING: space prohibited before semicolon
    
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210816155818.24005-23-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 17, 2021
  9. staging: r8188eu: add space around operator in core/rtw_sreset.c

    Add missing space around operator in core/rtw_sreset.c reported by
    checkpatch.
    
    CHECK: spaces preferred around that '|' (ctx:VxV)
    
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210816155818.24005-22-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 17, 2021
Older