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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 27 Nov 2012 08:39:57 -0500
From:	wfp5p@...idian.itc.virginia.edu (Bill Pemberton)
To:	gregkh@...uxfoundation.org
Cc:	arnd@...db.de (Arnd Bergmann),
	linux-kernel@...r.kernel.org (linux-kernel@...r.kernel.org)
Subject: Re: new warnings from partial __devexit removal

gregkh@...uxfoundation.org writes:
> 
> On Mon, Nov 26, 2012 at 08:38:32PM +0000, Arnd Bergmann wrote:
> > This is probably known and fixed already, but in case it's not, let me just
> > mention that I saw two new warnings with ARM allyesconfig about a
> > __devexit being removed but the __devexit_p() still being there:
> > 
> > drivers/tty/serial/xilinx_uartps.c:1000:12: error: 'xuartps_remove' defined but not used [-Werror=unused-function]
> > drivers/usb/gadget/mv_udc_core.c:2131:12: error: 'mv_udc_remove' defined but not used [-Werror=unused-function]
> 
> What platform has -Werror=unused-function set?
> 
> Bill, care to send follow-on patches to resolve these warnings?
> 

I don't understand how my changes would causing the warning.  Both
functions are put in the platform_driver struct using __exit_p, not
__devexit_p.  It seems like you should get the warning with or without
my changes as long as MODULE is not defined.

-- 
Bill


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ