lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 1 Sep 2022 15:53:32 +0200
From:   Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:     Alan Stern <stern@...land.harvard.edu>
Cc:     linux-usb@...r.kernel.org, kernel test robot <lkp@...el.com>,
        Ard Biesheuvel <ardb@...nel.org>,
        Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
        Alim Akhtar <alim.akhtar@...sung.com>,
        Rob Herring <robh@...nel.org>,
        linux-arm-kernel@...ts.infradead.org,
        linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] USB: hcd: remove unused hcd_name variables

On Wed, Aug 31, 2022 at 10:21:36AM -0400, Alan Stern wrote:
> On Wed, Aug 31, 2022 at 09:30:32AM +0200, Greg Kroah-Hartman wrote:
> > In the commit 10174220f55a ("usb: reduce kernel log spam on driver
> > registration") a lot of unneeded kernel log messages were removed, but
> > that caused a few build warnings to show up where the variable
> > `hcd_name` was being set but never used anymore.
> > 
> > Resolve this by just removing these variables as they are not needed
> > anymore
> > 
> > Reported-by: kernel test robot <lkp@...el.com>
> > Cc: Ard Biesheuvel <ardb@...nel.org>
> > Cc: Alan Stern <stern@...land.harvard.edu>
> > Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> > Cc: Alim Akhtar <alim.akhtar@...sung.com>
> > Cc: Rob Herring <robh@...nel.org>
> > Cc: linux-usb@...r.kernel.org
> > Cc: linux-arm-kernel@...ts.infradead.org
> > Cc: linux-samsung-soc@...r.kernel.org
> > Cc: linux-kernel@...r.kernel.org
> > Fixes: 10174220f55a ("usb: reduce kernel log spam on driver registration")
> > Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> > ---
> >  drivers/usb/host/ehci-exynos.c   | 1 -
> >  drivers/usb/host/ehci-platform.c | 2 --
> >  drivers/usb/host/ohci-platform.c | 2 --
> >  3 files changed, 5 deletions(-)
> 
> This isn't enough, as you can see from this kernel test robot excerpt:
> 
> clang_recent_errors
> |-- arm-s5pv210_defconfig
> |   |-- drivers-usb-host-ehci-exynos.c:warning:unused-variable-hcd_name
> |   `-- drivers-usb-host-ohci-exynos.c:warning:unused-variable-hcd_name
> |-- hexagon-randconfig-r024-20220830
> |   |-- drivers-usb-host-ehci-atmel.c:warning:unused-variable-hcd_name
> |   |-- drivers-usb-host-ehci-exynos.c:warning:unused-variable-hcd_name
> |   |-- drivers-usb-host-ehci-orion.c:warning:unused-variable-hcd_name
> |   |-- 
> drivers-usb-host-ehci-platform.c:warning:unused-variable-hcd_name
> |   |-- drivers-usb-host-ehci-spear.c:warning:unused-variable-hcd_name
> |   `-- 
> drivers-usb-host-ohci-platform.c:warning:unused-variable-hcd_name
> |-- hexagon-randconfig-r036-20220830
> |   |-- drivers-usb-host-ehci-atmel.c:warning:unused-variable-hcd_name
> |   |-- drivers-usb-host-ehci-npcm7xx.c:warning:unused-variable-hcd_name
> |   |-- 
> drivers-usb-host-ehci-platform.c:warning:unused-variable-hcd_name
> |   |-- drivers-usb-host-ehci-st.c:warning:unused-variable-hcd_name
> |   |-- drivers-usb-host-ohci-at91.c:warning:unused-variable-hcd_name
> |   |-- 
> drivers-usb-host-ohci-platform.c:warning:unused-variable-hcd_name
> |   |-- drivers-usb-host-ohci-s3c2410.c:warning:unused-variable-hcd_name
> |   |-- drivers-usb-host-ohci-spear.c:warning:unused-variable-hcd_name
> |   `-- drivers-usb-host-ohci-st.c:warning:unused-variable-hcd_name
> 
> Yes, it has duplicates and your patch handles some of these.  But there 
> are others that still need to be fixed.  Also, this list is missing 
> ohci-pxa27x.c.

Ick, ok, I went off of a different kbuild report.  Let me fix this up
later today...

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ