[PATCH v2 0/6] Staging: rtl8192e: rtllib_wx codingstyle/refactor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series addresses some issues raised by chechpatch.pl
and some minor refactoring of rtllib_modes[].

v2:
    - split multi assignment in two separate steps.
      This avoids having 'fixed'='disabled', which
      is silly.
    - Since there is no formatting of the rtllib_modes[],
      one can safely refactor this code into a array of
      strings. This allows using functions like strcpy/strlen,
      which is less error prone than using a
      rtllib_modes.mode_size.

Felix Schlepper (6):
  Staging: rtl8192e: Refactored rtllib_modes
  Staging: rtl8192e: Avoid multiple assignments
  Staging: rtl8192e: Remove unnecessary parentheses
  Staging: rtl8192e: Added braces around else
  Staging: rtl8192e: Remove unnecessary blank line
  Staging: rtl8192e: Added spaces around '+'

 drivers/staging/rtl8192e/rtllib_wx.c | 37 +++++++++++-----------------
 1 file changed, 14 insertions(+), 23 deletions(-)

-- 
2.36.1





[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux