[PATCH 00/30] staging: wilc1000: checkpatch fixes and code cleanup

Ajay Singh ajay.kathat at microchip.com
Mon May 7 08:43:04 UTC 2018


This patch series contains modification to remove checkpatch related issues,
mainly related to 'line over 80 chars'.

We are left with around '5' checkpatch warnings in WILC1000.

Also code cleanup related change to follow as per linux coding style are
included in this patch series.

Ajay Singh (30):
  staging: wilc1000: added complete() call for error scenario in
    handle_key()
  staging: wilc1000: remove 'ret' variable in handle_key()
  staging: wilc1000: fix line over 80 chars in handle_key()
  staging: wilc1000: fix line over 80 characters issue in
    handle_connect()
  staging: wilc1000: fix line over 80 chars in
    host_int_parse_assoc_resp_info()
  staging: wilc1000: fix line over 80 chars issue in
    host_int_handle_disconnect()
  staging: wilc1000: fix line over 80 characters in
    host_int_parse_join_bss_param()
  staging: wilc1000: fix line over 80 chars in
    host_int_parse_assoc_resp_info()
  staging: wilc1000: rename kmalloc with kmemdup() in
    handle_connect_timeout()
  staging: wilc1000: fix line over 80 chars in linux_mon
  staging: wilc1000: use sizeof(*wdev) to allocate memory in
    wilc_wfi_cfg_alloc()
  staging: wilc1000: use kmalloc(sizeof(*mgmt_tx)...) in mgmt_tx()
  staging: wilc1000: rename clear_duringIP() to avoid camelCase issue
  staging: wilc1000: fix line over 80 chars in add_network_to_shadow()
  staging: wilc1000: use kmemdup instead of kmalloc in
    add_network_to_shadow()
  staging: wilc1000: fix line over 80 charas in
    wilc_wfi_remain_on_channel_expired()
  staging: wilc1000: fix line over 80 chars in
    wilc_wfi_cfg_tx_vendor_spec()
  staging: wilc1000: fix line over 80 chars in get_station()
  staging: wilc1000: fix line over 80 chars in wilc_create_wiphy()
    declaration
  staging: wilc1000: fix line over 80 characters in add_key()
  staging: wilc1000: fix line over 80 chars in scan()
  staging: wilc1000: fix line over 80 chars issue in connect()
  staging: wilc1000: rename u8security to avoid datatype in variable
    name
  staging: wilc1000: refactor del_station() to avoid parenthesis
    misalignment
  staging: wilc1000: fix line over 80 chars in wilc_sdio struct
  staging: wilc1000: added #define for setting radiotap header
  staging: wilc1000: remove 'flag' argument from wilc_mac_indicate()
  staging: wilc1000: added comments for mutex and spinlock_t
  staging: wilc1000: remove unused 'lock' varible in 'wilc_priv'
    structure
  staging: wilc1000: rename s8idxarray to avoid datatype in variable
    name

 drivers/staging/wilc1000/host_interface.c         | 417 ++++++++++++----------
 drivers/staging/wilc1000/host_interface.h         |   2 +-
 drivers/staging/wilc1000/linux_mon.c              |  25 +-
 drivers/staging/wilc1000/linux_wlan.c             |  17 +-
 drivers/staging/wilc1000/wilc_sdio.c              |   3 +-
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 187 +++++-----
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.h |   3 +-
 drivers/staging/wilc1000/wilc_wfi_netdevice.h     |   8 +-
 drivers/staging/wilc1000/wilc_wlan.c              |   7 +-
 drivers/staging/wilc1000/wilc_wlan_if.h           |   3 -
 10 files changed, 350 insertions(+), 322 deletions(-)

-- 
2.7.4



More information about the devel mailing list