09 Oct, 2020

1 commit


05 Oct, 2020

1 commit


01 Oct, 2020

8 commits


27 Sep, 2020

1 commit

  • Commit 515ce733e86e ("staging:r8188eu: Use lib80211 to encrypt (CCMP) tx frames")
    was reverted because it caused scheduling while atomic bugs and hard
    freezes. Experimentation showed that there were no freezes and no BUG
    messages logged when lib80211_get_crypto_ops() was called directly
    rather than indirectly through try_then_request_module().

    Reapply "staging:r8188eu: Use lib80211 to encrypt (CCMP) tx frames"
    with resolved revert conflicts and replace try_then_request_module()
    with direct call to lib80211_get_crypto_ops().

    Original commit message:
    Put data to skb, decrypt with lib80211_crypt_ccmp, and place back to tx buffer.

    Cc: Ivan Safonov
    Signed-off-by: Michael Straube
    Link: https://lore.kernel.org/r/20200927083535.2895-1-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Michael Straube
     

22 Sep, 2020

3 commits


18 Sep, 2020

2 commits

  • Move constants to the right side of comparsions to follow kernel
    coding style and clear checkpatch warnings. In case of comparsion
    to _FAIL we can use '!' since _FAIL is defined as '0'.

    WARNING: Comparisons should place the constant on the right side of the test

    Signed-off-by: Michael Straube
    Link: https://lore.kernel.org/r/20200917071330.31740-2-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Michael Straube
     
  • Use __func__ instead of hardcoded function names to clear
    checkpatch warnings.

    Signed-off-by: Michael Straube
    Link: https://lore.kernel.org/r/20200917071330.31740-1-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Michael Straube
     

16 Sep, 2020

3 commits

  • In preparation for unconditionally passing the
    struct tasklet_struct pointer to all tasklet
    callbacks, switch to using the new tasklet_setup()
    and from_tasklet() to pass the tasklet pointer explicitly.

    Signed-off-by: Romain Perier
    Signed-off-by: Allen Pais
    Link: https://lore.kernel.org/r/20200916062224.58203-1-allen.lkml@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Allen Pais
     
  • Add missing and remove unnecessary blank lines to clear the following
    checkpatch issues.

    WARNING: Missing a blank line after declarations
    CHECK: Please use a blank line after function/struct/union/enum declarations
    CHECK: Blank lines aren't necessary before a close brace '}'
    CHECK: Please don't use multiple blank lines

    Signed-off-by: Michael Straube
    Link: https://lore.kernel.org/r/20200916064257.14902-1-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Michael Straube
     
  • Remove extra indentations to follow kernel coding style and clear
    checkpatch warnings.

    WARNING: suspect code indent for conditional statements

    Signed-off-by: Michael Straube
    Link: https://lore.kernel.org/r/20200915095009.9679-1-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Michael Straube
     

07 Sep, 2020

2 commits


02 Sep, 2020

1 commit


18 Aug, 2020

1 commit


02 Aug, 2020

1 commit


28 Jul, 2020

2 commits

  • The variable authmode can be uninitialized. The danger would be if
    it equals to _WPA_IE_ID_ (0xdd) or _WPA2_IE_ID_ (0x33). We can avoid
    this by setting it to zero instead. This is the approach that was
    used in the rtl8723bs driver.

    Fixes: 7b464c9fa5cc ("staging: r8188eu: Add files for new driver - part 4")
    Co-developed-by: Dan Carpenter
    Signed-off-by: Dan Carpenter
    Signed-off-by: Dinghao Liu
    Cc: stable
    Link: https://lore.kernel.org/r/20200728072153.9202-1-dinghao.liu@zju.edu.cn
    Signed-off-by: Greg Kroah-Hartman

    Dinghao Liu
     
  • rtw_aes_decrypt, rtw_tkip_decrypt, rtw_wep_decrypt, rtw_aes_encrypt,
    rtw_tkip_encrypt, rtw_wep_encrypt are takes (u8 *) second argiment and
    always uses it as (struct recv_frame *) or (struct xmit_frame *).
    This is causes a lot of unnecessary type casts
    and complicates refactoring.

    Signed-off-by: Ivan Safonov
    Link: https://lore.kernel.org/r/20200726210246.68633-1-insafonov@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Ivan Safonov
     

25 Jul, 2020

1 commit

  • Running the checkpatch.pl script on the file for which patch was created, the
    following error was found to exist.
    ERROR: space required after that ',' (ctx:VxV)

    Fixed the above error which was found on line #721 by inserting a blank
    space at the appropriate position.

    Signed-off-by: Anant Thazhemadam
    Link: https://lore.kernel.org/r/20200725122041.5663-1-anant.thazhemadam@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Anant Thazhemadam
     

24 Jul, 2020

1 commit


23 Jul, 2020

3 commits


20 Jul, 2020

2 commits


19 Jul, 2020

2 commits


17 Jul, 2020

2 commits


16 Jul, 2020

1 commit


15 Jul, 2020

1 commit


10 Jul, 2020

1 commit

  • Replace the existing /* fall through */ comments and its variants with
    the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
    fall-through markings when it is the case.

    [1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

    Signed-off-by: Gustavo A. R. Silva
    Link: https://lore.kernel.org/r/20200707182008.GA341@embeddedor
    Signed-off-by: Greg Kroah-Hartman

    Gustavo A. R. Silva