Skip to content
Permalink
Aline-Santana-…
Switch branches/tags

Commits on Apr 12, 2021

  1. staging: media: omap4iss: Replace macro function by static inline fun…

    …ction in file iss_resizer.c
    
    Replace macro function by static inline function.
    Issue suggested by Julia.
    
    Signed-off-by: Aline Santana Cordeiro <alinesantanacordeiro@gmail.com>
    ascordeiro authored and intel-lab-lkp committed Apr 12, 2021
  2. staging: media: omap4iss: Replace macro function by static inline fun…

    …ction in file iss_ipipeif.c
    
    Replace macro function by static inline function.
    Issue suggested by Julia.
    
    Signed-off-by: Aline Santana Cordeiro <alinesantanacordeiro@gmail.com>
    ascordeiro authored and intel-lab-lkp committed Apr 12, 2021
  3. staging: media: omap4iss: Replace macro function by static inline fun…

    …ction in file iss_ipipe.c
    
    Replace macro function by static inline function.
    Issue suggested by Julia.
    
    Signed-off-by: Aline Santana Cordeiro <alinesantanacordeiro@gmail.com>
    ascordeiro authored and intel-lab-lkp committed Apr 12, 2021
  4. staging: media: omap4iss: Replace macro function by static inline fun…

    …ction in file iss.c
    
    Replace macro function by static inline function.
    Issue suggested by Julia.
    
    Signed-off-by: Aline Santana Cordeiro <alinesantanacordeiro@gmail.com>
    ascordeiro authored and intel-lab-lkp committed Apr 12, 2021
  5. staging: vchiq_core: split exit conditions

    Some exit conditions are rather complex. So better split them up.
    
    Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
    Link: https://lore.kernel.org/r/1618164700-21150-11-git-send-email-stefan.wahren@i2se.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    lategoodbye authored and gregkh committed Apr 12, 2021
  6. staging: vchiq_core: fix if alignments

    This fixes the alignment of some if statements.
    
    Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
    Link: https://lore.kernel.org/r/1618164700-21150-10-git-send-email-stefan.wahren@i2se.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    lategoodbye authored and gregkh committed Apr 12, 2021
  7. staging: vchiq_core: introduce SLOT_QUEUE_INDEX_FROM_POS_MASKED

    Define a macro which already masked the result of SLOT_QUEUE_INDEX_FROM_POS.
    
    Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
    Link: https://lore.kernel.org/r/1618164700-21150-9-git-send-email-stefan.wahren@i2se.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    lategoodbye authored and gregkh committed Apr 12, 2021
  8. staging: vchiq_core: use BITSET_WORD macro

    Use this macro to make the index retrieval less opaque.
    
    Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
    Link: https://lore.kernel.org/r/1618164700-21150-8-git-send-email-stefan.wahren@i2se.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    lategoodbye authored and gregkh committed Apr 12, 2021
  9. staging: vchiq_core: improve readability of request_poll

    Storing the index for poll services in a local var will increase the
    readability of the second loop. Also we get the rid off the checkpatch
    issue about the line ending with a square bracket.
    
    Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
    Link: https://lore.kernel.org/r/1618164700-21150-7-git-send-email-stefan.wahren@i2se.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    lategoodbye authored and gregkh committed Apr 12, 2021
  10. staging: vchiq_core: introduce service skip

    In case there is no service pointer provided, we can skip these polling.
    Use a goto to reduce the indentation, which is necessary for the following
    patches. Btw fix the brace alignment of the loops.
    
    Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
    Link: https://lore.kernel.org/r/1618164700-21150-6-git-send-email-stefan.wahren@i2se.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    lategoodbye authored and gregkh committed Apr 12, 2021
  11. staging: vchiq_core: Exit early in 2 functions

    Exit early allow us to reduce the indention in vchiq_open_service_internal()
    and vchiq_set_service_option(). Btw we can avoid the multi-line assignments
    of quota.
    
    Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
    Link: https://lore.kernel.org/r/1618164700-21150-5-git-send-email-stefan.wahren@i2se.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    lategoodbye authored and gregkh committed Apr 12, 2021
  12. staging: vchiq_core: Get the rid off curly braces around cases

    Additional curly braces around cases are a bit harder to read. So
    change the scope of service quota to get the rid off those braces.
    
    Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
    Link: https://lore.kernel.org/r/1618164700-21150-4-git-send-email-stefan.wahren@i2se.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    lategoodbye authored and gregkh committed Apr 12, 2021
  13. staging: vchiq_core: Shorten var name for service quota

    Readibility and following clean-ups will benefit from the shorter name.
    
    Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
    Link: https://lore.kernel.org/r/1618164700-21150-3-git-send-email-stefan.wahren@i2se.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    lategoodbye authored and gregkh committed Apr 12, 2021
  14. staging: vchiq_core: Simplify vchiq_send_remote_use*

    There is no need for variable status. So drop it and improve readability.
    
    Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
    Link: https://lore.kernel.org/r/1618164700-21150-2-git-send-email-stefan.wahren@i2se.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    lategoodbye authored and gregkh committed Apr 12, 2021
  15. staging: rts5208: remove unnecessary ftrace-like logging

    Removed unnecessary ftrace-like logging by simply deleting that statement
    as we have other modes of logging like ftrace.
    Reported by checkpatch.
    
    Signed-off-by: Mitali Borkar <mitaliborkar810@gmail.com>
    Link: https://lore.kernel.org/r/YHMy457UGosfeaC0@kali
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    M810-B authored and gregkh committed Apr 12, 2021
  16. staging: rtl8723bs: remove unused variable 'start' in hal/sdio_halinit.c

    fix following W=1 compiler issue:
    
    drivers/staging/rtl8723bs/hal/sdio_halinit.c:
    	In function '_ReadAdapterInfo8723BS':
    drivers/staging/rtl8723bs/hal/sdio_halinit.c:1156:16:
    warning: variable 'start' set but not used [-Wunused-but-set-variable]
    1156 |  unsigned long start;
         |                ^~~~~
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/ce1faa15052b519738656e11658dee93f9e91c29.1618145345.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 12, 2021
  17. staging: rtl8723bs: remove unnecessary goto jumps

    The next instruction for both 'goto exit' jump statements is to
    execute the exit jump instructions regardless. We can safely
    remove all jump statements from __init rtw_drv_entry()
    
    Signed-off-by: Bryan Brattlof <hello@bryanbrattlof.com>
    Link: https://lore.kernel.org/r/20210411133625.38195-1-hello@bryanbrattlof.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    bryanbrattlof authored and gregkh committed Apr 12, 2021
  18. Staging: rtl8192u: ieee80211: remove odd backslash.

    This backslash should be deleted - looks like leftover and not needed.
    
    Signed-off-by: Dmitrii Wolf <dev.dragon@bk.ru>
    Link: https://lore.kernel.org/r/20210411120301.6549-1-dev.dragon@bk.ru
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    SwDev12 authored and gregkh committed Apr 12, 2021
  19. staging: rtl8723bs: Change controlling expressions

    Change controlling expressions within 'if' statements: don't compare
    with 'true'.
    
    Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Link: https://lore.kernel.org/r/20210411110458.15955-5-fmdefrancesco@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    xp4ns3 authored and gregkh committed Apr 12, 2021
  20. staging: rtl8723bs: include: Change the type of a variable

    Change the type of fw_current_in_ps_mode from u8 to bool, because
    it is used everywhere as a bool and, accordingly, it should be
    declared as a bool.
    
    Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Link: https://lore.kernel.org/r/20210411110458.15955-4-fmdefrancesco@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    xp4ns3 authored and gregkh committed Apr 12, 2021
  21. staging: rtl8723bs: include: Fix misspelled words in comments

    Correct misspelled words in comments of several files. Issue (largely)
    detected by checkpatch.pl.
    
    Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Link: https://lore.kernel.org/r/20210411110458.15955-3-fmdefrancesco@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    xp4ns3 authored and gregkh committed Apr 12, 2021
  22. staging: rtl8723bs: Remove camelcase in several files

    Remove camelcase in bFwCurrentInPSMode, a variable used by code
    of several subdirectories/files of the driver. Issue detected by
    checkpatch.pl. Delete the unnecessary "b" (that stands for "byte") from
    the beginning of the name.
    
    Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Link: https://lore.kernel.org/r/20210411110458.15955-2-fmdefrancesco@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    xp4ns3 authored and gregkh committed Apr 12, 2021

Commits on Apr 11, 2021

  1. staging: rtl8723bs: remove more empty if blocks after DBG_8192C deletion

    remove more empty if-blocks after DBG_8192C deletion.
    
    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/99b111d2bac822b9dc7ff6e1cfd3d3efc62ef836.1618064275.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  2. staging: rtl8723bs: remove more unnecessary parentheses

    remove more unnecessary parentheses after
    DBG_8192C deletion.
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/c730d2719cb2ed385dd55811d6e205c6c31f2355.1618064275.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  3. staging: rtl8723bs: fix comparison to true issue

    fix following post-commit hook checkpatch issue:
    
    CHECK: Using comparison to true is error prone
    136: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:
    2497:
    +			if (psta->dot8021xalg != 1 ||
    	psta->bpairwise_key_installed == true) {
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/680d86950d760003a694f8880c0a912a9d815a5e.1618064275.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  4. staging: rtl8723bs: remove empty else block in os_dep/ioctl_cfg80211.c

    remove empty else-block
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/1bee993834410c2c11a6799e1868589efc1334f6.1618064275.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  5. staging: rtl8723bs: remove unnecessary parentheses in os_dep/ioctl_cf…

    …g80211.c
    
    fix following post-commit hook checkpatch issue:
    
    WARNING: braces {} are not necessary for single statement blocks
    94: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:1225:
    +		if (pwdev_priv->scan_request->wiphy == pwdev_priv->rtw_wdev->wiphy)
     		{
     			cfg80211_scan_done(pwdev_priv->scan_request, &info);
     		}
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/fabc590b9f74f687cc0f7ea978577f0357df2974.1618064275.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  6. staging: rtl8723bs: put constant on the right side of a test in os_de…

    …p/ioctl_cfg80211.c
    
    fix following post-commit hook checkpatch issue:
    
    CHECK: Comparison to NULL could be written "psta"
    72: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:854:
    +			if (psta != NULL) {
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/5ac547f3a4bd228f372da7057bbfb3cac1535857.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  7. staging: rtl8723bs: remove empty if and else blocks

    remove if and else blocks after DBG_8192C removal
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/2d2e09d5033bda1ceb77576e582ecf1dcfccf428.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  8. staging: rtl8723bs: put constant on the right side of the test

    fix following post-commit hook checpatch issues:
    
    WARNING: Comparisons should place the constant on the right side of the test
    287: FILE: drivers/staging/rtl8723bs/hal/sdio_halinit.c:738:
    +	if (_SUCCESS != ret)
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/e19cff736413714dea4265c17b512882d051a311.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  9. staging: rtl8723bs: split long line

    fix following post-commit hook checkpatch issue:
    
    WARNING: line length of 103 exceeds 100 columns
    168: FILE: drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:1086:
    +			if (efuse_OneByteRead(padapter, efuse_addr, &efuse_data, bPseudoTest) == false)
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/28c078c685059c9b883b563f2c08cfb1d49cb82c.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  10. staging: rtl8723bs: put spaces around operators

    fix following post-commit hook checkpatch issues:
    
    CHECK: spaces preferred around that '+' (ctx:VxV)
    87: FILE: drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:746:
    +	if ((_offset+_size_byte) > EFUSE_MAX_MAP_LEN)
    --
    CHECK: spaces preferred around that '+' (ctx:VxV)
    105: FILE: drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:847:
    +	if ((_offset+_size_byte) > EFUSE_BT_MAP_LEN)
    --
    CHECK: spaces preferred around that '-' (ctx:VxV)
    133: FILE: drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:906:
    +		if ((eFuse_Addr-1) < total)
    --
    CHECK: spaces preferred around that '|' (ctx:VxV)
    392: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:2485:
    +	if (check_fwstate(pmlmepriv, (_FW_LINKED|WIFI_AP_STATE)) != true)
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/65b7cf4b1ae3cea25a316f3c9f56c697ee7be8af.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  11. staging: rtl8723bs: fix comparison to null

    fix following post-commit hook checkpatch issues:
    
    CHECK: Comparison to NULL could be written "!pmlmepriv->wps_probe_req_ie"
    348: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:1319:
    +			if (pmlmepriv->wps_probe_req_ie == NULL)
    
    CHECK: Comparison to NULL could be written "!dvobj"
    459: FILE: drivers/staging/rtl8723bs/os_dep/sdio_intf.c:184:
    +	if (dvobj == NULL)
    
    CHECK: Comparison to NULL could be written "!padapter"
    470: FILE: drivers/staging/rtl8723bs/os_dep/sdio_intf.c:231:
    +	if (padapter == NULL)
    
    CHECK: Comparison to NULL could be written "!padapter"
    481: FILE: drivers/staging/rtl8723bs/os_dep/sdio_intf.c:240:
    +	if (padapter == NULL)
    
    CHECK: Comparison to NULL could be written "!padapter"
    492: FILE: drivers/staging/rtl8723bs/os_dep/sdio_intf.c:256:
    +	if (padapter == NULL)
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/2c7557a465aeda7fb6989df30c6250f9ec56ebe1.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  12. staging: rtl8723bs: remove unnecessary bracks

    remove unnecessary bracks in if-else blocks
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/812e5e0dcb78e49568276237b68dc6f9632c198d.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  13. staging: rtl8723bs: remove commented out DEBUG_CFG80211 symbol defini…

    …tion
    
    remove commented out DEBUG_CFG80211 symbol definition.
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/b884ecb5c83c222f0b48839f89e53c45f4489e06.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
Older