From: Greg KH <gregkh@linuxfoundation.org>
To: Jerry Hoemann <jerry.hoemann@hpe.com>
Cc: Matt Hsiao <matt.hsiao@hpe.com>,
linux-kernel@vger.kernel.org, arnd@arndb.de,
david.altobelli@hpe.com, mark.rusk@hpe.com
Subject: Re: [PATCH 4/4] misc: hpilo: Update driver version
Date: Fri, 22 Feb 2019 07:49:28 +0100 [thread overview]
Message-ID: <20190222064928.GA15860@kroah.com> (raw)
In-Reply-To: <20190222041111.GB31132@anatevka>
On Thu, Feb 21, 2019 at 09:11:11PM -0700, Jerry Hoemann wrote:
> On Thu, Feb 21, 2019 at 09:32:56AM +0100, Greg KH wrote:
> ...
> > >
> > > -MODULE_VERSION("1.5.0");
> > > +MODULE_VERSION("1.5.1");
> >
> > This line means nothing, it should just be removed entirely. The
> > "version" of the driver is the kernel version itself.
>
> Hi Greg,
>
> This doesn't hold when we do driver updates.
That doesn't matter to the in-kernel code.
> Our primary means of supporting Linux to our customers is via our
> distro partners. While we prefer to use in distro drivers, HPE does
> from time to time deliver driver updates via the "Service Pack for
> Proliants" -- The SPP.
That's fine, but again, does not matter to the in-kernel driver at all.
> An SPP driver update can supply an updated module without modifying
> the underlying base kernel version. Because of this, the underlying
> kernel version number doesn't always imply the version of a module
> being used.
>
> Even when we use only in kernel drivers, we also have the case where
> our distro partners will back port newer driver versions to an older
> distro release. This gives the situation where an older kernel
> version can have a newer module than a newer kernel version for
> that distro.
>
> We have found that having module version bumped when modifying the
> driver helps us identify the version module actually being used.
What happens when your driver gets backports in stable kernel updates
and those updates get merged into distro kernels? You now have a
version that means something you do not think it means.
I understand that in your viewpoint, your driver's version means
something. But in reality, it's only the kernel's version that means
something because your driver is just part of the overall kernel, it
does not stand alone.
Your driver is simple enough that the version number doesn't really
change often and the code doesn't either, so you haven't hit these
issues yet, but for others that have tried to manage a "which version is
this driver" when dealing with backports, stable kernels, out-of-tree
drivers, and the like, it really is meaningless.
For this reason, this macro has been removed from many subsystems
already, I forgot about "misc", I might as well sweep it and do it
there too.
If you have an out-of-tree version that you provide to distros, you are
of course free to have the "version" in there if you like, but again,
for the in-kernel version of this code, it does not matter at all.
thanks,
greg k-h
next prev parent reply other threads:[~2019-02-22 6:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-21 8:04 [PATCH 0/4] misc: hpilo: Do not claim on unsupported hardware Matt Hsiao
2019-02-21 8:04 ` [PATCH 1/4] misc: hpilo: Be more specific when ignoring the aux iLO Matt Hsiao
2019-02-21 8:04 ` [PATCH 2/4] misc: hpilo: Exclude unsupported device via blacklist Matt Hsiao
2019-02-21 8:33 ` Greg KH
2019-02-22 4:35 ` Jerry Hoemann
2019-02-22 6:50 ` Greg KH
2019-02-21 8:04 ` [PATCH 3/4] misc: hpilo: Do not claim unsupported hardware Matt Hsiao
2019-02-21 8:35 ` Greg KH
2019-02-22 3:59 ` Jerry Hoemann
2019-02-21 8:04 ` [PATCH 4/4] misc: hpilo: Update driver version Matt Hsiao
2019-02-21 8:32 ` Greg KH
2019-02-22 4:11 ` Jerry Hoemann
2019-02-22 6:49 ` Greg KH [this message]
2019-02-25 8:28 ` Jerry Hoemann
2019-02-25 21:44 ` 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=20190222064928.GA15860@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=arnd@arndb.de \
--cc=david.altobelli@hpe.com \
--cc=jerry.hoemann@hpe.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rusk@hpe.com \
--cc=matt.hsiao@hpe.com \
/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