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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130521184046.GA7827@kroah.com>
Date:	Tue, 21 May 2013 11:40:46 -0700
From:	Greg KH <gregkh@...uxfoundation.org>
To:	Libo Chen <libo.chen@...wei.com>
Cc:	davem@...emloft.net, samuel@...tiz.org, stern@...land.harvard.edu,
	khc@...waw.pl, akpm@...ux-foundation.org, balbi@...com,
	sarah.a.sharp@...ux.intel.com, alexander.shishkin@...ux.intel.com,
	brudley@...adcom.com, thomas.petazzoni@...e-electrons.com,
	linux-usb@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org, lizefan@...wei.com
Subject: Re: [PATCH 00/19] driver:usb&net: add missing platform_driver owner

On Tue, May 21, 2013 at 10:42:00AM +0800, Libo Chen wrote:
> I find a lot of mistakes using struct platform_driver without owner.
> So I pick up some of them including usb and net modules

Like others said, make the function call a macro that sets the module
owner in it, like all of the other major subsystem registration calls do
(usb_drivers, pci_drivers, etc.)

thanks,

greg k-h
--
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