All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Frank Haverkamp <haver@linux.vnet.ibm.com>
Cc: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 4/4] GenWQE: Increase driver version number
Date: Thu, 5 Jun 2014 09:00:10 -0700	[thread overview]
Message-ID: <20140605160010.GF23993@kroah.com> (raw)
In-Reply-To: <1401960184.11932.10.camel@oc7383187364.ibm.com>

On Thu, Jun 05, 2014 at 11:23:04AM +0200, Frank Haverkamp wrote:
> Hi Greg,
> 
> Am Mittwoch, den 04.06.2014, 08:54 -0700 schrieb Greg KH:
> > On Wed, Jun 04, 2014 at 10:57:53AM -0300, Kleber Sacilotto de Souza wrote:
> > > Increase genwqe driver version number.
> > > 
> > > Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
> > > ---
> > >  drivers/misc/genwqe/genwqe_driver.h |    2 +-
> > >  1 files changed, 1 insertions(+), 1 deletions(-)
> > > 
> > > diff --git a/drivers/misc/genwqe/genwqe_driver.h b/drivers/misc/genwqe/genwqe_driver.h
> > > index cd52631..a506e9a 100644
> > > --- a/drivers/misc/genwqe/genwqe_driver.h
> > > +++ b/drivers/misc/genwqe/genwqe_driver.h
> > > @@ -36,7 +36,7 @@
> > >  #include <asm/byteorder.h>
> > >  #include <linux/genwqe/genwqe_card.h>
> > >  
> > > -#define DRV_VERS_STRING		"2.0.15"
> > > +#define DRV_VERS_STRING		"2.0.21"
> > 
> > Why is this even needed?  Can't you go off of the kernel version number
> > now?  Who needs / wants this number?
> 
> I am aware that if just considering the mainline kernels, we could use
> the kernel version itself for the purpose of identifying which code we
> are running.

Which is what you are patching here :)

> But in our lab we are running multiple back-ported versions of this
> driver on different Linux distributions using different kernel versions.

Then deal with that in the backported code, the upstream kernel doesn't
care about this.

> Our user-space software needs to know if the driver has or has not
> bug-fixes or features. For this purpose, we are using this extra number.

Why would you rely on a version number for this, shouldn't you be able
to tell with your api what features are present?

thanks,

greg k-h

  reply	other threads:[~2014-06-05 15:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-04 13:57 [PATCH 0/4] GenWQE: patches to improve RAS features Kleber Sacilotto de Souza
2014-06-04 13:57 ` [PATCH 1/4] GenWQE: Add sysfs interface for bitstream reload Kleber Sacilotto de Souza
2014-06-04 14:05   ` Frank Haverkamp
2014-06-04 13:57 ` [PATCH 2/4] GenWQE: Add support for EEH error recovery Kleber Sacilotto de Souza
2014-06-04 14:06   ` Frank Haverkamp
2014-06-04 13:57 ` [PATCH 3/4] GenWQE: Improve hardware " Kleber Sacilotto de Souza
2014-06-04 14:06   ` Frank Haverkamp
2014-06-04 13:57 ` [PATCH 4/4] GenWQE: Increase driver version number Kleber Sacilotto de Souza
2014-06-04 14:06   ` Frank Haverkamp
2014-06-04 15:54   ` Greg KH
2014-06-05  9:23     ` Frank Haverkamp
2014-06-05 16:00       ` Greg KH [this message]
2014-06-06 12:07         ` Frank Haverkamp
2014-06-06 12:40           ` Frank Haverkamp
2014-07-09 21:13             ` 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=20140605160010.GF23993@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=haver@linux.vnet.ibm.com \
    --cc=klebers@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.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.