Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/flashrom: disable -Werror
Date: Sat, 20 Jul 2024 23:12:29 +0200	[thread overview]
Message-ID: <20240720231229.19eae67b@windsurf> (raw)
In-Reply-To: <20240720144831.1085523-1-fontaine.fabrice@gmail.com>

On Sat, 20 Jul 2024 16:48:31 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Disable -Werror to avoid the following build failure raised since switch
> to meson-package in commit 37dded43ae681e8319d7b76f9a612c71991467a9:
> 
> ../stlinkv3_spi.c: In function 'stlinkv3_spi_init':
> ../stlinkv3_spi.c:508:12: error: 'stlinkv3_handle' may be used uninitialized [-Werror=maybe-uninitialized]
>   508 |         if (!stlinkv3_handle) {
>       |            ^
> ../stlinkv3_spi.c:485:31: note: 'stlinkv3_handle' was declared here
>   485 |         libusb_device_handle *stlinkv3_handle;
>       |                               ^~~~~~~~~~~~~~~
> 
> Fixes: 37dded43ae681e8319d7b76f9a612c71991467a9
>  - http://autobuild.buildroot.org/results/eecabbdd0d21344991379a57e605845e73ef679e
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/flashrom/flashrom.mk | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-07-20 21:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-20 14:48 [Buildroot] [PATCH 1/1] package/flashrom: disable -Werror Fabrice Fontaine
2024-07-20 21:12 ` Thomas Petazzoni via buildroot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-30 13:10 Fabrice Fontaine
2023-11-04 13:35 ` Thomas Petazzoni via buildroot

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=20240720231229.19eae67b@windsurf \
    --to=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=thomas.petazzoni@bootlin.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