From: Eli Billauer <eli.billauer@gmail.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: arnd@arndb.de, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [PATCH v5 2/2] char: xillybus: Add driver for XillyUSB (Xillybus variant for USB)
Date: Fri, 28 May 2021 12:08:42 +0300 [thread overview]
Message-ID: <60B0B31A.7070301@gmail.com> (raw)
In-Reply-To: <YK+Mlw0Tn7eGFPI2@kroah.com>
On 27/05/21 15:12, Greg KH wrote:
>> diff --git a/drivers/char/xillybus/Makefile b/drivers/char/xillybus/Makefile
>> > index 591615264591..16f31d03209d 100644
>> > --- a/drivers/char/xillybus/Makefile
>> > +++ b/drivers/char/xillybus/Makefile
>> > @@ -7,3 +7,4 @@ obj-$(CONFIG_XILLYBUS_CLASS) += xillybus_class.o
>> > obj-$(CONFIG_XILLYBUS) += xillybus_core.o
>> > obj-$(CONFIG_XILLYBUS_PCIE) += xillybus_pcie.o
>> > obj-$(CONFIG_XILLYBUS_OF) += xillybus_of.o
>> > +obj-$(CONFIG_XILLYUSB) += xillyusb.o
>>
> This doesn't quite work.
>
> Even if I have not selected CONFIG_XILLYBUS I get asked aboug
> CONFIG_XILLYUSB.
The symbol tree is:
XILLYBUS_CLASS --+-- XILLYBUS --+-- XILLYBUS_PCIE
| |
| +-- XILLYBUS_OF
|
+-- XILLYUSB
Hence not selecting CONFIG_XILLYBUS doesn't eliminate CONFIG_XILLYUSB.
The behavior you described is correct: CONFIG_XILLYUSB doesn't depend on
CONFIG_XILLYBUS.
> And if I say 'm' to CONFIG_XILLYUSB, nothing gets
> built.
>
>
Sorry, my bad. The directory is currently invoked based upon
CONFIG_XILLYBUS, which was correct before, but now it should be
CONFIG_XILLYBUS_CLASS. I'll submit a patch fixing that promptly.
Plus another patch removing MODULE_VERSION() from all C files, per your
earlier comment.
Thanks and regards,
Eli
prev parent reply other threads:[~2021-05-28 9:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-26 10:03 [PATCH v5 0/2] Submission of XillyUSB driver eli.billauer
2021-05-26 10:03 ` [PATCH v5 1/2] char: xillybus: Move class-related functions to new xillybus_class.c eli.billauer
2021-05-26 10:03 ` [PATCH v5 2/2] char: xillybus: Add driver for XillyUSB (Xillybus variant for USB) eli.billauer
2021-05-27 12:00 ` Greg KH
2021-05-27 12:12 ` Greg KH
2021-05-28 9:08 ` Eli Billauer [this message]
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=60B0B31A.7070301@gmail.com \
--to=eli.billauer@gmail.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@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;
as well as URLs for NNTP newsgroup(s).