[driver-core:kobject-const] BUILD SUCCESS 78556b817c9fefe53b1557e47e0613528a0b71fe
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git kobject-const branch HEAD: 78556b817c9fefe53b1557e47e0613528a0b71fe kobject: remove kset from struct kset_uevent_ops callbacks elapsed time: 1288m configs tested: 121 configs skipped: 3 The following configs have been built successfully. More configs may be tested in the coming days. gcc tested configs: arm defconfig arm64allyesconfig arm64 defconfig arm allyesconfig arm allmodconfig powerpc ps3_defconfig nios2 10m50_defconfig arm lpc32xx_defconfig sh rsk7203_defconfig arm mainstone_defconfig arm stm32_defconfig powerpc taishan_defconfig ia64 bigsur_defconfig armzeus_defconfig mips rb532_defconfig arm s3c2410_defconfig sh ul2_defconfig powerpc ppc44x_defconfig powerpc lite5200b_defconfig powerpc canyonlands_defconfig sh rsk7201_defconfig armspear3xx_defconfig xtensageneric_kc705_defconfig arm64alldefconfig ia64 tiger_defconfig mips capcella_defconfig mipsbcm47xx_defconfig xtensa virt_defconfig powerpc64 defconfig powerpcgamecube_defconfig sh sh2007_defconfig powerpcicon_defconfig arm nhk8815_defconfig sh se7750_defconfig i386 allyesconfig armxcep_defconfig shhp6xx_defconfig mipsbcm63xx_defconfig powerpc mpc85xx_cds_defconfig riscvalldefconfig mips mpc30x_defconfig arm h5000_defconfig shsh7785lcr_defconfig arm randconfig-c002-20211227 ia64 allmodconfig ia64defconfig ia64 allyesconfig m68k allyesconfig m68k allmodconfig m68kdefconfig nios2 defconfig arc allyesconfig nds32 allnoconfig nds32 defconfig nios2allyesconfig cskydefconfig alpha defconfig alphaallyesconfig xtensa allyesconfig h8300allyesconfig arc defconfig sh allmodconfig parisc defconfig s390 allmodconfig s390defconfig parisc allyesconfig s390 allyesconfig sparcallyesconfig sparc defconfig i386defconfig i386 debian-10.3-kselftests i386 debian-10.3 mips allyesconfig mips allmodconfig powerpc allnoconfig powerpc allmodconfig powerpc allyesconfig x86_64 randconfig-a013-20211227 x86_64 randconfig-a014-20211227 x86_64 randconfig-a015-20211227 x86_64 randconfig-a011-20211227 x86_64 randconfig-a012-20211227 x86_64 randconfig-a016-20211227 i386 randconfig-a012-20211227 i386 randconfig-a011-20211227 i386 randconfig-a014-20211227 i386 randconfig-a016-20211227 i386 randconfig-a015-20211227 i386 randconfig-a013-20211227 arc randconfig-r043-20211227 s390 randconfig-r044-20211227 riscvrandconfig-r042-20211227 riscvnommu_k210_defconfig riscvallyesconfig riscvnommu_virt_defconfig riscv allnoconfig riscv defconfig riscv rv32_defconfig riscvallmodconfig um i386_defconfig um
[driver-core:driver-core-testing] BUILD SUCCESS ee6d3dd4ed48ab24b74bab3c3977b8218518247d
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing branch HEAD: ee6d3dd4ed48ab24b74bab3c3977b8218518247d driver core: make kobj_type constant. elapsed time: 1372m configs tested: 118 configs skipped: 3 The following configs have been built successfully. More configs may be tested in the coming days. gcc tested configs: arm defconfig arm64allyesconfig arm64 defconfig arm allyesconfig arm allmodconfig i386 randconfig-c001-20211228 mips cavium_octeon_defconfig h8300 edosk2674_defconfig powerpcfsp2_defconfig riscvnommu_virt_defconfig powerpc mpc834x_mds_defconfig arcnsimosci_defconfig powerpc ps3_defconfig nios2 10m50_defconfig arm lpc32xx_defconfig arc axs103_defconfig arm corgi_defconfig arm mv78xx0_defconfig powerpc skiroot_defconfig armzeus_defconfig mips rb532_defconfig arm s3c2410_defconfig sh ul2_defconfig powerpc ppc44x_defconfig armvt8500_v6_v7_defconfig powerpc redwood_defconfig m68km5307c3_defconfig nds32 allnoconfig i386defconfig h8300 h8s-sim_defconfig mips tb0219_defconfig powerpc walnut_defconfig powerpc taishan_defconfig armtrizeps4_defconfig armxcep_defconfig shhp6xx_defconfig mipsbcm63xx_defconfig powerpc mpc85xx_cds_defconfig sh se7750_defconfig riscvalldefconfig mips mpc30x_defconfig arm h5000_defconfig shsh7785lcr_defconfig sh rsk7201_defconfig arm randconfig-c002-20211227 ia64 allmodconfig ia64defconfig ia64 allyesconfig m68k allmodconfig m68kdefconfig m68k allyesconfig cskydefconfig alpha defconfig nds32 defconfig alphaallyesconfig nios2allyesconfig xtensa allyesconfig h8300allyesconfig arc defconfig sh allmodconfig nios2 defconfig arc allyesconfig parisc defconfig s390 allyesconfig s390 allmodconfig parisc allyesconfig s390defconfig i386 allyesconfig sparcallyesconfig sparc defconfig i386 debian-10.3-kselftests i386 debian-10.3 mips allmodconfig mips allyesconfig powerpc allnoconfig powerpc allmodconfig powerpc allyesconfig x86_64 randconfig-a013-20211227 x86_64 randconfig-a014-20211227 x86_64 randconfig-a015-20211227 x86_64 randconfig-a011-20211227 x86_64 randconfig-a012-20211227 x86_64 randconfig-a016-20211227 i386 randconfig-a012-20211227 i386 randconfig-a011-20211227 i386 randconfig-a014-20211227 i386 randconfig-a016-20211227 i386 randconfig-a015-20211227 i386 randconfig-a013-20211227 arc randconfig-r043-20211227 s390 randconfig-r044-20211227 riscvrandconfig-r042-20211227 riscvnommu_k210_defconfig riscvallyesconfig riscv allnoconfig riscv defconfig riscv rv32_defconfig riscvallmodconfig um i386_defconfig um x86_64_defconfig x86_64
Re: [PATCH] Staging: rtl871: rtl871x_mlme: fixed coding style issues
On Sat, Dec 25, 2021 at 11:32:39PM -0500, Agam Kohli wrote: > Fixed multiple line dereferences > > Signed-off-by: Agam Kohli > --- > drivers/staging/rtl8712/rtl871x_mlme.c | 125 ++--- > 1 file changed, 49 insertions(+), 76 deletions(-) > > diff --git a/drivers/staging/rtl8712/rtl871x_mlme.c > b/drivers/staging/rtl8712/rtl871x_mlme.c > index cabdb3549a5a..a2ced1b54ab5 100644 > --- a/drivers/staging/rtl8712/rtl871x_mlme.c > +++ b/drivers/staging/rtl8712/rtl871x_mlme.c > @@ -1,6 +1,5 @@ > // SPDX-License-Identifier: GPL-2.0 > > /** > - * rtl871x_mlme.c > * > * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. > * Linux device driver for RTL8192SU > @@ -124,7 +123,6 @@ static void free_network_nolock(struct mlme_priv > *pmlmepriv, > pmlmepriv->num_of_scanned--; > } > > - > /* return the wlan_network with the matching addr > * Shall be called under atomic context... > * to avoid possible racing condition... > @@ -140,13 +138,13 @@ static struct wlan_network *r8712_find_network(struct > __queue *scanned_queue, > return NULL; > spin_lock_irqsave(&scanned_queue->lock, irqL); > phead = &scanned_queue->queue; > - plist = phead->next; > - while (plist != phead) { > - pnetwork = container_of(plist, struct wlan_network, list); > - plist = plist->next; > + list_for_each(plist, phead) { > + pnetwork = list_entry(plist, struct wlan_network, list); > if (!memcmp(addr, pnetwork->network.MacAddress, ETH_ALEN)) > break; > } > + if (plist == phead) > + pnetwork = NULL; > spin_unlock_irqrestore(&scanned_queue->lock, irqL); > return pnetwork; > } > @@ -249,8 +247,8 @@ static int is_same_network(struct wlan_bssid_ex *src, > src->Ssid.SsidLength))) && > ((s_cap & WLAN_CAPABILITY_IBSS) == > (d_cap & WLAN_CAPABILITY_IBSS)) && > - ((s_cap & WLAN_CAPABILITY_BSS) == > - (d_cap & WLAN_CAPABILITY_BSS)); > + ((s_cap & WLAN_CAPABILITY_ESS) == > + (d_cap & WLAN_CAPABILITY_ESS)); > > } > > @@ -264,13 +262,13 @@ struct wlan_network *r8712_get_oldest_wlan_network( > phead = &scanned_queue->queue; > plist = phead->next; > while (1) { > - if (end_of_queue_search(phead, plist) == true) > + if (end_of_queue_search(phead, plist)) > break; > pwlan = container_of(plist, struct wlan_network, list); > - if (pwlan->fixed != true) { > - if (oldest == NULL || > + if (!pwlan->fixed) { > + if (!oldest || > time_after((unsigned long)oldest->last_scanned, > - (unsigned long)pwlan->last_scanned)) > +(unsigned long)pwlan->last_scanned)) > oldest = pwlan; > } > plist = plist->next; > @@ -358,7 +356,6 @@ static void update_scanned_network(struct _adapter > *adapter, > plist = plist->next; > } > > - > /* If we didn't find a match, then get a new network slot to initialize >* with this beacon's information >*/ > @@ -433,8 +430,7 @@ static int is_desired_network(struct _adapter *adapter, > bselected = false; > if (check_fwstate(&adapter->mlmepriv, WIFI_ADHOC_STATE)) { > if (pnetwork->network.InfrastructureMode != > - adapter->mlmepriv.cur_network.network. > - InfrastructureMode) > + > adapter->mlmepriv.cur_network.network.InfrastructureMode) > bselected = false; > } > return bselected; > @@ -541,8 +537,7 @@ void r8712_surveydone_event_callback(struct _adapter > *adapter, u8 *pbuf) > struct wlan_bssid_ex *pdev_network = > &(adapter->registrypriv.dev_network); > u8 *pibss = > - adapter->registrypriv. > - dev_network.MacAddress; > + > adapter->registrypriv.dev_network.MacAddress; > pmlmepriv->fw_state ^= _FW_UNDER_SURVEY; > memcpy(&pdev_network->Ssid, > &pmlmepriv->assoc_ssid, > @@ -621,7 +616,6 @@ void r8712_indicate_connect(struct _adapter *padapter) > jiffies + msecs_to_jiffies(6)); > } > > - > /* > * r8712_ind_disconnect: the caller has to lock pmlmepriv->lock > */ >
[driver-core:driver-core-testing] BUILD SUCCESS cf6299b6101903c31bddb0065804b2121ed510c7
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing branch HEAD: cf6299b6101903c31bddb0065804b2121ed510c7 kobject: remove kset from struct kset_uevent_ops callbacks elapsed time: 728m configs tested: 158 configs skipped: 5 The following configs have been built successfully. More configs may be tested in the coming days. gcc tested configs: arm defconfig arm allyesconfig arm allmodconfig arm64allyesconfig arm64 defconfig i386 randconfig-c001-20211228 arc haps_hs_smp_defconfig mips db1xxx_defconfig arm mxs_defconfig pariscgeneric-32bit_defconfig arm simpad_defconfig powerpc mpc5200_defconfig arc defconfig m68kmvme16x_defconfig riscvnommu_virt_defconfig mips tb0226_defconfig mips decstation_defconfig h8300h8300h-sim_defconfig arm nhk8815_defconfig pariscgeneric-64bit_defconfig arm versatile_defconfig sparc defconfig mips bmips_stb_defconfig sh se7343_defconfig mips lemote2f_defconfig sh se7724_defconfig arm exynos_defconfig xtensa common_defconfig powerpc mpc512x_defconfig arm pxa168_defconfig arc axs101_defconfig arm ep93xx_defconfig arm integrator_defconfig armtrizeps4_defconfig sh magicpanelr2_defconfig mips cavium_octeon_defconfig h8300 edosk2674_defconfig powerpcge_imp3a_defconfig arm rpc_defconfig ia64zx1_defconfig powerpc mpc836x_mds_defconfig xtensaxip_kc705_defconfig m68k m5475evb_defconfig arm pxa255-idp_defconfig arc axs103_defconfig armmagician_defconfig arm s3c2410_defconfig sh se7619_defconfig powerpc ksi8560_defconfig um defconfig sh landisk_defconfig m68k atari_defconfig mipsgpr_defconfig powerpc ps3_defconfig powerpc maple_defconfig mips loongson2k_defconfig mipsmaltaup_defconfig armxcep_defconfig mips ath79_defconfig powerpc mpc885_ads_defconfig arm lpc18xx_defconfig powerpc pq2fads_defconfig arm sama5_defconfig arm imx_v6_v7_defconfig arm pxa910_defconfig m68k sun3_defconfig sh se7780_defconfig armspear3xx_defconfig mipsar7_defconfig s390 zfcpdump_defconfig sparc64 defconfig arm lpc32xx_defconfig ia64 bigsur_defconfig arcnsimosci_defconfig arm alldefconfig powerpc tqm5200_defconfig powerpc sequoia_defconfig armhisi_defconfig riscvallmodconfig arm u8500_defconfig powerpcicon_defconfig powerpc powernv_defconfig mips fuloong2e_defconfig arm randconfig-c002-20211228 ia64 allmodconfig ia64defconfig ia64 allyesconfig m68k allmodconfig m68kdefconfig m68k allyesconfig nios2 defconfig arc allyesconfig nds32 allnoconfig cskydefconfig alpha defconfig nds32 defconfig alphaallyesconfig nios2allyesconfig sh allmodconfig h8300
[driver-core:kobject-const] BUILD SUCCESS 8d673488b467ac46161ab657d1feaccb8a29d21e
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git kobject-const branch HEAD: 8d673488b467ac46161ab657d1feaccb8a29d21e SUNRPC: use default_groups in kobj_type elapsed time: 720m configs tested: 128 configs skipped: 3 The following configs have been built successfully. More configs may be tested in the coming days. gcc tested configs: arm allyesconfig arm allmodconfig arm defconfig arm64 defconfig arm64allyesconfig i386 randconfig-c001-20211228 arc haps_hs_smp_defconfig mips db1xxx_defconfig arm mxs_defconfig pariscgeneric-32bit_defconfig arm simpad_defconfig powerpc mpc5200_defconfig arc defconfig m68kmvme16x_defconfig riscvnommu_virt_defconfig mips tb0226_defconfig um i386_defconfig pariscgeneric-64bit_defconfig arm versatile_defconfig sh se7724_defconfig arm exynos_defconfig xtensa common_defconfig powerpc mpc512x_defconfig arm pxa168_defconfig mips cavium_octeon_defconfig h8300 edosk2674_defconfig powerpcge_imp3a_defconfig arm rpc_defconfig ia64zx1_defconfig powerpc mpc836x_mds_defconfig arm hackkit_defconfig powerpc arches_defconfig sh se7712_defconfig sh se7619_defconfig powerpc ps3_defconfig powerpc maple_defconfig mips loongson2k_defconfig mipsmaltaup_defconfig armxcep_defconfig mips ath79_defconfig s390 zfcpdump_defconfig sparc64 defconfig arm lpc32xx_defconfig ia64 bigsur_defconfig arcnsimosci_defconfig arm alldefconfig powerpc tqm5200_defconfig powerpc sequoia_defconfig armhisi_defconfig riscvallmodconfig arm randconfig-c002-20211228 arm randconfig-c002-20211229 ia64 allmodconfig ia64defconfig ia64 allyesconfig m68k allyesconfig m68k allmodconfig m68kdefconfig nds32 allnoconfig nios2 defconfig arc allyesconfig nds32 defconfig cskydefconfig alpha defconfig alphaallyesconfig nios2allyesconfig sh allmodconfig h8300allyesconfig xtensa allyesconfig parisc defconfig s390 allyesconfig s390 allmodconfig parisc allyesconfig s390defconfig i386defconfig i386 allyesconfig sparc defconfig i386 debian-10.3-kselftests i386 debian-10.3 sparcallyesconfig mips allmodconfig mips allyesconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a002-20211228 x86_64 randconfig-a005-20211228 x86_64 randconfig-a001-20211228 x86_64 randconfig-a003-20211228 x86_64 randconfig-a006-20211228 x86_64 randconfig-a004-20211228 i386 randconfig-a006-20211228 i386 randconfig-a004-20211228 i386 randconfig-a002-20211228 i386 randconfig-a003-20211228 i386 randconfig-a001-20211228 i386 randconfig-a005-20211228 arc randconfig-r043-20211228 riscvallyesconfig riscv allnoconfig riscv
[staging:staging-testing] BUILD SUCCESS 20a77667bbd7c28ec4f76c3c811dc22c65b4bee6
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing branch HEAD: 20a77667bbd7c28ec4f76c3c811dc22c65b4bee6 staging: r8188eu: merge _ReadLEDSetting() into ReadAdapterInfo8188EU() elapsed time: 723m configs tested: 183 configs skipped: 4 The following configs have been built successfully. More configs may be tested in the coming days. gcc tested configs: arm defconfig arm64allyesconfig arm64 defconfig arm allyesconfig arm allmodconfig i386 randconfig-c001-20211228 powerpc randconfig-c003-20211229 i386 randconfig-c001-20211229 arc haps_hs_smp_defconfig mips db1xxx_defconfig arm mxs_defconfig pariscgeneric-32bit_defconfig arm simpad_defconfig powerpc mpc5200_defconfig arc defconfig m68kmvme16x_defconfig riscvnommu_virt_defconfig mips tb0226_defconfig um i386_defconfig mipsworkpad_defconfig mips gcw0_defconfig armclps711x_defconfig powerpc mpc834x_itxgp_defconfig mips ip32_defconfig mips lemote2f_defconfig mips decstation_defconfig h8300h8300h-sim_defconfig arm nhk8815_defconfig pariscgeneric-64bit_defconfig arm versatile_defconfig sh se7724_defconfig arm exynos_defconfig xtensa common_defconfig powerpc mpc512x_defconfig arm pxa168_defconfig mips loongson2k_defconfig powerpc taishan_defconfig powerpc mpc837x_mds_defconfig powerpc mpc834x_mds_defconfig mips cavium_octeon_defconfig h8300 edosk2674_defconfig powerpcge_imp3a_defconfig arm rpc_defconfig ia64zx1_defconfig powerpc mpc836x_mds_defconfig arm axm55xx_defconfig mips bigsur_defconfig mips rm200_defconfig riscvallyesconfig powerpc wii_defconfig arm hackkit_defconfig powerpc arches_defconfig sh se7619_defconfig i386defconfig mips cobalt_defconfig openriscdefconfig sh ecovec24_defconfig shedosk7705_defconfig powerpc ps3_defconfig powerpc maple_defconfig mipsmaltaup_defconfig armxcep_defconfig mips ath79_defconfig powerpc mpc885_ads_defconfig arm lpc18xx_defconfig powerpc pq2fads_defconfig arm sama5_defconfig arm imx_v6_v7_defconfig arm pxa910_defconfig s390 zfcpdump_defconfig sparc64 defconfig arm lpc32xx_defconfig ia64 bigsur_defconfig arcnsimosci_defconfig arm alldefconfig h8300 h8s-sim_defconfig openrisc alldefconfig m68k atari_defconfig m68k sun3x_defconfig arm ezx_defconfig powerpc tqm5200_defconfig powerpc sequoia_defconfig armhisi_defconfig riscvallmodconfig armshmobile_defconfig arcvdk_hs38_smp_defconfig csky alldefconfig riscv nommu_k210_sdcard_defconfig arm davinci_all_defconfig powerpcamigaone_defconfig powerpc g5_defconfig m68km5272c3_defconfig sh sh7770_generic_defconfig mips rb532_defconfig mips rbtx49xx_defconfig powerpc ppc44x_defconfig arm randconfig-c002-20211228 arm randconfig-c002-20211229 ia64 allmodconfig ia64