From: Peter Korsgaard <peter@korsgaard.com>
To: Giulio Benetti <giulio.benetti@benettiengineering.com>
Cc: Kris Bahnsen <kris@embeddedTS.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/wilc-driver: fix build failure with Linux 6.3+
Date: Sat, 30 Sep 2023 09:35:59 +0200 [thread overview]
Message-ID: <874jjccduo.fsf@48ers.dk> (raw)
In-Reply-To: <20230927092847.503224-1-giulio.benetti@benettiengineering.com> (Giulio Benetti's message of "Wed, 27 Sep 2023 11:28:47 +0200")
>>>>> "Giulio" == Giulio Benetti <giulio.benetti@benettiengineering.com> writes:
> Add local patches pending upstream to fix build failure on Linux 6.3+
> Fixes:
> http://autobuild.buildroot.net/results/3b954399aa3ffab9609da1fc381f38f28bd8eb9f
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
> .../wilc-driver/0006-Support-Linux-6.3.patch | 48 +++++++++++++++++++
> .../wilc-driver/0007-Support-Linux-6.4.patch | 36 ++++++++++++++
> 2 files changed, 84 insertions(+)
> create mode 100644 package/wilc-driver/0006-Support-Linux-6.3.patch
> create mode 100644 package/wilc-driver/0007-Support-Linux-6.4.patch
> diff --git a/package/wilc-driver/0006-Support-Linux-6.3.patch b/package/wilc-driver/0006-Support-Linux-6.3.patch
> new file mode 100644
> index 0000000000..58239b5dc9
> --- /dev/null
> +++ b/package/wilc-driver/0006-Support-Linux-6.3.patch
> @@ -0,0 +1,48 @@
> +From 1b6e5e4acfcca58094fb4bb6e2bfc0461c5b411d Mon Sep 17 00:00:00 2001
> +From: Giulio Benetti <giulio.benetti@benettiengineering.com>
> +Date: Wed, 27 Sep 2023 10:54:18 +0200
> +Subject: [PATCH] Support Linux 6.3
> +
> +With Linux 6.3 commit:
> +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=40fc56ee608cdb20022c225ac6f1e4b7ba63f8f1
> +function of_get_named_gpio_flags() has been dropped but it was only a
> +wrapper to call of_get_named_gpio() if the flags passed was NULL and this
> +is the case. So let's use of_get_named_gpio() in place of
> +of_get_named_gpio_flags() if Linux version >= 6.3
So if of_get_named_gpio() is equivalent to of_get_named_gpio_flags(..,
NULL), why don't we unconditionally use that instead of the version
check?
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-09-30 7:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-27 9:28 [Buildroot] [PATCH] package/wilc-driver: fix build failure with Linux 6.3+ Giulio Benetti
2023-09-27 22:35 ` Kris Bahnsen via buildroot
2023-09-30 7:35 ` Peter Korsgaard [this message]
2023-09-30 20:28 ` Giulio Benetti
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=874jjccduo.fsf@48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@buildroot.org \
--cc=giulio.benetti@benettiengineering.com \
--cc=kris@embeddedTS.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