All of lore.kernel.org
 help / color / mirror / Atom feed
From: gregkh@linuxfoundation.org (Greg KH)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/19] driver:usb&net: add missing platform_driver owner
Date: Tue, 21 May 2013 11:40:46 -0700	[thread overview]
Message-ID: <20130521184046.GA7827@kroah.com> (raw)
In-Reply-To: <1369104120-35552-1-git-send-email-libo.chen@huawei.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Greg KH <gregkh@linuxfoundation.org>
To: Libo Chen <libo.chen@huawei.com>
Cc: davem@davemloft.net, samuel@sortiz.org,
	stern@rowland.harvard.edu, khc@pm.waw.pl,
	akpm@linux-foundation.org, balbi@ti.com,
	sarah.a.sharp@linux.intel.com,
	alexander.shishkin@linux.intel.com, brudley@broadcom.com,
	thomas.petazzoni@free-electrons.com, linux-usb@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, lizefan@huawei.com
Subject: Re: [PATCH 00/19] driver:usb&net: add missing platform_driver owner
Date: Tue, 21 May 2013 11:40:46 -0700	[thread overview]
Message-ID: <20130521184046.GA7827@kroah.com> (raw)
In-Reply-To: <1369104120-35552-1-git-send-email-libo.chen@huawei.com>

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

  parent reply	other threads:[~2013-05-21 18:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-21  2:42 [PATCH 00/19] driver:usb&net: add missing platform_driver owner Libo Chen
2013-05-21  2:42 ` Libo Chen
2013-05-21  6:26 ` David Miller
2013-05-21  6:26   ` David Miller
2013-05-21  6:41   ` Thomas Petazzoni
2013-05-21  6:41     ` Thomas Petazzoni
2013-05-21  7:13     ` David Miller
2013-05-21  7:13       ` David Miller
2013-05-21  8:00     ` Gu Zheng
2013-05-21  8:00       ` Gu Zheng
2013-05-21  8:26       ` Libo Chen
2013-05-21  8:26         ` Libo Chen
2013-05-21  8:50         ` Gu Zheng
2013-05-21  8:50           ` Gu Zheng
2013-05-21  9:06       ` Thomas Petazzoni
2013-05-21  9:06         ` Thomas Petazzoni
2013-05-21  9:42         ` Libo Chen
2013-05-21  9:42           ` Libo Chen
2013-05-22  1:30           ` Gu Zheng
2013-05-22  1:30             ` Gu Zheng
2013-05-21 18:40 ` Greg KH [this message]
2013-05-21 18:40   ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130521184046.GA7827@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.