All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: "Hans J. Koch" <hjk@hansjkoch.de>
Cc: Daniel Trautmann <dtrautmann@ibhsoftec-sps.de>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Manuel Traut <manut@linutronix.de>
Subject: Re: [PATCH] uio_netx: Add support for netPLC cards
Date: Fri, 18 Mar 2011 17:23:35 -0700	[thread overview]
Message-ID: <20110319002335.GC14249@suse.de> (raw)
In-Reply-To: <20110319001210.GC2761@local>

On Sat, Mar 19, 2011 at 01:12:11AM +0100, Hans J. Koch wrote:
> On Thu, Mar 17, 2011 at 11:40:59AM +0000, Daniel Trautmann wrote:
> > This patch adds support for Hilscher / IBHsoftec netPLC cards to uio_netx userspace IO driver.
> > 
> > Signed-off-by: Daniel Trautmann <dtrautmann@ibhsoftec-sps.de>
> > ---
> >  drivers/uio/uio_netx.c |   19 +++++++++++++++++++
> >  1 files changed, 19 insertions(+), 0 deletions(-)
> 
> Against what kernel is that supposed to apply? It doesn't apply against
> Linus' current tree here.
> 
> And, please, run your patch through scripts/checkpatch.pl before posting it.
> 
> I get:
> -----------------------
> total: 15 errors, 16 warnings, 37 lines checked
> 
> NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or
>       scripts/cleanfile
> -----------------------
> I find 15 errors in 19 insertions a bit too much. Most of it is whitespace,
> so it might be a problem with your mail client. Please check.
> 
> > 
> > diff --git a/drivers/uio/uio_netx.c b/drivers/uio/uio_netx.c
> > index 5ffdb48..7921190 100644
> > --- a/drivers/uio/uio_netx.c
> > +++ b/drivers/uio/uio_netx.c
> > @@ -18,6 +18,9 @@
> >  
> >  #define PCI_VENDOR_ID_HILSCHER         0x15CF
> >  #define PCI_DEVICE_ID_HILSCHER_NETX    0x0000
> > +#define PCI_DEVICE_ID_HILSCHER_NETPLC  0x0010
> 
> Hmpf, yes... The three defines above should go to include/linux/pci_ids.h

No, read the top of that file please.  They belong here.

> I should have done that from the beginning, could you fix it now?

Please don't.

thanks,

greg k-h

  reply	other threads:[~2011-03-19  0:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-17 11:40 [PATCH] uio_netx: Add support for netPLC cards Daniel Trautmann
2011-03-19  0:12 ` Hans J. Koch
2011-03-19  0:23   ` Greg KH [this message]
2011-03-19  2:02     ` Hans J. Koch

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=20110319002335.GC14249@suse.de \
    --to=gregkh@suse.de \
    --cc=dtrautmann@ibhsoftec-sps.de \
    --cc=hjk@hansjkoch.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manut@linutronix.de \
    /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.