Skip to content
Permalink
ratnesh-r1/sta…
Switch branches/tags

Commits on Jan 24, 2022

  1. staging: android: ashmem: Declared file operation with const keyword

    warning found by checkpatch.pl script.
    
    Signed-off-by: ratnesh-r1 <me.ratnesh682@gmail.com>
    ratnesh-r1 authored and intel-lab-lkp committed Jan 24, 2022

Commits on Jan 6, 2022

  1. staging: r8188eu: rename camelcase variable uintPeerChannel

    Rename camelcase hungarian notated variable uintPeerChannel into
    peer_channel.
    
    Signed-off-by: Alberto Merciai <alb3rt0.m3rciai@gmail.com>
    Link: https://lore.kernel.org/r/20220104160945.460113-1-alb3rt0.m3rciai@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Alberto Merciai authored and gregkh committed Jan 6, 2022
  2. staging: r8188eu: make BW20_24G_Diff a 1-D array

    Make BW20_24G_Diff a one-dimensional array. This driver uses only
    BW20_24G_Diff[0].
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20220105083426.177128-8-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Jan 6, 2022
  3. staging: r8188eu: make OFDM_24G_Diff a 1-D array

    Make OFDM_24G_Diff one-dimensional array. This driver uses only
    OFDM_24G_Diff[0].
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20220105083426.177128-7-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Jan 6, 2022
  4. staging: r8188eu: BW40_24G_Diff is set but not used

    The BW40_24G_Diff array is set but not used. Remove it.
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20220105083426.177128-6-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Jan 6, 2022
  5. staging: r8188eu: CCK_24G_Diff is set but not used

    The CCK_24G_Diff array is set but not used. Remove it.
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20220105083426.177128-5-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Jan 6, 2022
  6. staging: r8188eu: make Index24G_BW40_Base a 1-D array

    Make Index24G_BW40_Base a one-dimensional array. This driver uses
    only Index24G_BW40_Base[0].
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20220105083426.177128-4-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Jan 6, 2022
  7. staging: r8188eu: make Index24G_CCK_Base a 1-D array

    Make Index24G_CCK_Base a one-dimensional array. This driver uses only
    Index24G_CCK_Base[0].
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20220105083426.177128-3-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Jan 6, 2022
  8. staging: r8188eu: rfPath is always 0

    The rfPath variable in Hal_ReadTxPowerInfo88E is always 0. Remove the
    variable and use 0 directly.
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20220105083426.177128-2-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Jan 6, 2022
  9. staging: r8188eu: remove unneeded parameter from rtl8188e_SetHalODMVar

    Function rtl8188e_SetHalODMVar is always called with HAL_ODM_STA_INFO.
    Remove the unneeded parameter eVariable from the function.
    
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20220104090732.13994-1-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Jan 6, 2022
  10. staging: pi433: add comment to rx_lock mutex definition

    Checkpatch reports: CHECK: struct mutex definition without comment.
    Fix this by documenting what rx_mutex struct is used for in pi433
    driver.
    
    Signed-off-by: Paulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
    Link: https://lore.kernel.org/r/20220103232616.GA11161@mail.google.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PauloMigAlmeida authored and gregkh committed Jan 6, 2022
  11. staging: pi433: fix frequency deviation check

    rf69 datasheet states that frequency deviation must exceed 600 Hz but
    also that frequency deviation + (bitrate / 2) should be less than equal
    to 500 kHz to ensure proper modulation.
    
    This patch validates that both conditions are met so RF intersymbol
    interference is less likely to happen due to misconfiguration of the uC
    
    Signed-off-by: Paulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
    Link: https://lore.kernel.org/r/20220103222334.GA6814@mail.google.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    PauloMigAlmeida authored and gregkh committed Jan 6, 2022
  12. staging: vc04_services: rename BM2835 to BCM2835 in headers comments

    In the kernel, when referring to the chip BCM2835, it is more suitable
    to use BCM2835 to BM2835. To avoid confusion, and to make things more
    consistent, rename the headers titles accordingly.
    
    Suggested-by: Stefan Wahren <stefan.wahren@i2se.com>
    Signed-off-by: Gaston Gonzalez <gascoar@gmail.com>
    Link: https://lore.kernel.org/r/19acea9e9da0d3ebb1a7e6bce511a3c09e8c80c3.1641414449.git.gascoar@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    gascoar authored and gregkh committed Jan 6, 2022
  13. staging: vc04_services: rename string literal containing bm2835_* to …

    …bcm2835*_
    
    In the kernel, all names related to the chip BCM2835 are always named
    bcm2835_*. To avoid confusion, and to make things more consistent,
    rename the string term bm2835_* to bcm2835_*.
    
    While at it, some realignments were made to improve readability.
    
    Suggested-by: Stefan Wahren <stefan.wahren@i2se.com>
    Signed-off-by: Gaston Gonzalez <gascoar@gmail.com>
    Link: https://lore.kernel.org/r/91caae07fce0e4511f283388304e935526ba29ed.1641414449.git.gascoar@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    gascoar authored and gregkh committed Jan 6, 2022
  14. staging: vc04_services: rename variables containing bm2835_* to bcm28…

    …35_*
    
    In the kernel, all names related to the chip BCM2835 are always named
    bcm2835_*. To avoid confusion, and to make things more consistent,
    rename all variables using bm2835_* to bcm2835_*.
    
    While at it, some realignments were made to improve readability.
    
    Suggested-by: Stefan Wahren <stefan.wahren@i2se.com>
    Signed-off-by: Gaston Gonzalez <gascoar@gmail.com>
    Link: https://lore.kernel.org/r/a0af5deacebc2da9b21772c7677e1a9627edbed6.1641414449.git.gascoar@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    gascoar authored and gregkh committed Jan 6, 2022
  15. staging: vc04_services: rename functions containing bm2835_* to bcm28…

    …35_*
    
    In the kernel, all names related to the chip BCM2835 are always named
    bcm2835_*. To avoid confusion, and to make things more consistent,
    rename functions using bm2835_* to bcm2835_*.
    
    While at it, some realignments were made to improve readability.
    
    Suggested-by: Stefan Wahren <stefan.wahren@i2se.com>
    Signed-off-by: Gaston Gonzalez <gascoar@gmail.com>
    Link: https://lore.kernel.org/r/d3b6f67421c75829105f793cfb9ec1414b926bf6.1641414449.git.gascoar@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    gascoar authored and gregkh committed Jan 6, 2022
  16. staging: vc04_services: rename structures bm2835_mmal_dev and bm2835_…

    …mmal_v4l2_ctrl
    
    In the kernel, all names related to the chip BCM2835 are always named
    bcm2835_*. To avoid confusion, and to make things more consistent,
    rename the structures bm2835_mmal_dev and bm2835_mmal_v4l2_ctrl
    accordingly.
    
    While at it, one realignment was made to improve readability.
    
    Suggested-by: Stefan Wahren <stefan.wahren@i2se.com>
    Signed-off-by: Gaston Gonzalez <gascoar@gmail.com>
    Link: https://lore.kernel.org/r/a893f24fc5ee6c276ea982f141b42ec0a00d7194.1641414449.git.gascoar@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    gascoar authored and gregkh committed Jan 6, 2022
  17. staging: greybus: audio: Check null pointer

    As the possible alloc failure of devm_kcalloc(), it could return null
    pointer.
    Therefore, 'strings' should be checked and return NULL if alloc fails to
    prevent the dereference of the NULL pointer.
    Also, the caller should also deal with the return value of the
    gb_generate_enum_strings() and return -ENOMEM if returns NULL.
    Moreover, because the memory allocated with devm_kzalloc() will be
    freed automatically when the last reference to the device is dropped,
    the 'gbe' in gbaudio_tplg_create_enum_kctl() and
    gbaudio_tplg_create_enum_ctl() do not need to free manually.
    But the 'control' in gbaudio_tplg_create_widget() and
    gbaudio_tplg_process_kcontrols() has a specially error handle to
    cleanup.
    So it should be better to cleanup 'control' when fails.
    
    Fixes: e65579e ("greybus: audio: topology: Enable enumerated control support")
    Reviewed-by: Alex Elder <elder@linaro.org>
    Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
    Link: https://lore.kernel.org/r/20220104150628.1987906-1-jiasheng@iscas.ac.cn
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    JiangJias authored and gregkh committed Jan 6, 2022

Commits on Jan 3, 2022

  1. staging: r8188eu: add spaces around P2P_AP_P2P_CH_SWITCH_PROCESS_WK

    Remove checkpatch.pl error by adding spaces
    around P2P_AP_P2P_CH_SWITCH_PROCESS_WK.
    
    Signed-off-by: Alberto Merciai <alb3rt0.m3rciai@gmail.com>
    Link: https://lore.kernel.org/r/20220103115633.221853-1-alb3rt0.m3rciai@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Alberto Merciai authored and gregkh committed Jan 3, 2022
  2. staging: r8188eu: turbo scan is always off for r8188eu

    Turbo scan is always disabled. Remove the TurboScanOff variable and
    related checks.
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20220102175932.89127-6-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Jan 3, 2022
  3. staging: r8188eu: cmd_issued_cnt is set but not used

    cmd_issued_cnt in struct cmd_priv is set but not used. It can
    be removed.
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20220102175932.89127-5-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Jan 3, 2022
  4. staging: r8188eu: fix_rate is set but not used.

    fix_rate in struct adapter is set but not used. Remove the variable and
    the private ioctl code to set it.
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20220102175932.89127-4-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Jan 3, 2022
  5. staging: r8188eu: internal autosuspend is always false

    bInternalAutoSuspend is always false. Remove the variable and related
    checks.
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20220102175932.89127-3-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Jan 3, 2022
  6. staging: r8188eu: remove unused power management defines

    Remove unused defines from enum power_mgnt.
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20220102175932.89127-2-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Jan 3, 2022
  7. staging: r8188eu: remove unused defines from rtw_eeprom.h

    Remove unused defines from rtw_eeprom.h.
    
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20220102131141.12310-12-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Jan 3, 2022
  8. staging: r8188eu: remove unused defines from Hal8188EPhyCfg.h

    Remove unused defines from Hal8188EPhyCfg.h.
    
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20220102131141.12310-11-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Jan 3, 2022
  9. staging: r8188eu: remove unneeded comments from Hal8188EPhyCfg.h

    Remove unneeded comments from Hal8188EPhyCfg.h.
    
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20220102131141.12310-10-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Jan 3, 2022
  10. staging: r8188eu: enum hw90_block is not used

    The enumeration hw90_block is not used. Remove it.
    
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20220102131141.12310-9-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Jan 3, 2022
  11. staging: r8188eu: struct odm_sta_info is not used

    The structure odm_sta_info is not used. Remove it.
    
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20220102131141.12310-8-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Jan 3, 2022
  12. staging: r8188eu: clean up struct sw_ant_switch

    Remove unused fields from struct sw_ant_switch.
    
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20220102131141.12310-7-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Jan 3, 2022
  13. staging: r8188eu: clean up struct rtw_dig

    Remove unused and set but never used fields from struct rtw_dig.
    
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20220102131141.12310-6-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Jan 3, 2022
  14. staging: r8188eu: struct rx_hpc is not used

    The structure rx_hpc is not used. Remove it.
    
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20220102131141.12310-5-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Jan 3, 2022
  15. staging: r8188eu: remove unused enum and defines

    Remove the unused enum rf90_radio_path and some unused defines.
    
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20220102131141.12310-4-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Jan 3, 2022
  16. staging: r8188eu: remove struct rt_channel_plan_2g

    The structures rt_channel_plan and rt_channel_plan_2g are identical.
    Keep rt_channel_plan and remove rt_channel_plan_2g.
    
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20220102131141.12310-3-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Jan 3, 2022
  17. staging: r8188eu: remove MAX_CHANNEL_NUM_2G

    The constants MAX_CHANNEL_NUM_2G and MAX_CHANNEL_NUM have the same
    value. Remove MAX_CHANNEL_NUM_2G and fix the place where it is used.
    
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20220102131141.12310-2-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Jan 3, 2022
Older