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

Commits on Jul 1, 2021

  1. staging: rtl8188eu: Replace a custom function with crc32_le()

    Use crc32_le in place of the custom getcrc32. This change makes GCC
    to warn about incorrect castings to the restricted type __le32, but
    they can be safely ignored because crc32_le calculates bitwise
    little-endian Ethernet AUTODIN II CRC32.
    
    Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    xp4ns3 authored and intel-lab-lkp committed Jul 1, 2021

Commits on Jun 25, 2021

  1. staging: hi6421-spmi-pmic: cleanup some macros

    Before moving this driver out of staging, cleanup the macros,
    in order to make the driver clearer.
    
    No functional changes.
    
    Suggested-by: Lee Jones <lee.jones@linaro.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/95341999de15b395242b5b7850ec5e727420ce19.1624606660.git.mchehab+huawei@kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    mchehab authored and gregkh committed Jun 25, 2021
  2. staging: hi6421-spmi-pmic: change identation of a table

    The struct regmap_config is idented with two tabs.
    Just one tab is enough.
    
    Suggested-by: Lee Jones <lee.jones@linaro.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/a4d718b0479e3867bedc93861e4b2c9c1321aabd.1624606660.git.mchehab+huawei@kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    mchehab authored and gregkh committed Jun 25, 2021
  3. staging: hi6421-spmi-pmic: change a return code

    return -ENODEV if irq_create_mapping() fails at probing
    time.
    
    Suggested-by: Lee Jones <lee.jones@linaro.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/e978eabd99c0d3c471026659a2c585deb706e2c4.1624606660.git.mchehab+huawei@kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    mchehab authored and gregkh committed Jun 25, 2021
  4. staging: hi6421-spmi-pmic: better name IRQs

    Instead of naming them as just "hisi", use hi6421v600 to
    make it clearer.
    
    Suggested-by: Lee Jones <lee.jones@linaro.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/327fb075905b889a43a0f9dced29ea9966d611f8.1624606660.git.mchehab+huawei@kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    mchehab authored and gregkh committed Jun 25, 2021
  5. staging: hi6421-spmi-pmic: use devm_request_threaded_irq()

    Use devm_request_threaded_irq() in order to simplify the
    driver.
    
    Suggested-by: Lee Jones <lee.jones@linaro.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/b47827c3466eeef3a7de6ac56b1fe93b5ff84e30.1624606660.git.mchehab+huawei@kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    mchehab authored and gregkh committed Jun 25, 2021
  6. staging: hisilicon,hi6421-spmi-pmic.yaml: cleanup descriptions

    Minor cleanups at the schema:
     - There's no need to describe interrupt-controller;
     - gpios need a description.
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/9f421e254061a42b7b598bd96b12f05460c175c9.1624606660.git.mchehab+huawei@kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    mchehab authored and gregkh committed Jun 25, 2021
  7. spmi: hisi-spmi-controller: move driver from staging

    The Hisilicon 6421v600 SPMI driver is ready for mainstream.
    
    So, move it from staging.
    
    Acked-by: Stephen Boyd <sboyd@kernel.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/35b9f9169889c1f4d51eff8bf2035450c9e02576.1624606660.git.mchehab+huawei@kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    mchehab authored and gregkh committed Jun 25, 2021
  8. phy: phy-hi3670-usb3: move driver from staging into phy

    The phy USB3 driver for Hisilicon 970 (hi3670) is ready
    for mainstream. Mode it from staging into the main driver's
    phy/ directory.
    
    Acked-by: Rob Herring <robh@kernel.org>
    Acked-By: Vinod Koul <vkoul@kernel.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/dcf66a01aaeaab93cda52f9a283ecbdf9fa71bb8.1624606660.git.mchehab+huawei@kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    mchehab authored and gregkh committed Jun 25, 2021
  9. staging: rtl8188eu: remove include/rtw_debug.h header

    Remove include/rtw_debug.h header file, as this isn't used and gets
    rid of the various other definitions we don't need. Also move the
    DRIVERVERSION constant value directly to os_dep/os_intfs.c as it is
    only used there anyway. This results in removal of more unnecessary code.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-24-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  10. staging: rtl8188eu: remove GlobalDebugLevel variable

    Remove GlobalDebugLevel variable and all of its uses, as it is now
    no longer used anywhere in this driver.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-23-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  11. staging: rtl8188eu: remove DRIVER_PREFIX preprocessor definition

    Remove DRIVER_PREFIX preprocessor definition, as well as the short
    block of dumping code that uses it in core/rtw_recv.c - this code
    is unneeded, as normal debugging facilities can tell us what driver
    this is simply by pathname etc.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-22-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  12. staging: rtl8188eu: remove RT_TRACE macro

    Remove RT_TRACE macro from include/rtw_debug.h, as it now has no
    callers, and does not follow best practices and kernel coding
    conventions.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-21-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  13. staging: rtl8188eu: remove all RT_TRACE calls from hal/rtl8188eu_recv.c

    Remove all RT_TRACE calls from hal/rtl8188eu_recv.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-20-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  14. staging: rtl8188eu: remove all RT_TRACE calls from hal/hal_intf.c

    Remove all RT_TRACE calls from hal/hal_intf.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-19-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  15. staging: rtl8188eu: remove all RT_TRACE calls from hal/rtl8188eu_xmit.c

    Remove all RT_TRACE calls from hal/rtl8188eu_xmit.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-18-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  16. staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_xmit.c

    Remove all RT_TRACE calls from core/rtw_xmit.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-17-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  17. staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_pwrctrl.c

    Remove all RT_TRACE calls from core/rtw_pwrctrl.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-16-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  18. staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_recv.c

    Remove all RT_TRACE calls from core/rtw_recv.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-15-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  19. staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_ioctl_set.c

    Remove all RT_TRACE calls from core/rtw_ioctl_set.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-14-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  20. staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_ieee80211.c

    Remove all RT_TRACE calls from core/rtw_ieee80211.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-13-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  21. staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_wlan_util.c

    Remove all RT_TRACE calls from core/rtw_wlan_util.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-12-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  22. staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_led.c

    Remove all RT_TRACE calls from core/rtw_led.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-11-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  23. staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_mlme.c

    Remove all RT_TRACE calls from core/rtw_mlme.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Also remove rtw_atimdone_event_callback and rtw_cpwm_event_callback
    functions and their associated header declarations/usages, as all
    they do is call RT_TRACE and nothing else.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-10-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  24. staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_mlme_ext.c

    Remove all RT_TRACE calls from core/rtw_mlme_ext.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-9-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  25. staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_sta_mgt.c

    Remove all RT_TRACE calls from core/rtw_sta_mgt.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-8-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  26. staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_security.c

    Remove all RT_TRACE calls from core/rtw_security.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-7-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  27. staging: rtl8188eu: remove all RT_TRACE calls from os_dep/recv_linux.c

    Remove all RT_TRACE calls from os_dep/recv_linux.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-6-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  28. staging: rtl8188eu: remove all RT_TRACE calls from os_dep/mlme_linux.c

    Remove all RT_TRACE calls from os_dep/mlme_linux.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-5-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  29. staging: rtl8188eu: remove all RT_TRACE calls from os_dep/os_intfs.c

    Remove all RT_TRACE calls from os_dep/os_intfs.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-4-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  30. staging: rtl8188eu: remove all RT_TRACE calls from os_dep/xmit_linux.c

    Remove all RT_TRACE calls from os_dep/xmit_linux.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-3-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021
  31. staging: rtl8188eu: remove all RT_TRACE calls from os_dep/ioctl_linux.c

    Remove all RT_TRACE calls from os_dep/ioctl_linux.c as this macro is
    unnecessary, and these calls are dubious in terms of necessity.
    Removing all calls will ultimately allow the removal of the macro
    itself.
    
    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210625000756.6313-2-phil@philpotter.co.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PhilPotter authored and gregkh committed Jun 25, 2021

Commits on Jun 24, 2021

  1. staging: hisi-spmi-controller: rename spmi-channel property

    The spmi-channel is not used on other drivers. So, rename it,
    in order to document that this is specific to those devices.
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/ed45fc5d84d7b531343ee5d3466ebfac26217da0.1624542940.git.mchehab+huawei@kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    mchehab authored and gregkh committed Jun 24, 2021
  2. staging: phy-hi3670-usb3: do a some minor cleanups

    Before moving this driver out of staging:
    
    1. group some integers altogether;
    
    2. Use:
    
    	return some_function()
    
    instead of:
    
    	ret = some_function();
    	return ret;
    
    This is just a cleanup. No functional changes.
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/55db419e42fd3af72494acbe0ea0f0d1de8906ac.1624542940.git.mchehab+huawei@kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    mchehab authored and gregkh committed Jun 24, 2021
  3. staging: rtl8723bs: convert function to static

    function chk_sta_is_alive() is used only inside core/rtw_ap.c
    so remove the prototype and convert it to static.
    
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/20210623130103.7727-1-fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Jun 24, 2021
Older