From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: "Jonathan Cameron" <jic23@kernel.org>,
linux-iio@vger.kernel.org,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>
Subject: Re: [PATCH 2/2] iio: dummy: Drop unused export.h include.
Date: Mon, 9 Jun 2025 10:39:05 +0100 [thread overview]
Message-ID: <20250609103905.00004bee@huawei.com> (raw)
In-Reply-To: <CAHp75Vdovs=REuauj_zU3V_aw+zUjWY-pKV5sEuayJb9By1JkQ@mail.gmail.com>
On Mon, 9 Jun 2025 12:27:33 +0300
Andy Shevchenko <andy.shevchenko@gmail.com> wrote:
> On Mon, Jun 9, 2025 at 10:06 AM Jonathan Cameron <jic23@kernel.org> wrote:
> >
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> >
> > Resolves:
> > warning: EXPORT_SYMBOL() is not used, but #include <linux/export.h> is present
>
> While this true...
>
> > #include <linux/kernel.h>
>
> ...I prefer a full and not half-baked solution, i.e. revisiting all
> headers and esp. replacing kernel.h with what is used.
>
> > -#include <linux/export.h>
> > #include <linux/slab.h>
> > #include <linux/interrupt.h>
> > #include <linux/irq.h>
>
> While doing that, the headers may be sorted (in the same or preparatory patch).
>
Whilst I agree that more work is need, I also don't like the time it might
take to get to it and the warnings that might mean more significant issues get
missed in the wash in the meantime.
Jonathan
next prev parent reply other threads:[~2025-06-09 9:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-09 7:06 [PATCH 0/2] IIO: Drop some unneeded export.h includes Jonathan Cameron
2025-06-09 7:06 ` [PATCH 1/2] iio: potentiometer: Drop unused " Jonathan Cameron
2025-06-09 9:28 ` Andy Shevchenko
2025-06-11 16:32 ` Jonathan Cameron
2025-06-09 7:06 ` [PATCH 2/2] iio: dummy: Drop unused export.h include Jonathan Cameron
2025-06-09 9:27 ` Andy Shevchenko
2025-06-09 9:39 ` Jonathan Cameron [this message]
2025-06-11 16:32 ` Jonathan Cameron
2025-06-11 17:48 ` Andy Shevchenko
2025-06-09 7:18 ` [PATCH 0/2] IIO: Drop some unneeded export.h includes Nuno Sá
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=20250609103905.00004bee@huawei.com \
--to=jonathan.cameron@huawei.com \
--cc=andy.shevchenko@gmail.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=nuno.sa@analog.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 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.