From: Greg KH <greg@kroah.com>
To: Michal Nazarewicz <mina86@mina86.com>
Cc: Alan Stern <stern@rowland.harvard.edu>,
Greg Kroah-Hartman <gregkh@suse.de>,
Sergey Senozhatsky <sergey.senozhatsky@gmail.com>,
Chris Wright <chrisw@sous-sol.org>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCHv3] usb: core: Change usb_create_sysfs_intf_files()' return type to void
Date: Wed, 13 Apr 2011 16:23:15 -0700 [thread overview]
Message-ID: <20110413232315.GA9949@kroah.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1103251302410.2047-100000@iolanthe.rowland.org>
On Fri, Mar 25, 2011 at 01:03:12PM -0400, Alan Stern wrote:
> On Fri, 25 Mar 2011, Michal Nazarewicz wrote:
>
> > The usb_create_sysfs_intf_files() function always returned zero even
> > if it failed to create sysfs fails. Since this is a desired behaviour
> > there is no need to return return code at all. This commit changes
> > function's return type (form int) to void.
> >
> > Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
> > Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
> > ---
> > drivers/usb/core/sysfs.c | 13 +++++--------
> > drivers/usb/core/usb.c | 3 +--
> > drivers/usb/core/usb.h | 2 +-
> > 3 files changed, 7 insertions(+), 11 deletions(-)
> >
> > On Fri, 25 Mar 2011 16:33:12 +0100, Alan Stern <stern@rowland.harvard.edu> wrote:
> > > My style preference is to put the empty statement before the comment.
> > > It's unusual to have a comment appearing before a statement on the same
> > > line. For example:
> > > ; /* We don't care if the function fails */
> >
> > Changed. And I agree, it looks better now. :)
>
> Acked-by: Alan Stern <stern@rowland.harvard.edu>
I can't find this version of the patch in my email archive anywhere.
Michal, can you resend it so I can apply it?
thanks,
greg k-h
next prev parent reply other threads:[~2011-04-13 23:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 15:13 [PATCH] " Michal Nazarewicz
2011-03-24 15:52 ` Alan Stern
2011-03-24 16:02 ` Michal Nazarewicz
2011-03-25 11:22 ` [PATCHv2] " Michal Nazarewicz
2011-03-25 15:33 ` Alan Stern
2011-03-25 17:03 ` [PATCHv3] " Alan Stern
2011-04-13 23:23 ` Greg KH [this message]
2011-04-14 15:47 ` Michal Nazarewicz
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=20110413232315.GA9949@kroah.com \
--to=greg@kroah.com \
--cc=chrisw@sous-sol.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mina86@mina86.com \
--cc=sergey.senozhatsky@gmail.com \
--cc=stern@rowland.harvard.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome