mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Niklas Schnelle <schnelle@linux.ibm.com>
To: Ian Abbott <abbotti@mev.co.uk>, Arnd Bergmann <arnd@kernel.org>,
	linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Hartley Sweeten <hsweeten@visionengravers.com>,
	stable@vger.kernel.org
Subject: Re: [PATCH] comedi: Fix driver module dependencies since HAS_IOPORT changes
Date: Mon, 04 Sep 2023 13:23:36 +0200	[thread overview]
Message-ID: <65d620b2644e2d60b041815fa4bb544a818ae55a.camel@linux.ibm.com> (raw)
In-Reply-To: <f0e88ae3-d38e-40d1-900c-395ddc9c8231@mev.co.uk>

On Mon, 2023-09-04 at 11:10 +0100, Ian Abbott wrote:
> On 03/09/2023 16:49, Arnd Bergmann wrote:
> > On Fri, Sep 1, 2023, at 15:26, Ian Abbott wrote:
> > > Commit b5c75b68b7de ("comedi: add HAS_IOPORT dependencies") changed the
> > > "select" directives to "depend on" directives for several config
> > > stanzas, but the options they depended on could not be selected,
> > > breaking previously selected options.
> > 
---8<---
> > > @@ -735,8 +738,8 @@ config COMEDI_ADL_PCI9111
> > > 
> > >   config COMEDI_ADL_PCI9118
> > >   	tristate "ADLink PCI-9118DG, PCI-9118HG, PCI-9118HR support"
> > > +	depends on HAS_IOPORT
> > >   	depends on HAS_DMA
> > > -	depends on COMEDI_8254
> > >   	help
> > >   	  Enable support for ADlink PCI-9118DG, PCI-9118HG, PCI-9118HR cards
> > 
> > I don't see why you'd remove the 'depends on COMEDI_8254' here
> > rather than turning it back into 'select' as it was originally.
> 
> Oops!  That's an error on my part.  Thanks for catching it!
> 
> > 
> > It might be easier to revert the original patch, and then follow
> > up with a fixed version.
> 
> Will any random config builds break in 6.5 stable if the original patch 
> is reverted, or is the 'HAS_IOPORT' stuff still in preparation for 
> future use?
> 

The patch that finally compile-time disables I/O port accesses as well
as a few others are still not merged. I was away for a few weeks and
also still have a few todos. I also and found a few things needed for
new changes. So no a revert will not break compiles or anything like
that.

Thanks,
Niklas


  reply	other threads:[~2023-09-04 11:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-01 19:26 Ian Abbott
2023-09-03 15:49 ` Arnd Bergmann
2023-09-04 10:10   ` Ian Abbott
2023-09-04 11:23     ` Niklas Schnelle [this message]
2023-09-04 12:01       ` Ian Abbott
2023-09-04 12:22         ` Ian Abbott
2023-09-04 13:34         ` Arnd Bergmann
2023-10-10  0:01           ` Maciej W. Rozycki
2023-09-04 13:30     ` Arnd Bergmann
2023-09-04 13:48 ` Ian Abbott

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=65d620b2644e2d60b041815fa4bb544a818ae55a.camel@linux.ibm.com \
    --to=schnelle@linux.ibm.com \
    --cc=abbotti@mev.co.uk \
    --cc=arnd@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hsweeten@visionengravers.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®