[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230517134916.717bdcc4ba26e10462157ee9@linux-foundation.org>
Date: Wed, 17 May 2023 13:49:16 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Nick Terrell <terrelln@...com>, linux-mm@...ck.org,
Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] decompressor: provide missing prototypes
On Wed, 17 May 2023 15:19:31 +0200 Arnd Bergmann <arnd@...nel.org> wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> The entry points for the decompressor don't always have a prototype
> included in the .c file:
>
> lib/decompress_inflate.c:42:17: error: no previous prototype for '__gunzip' [-Werror=missing-prototypes]
> lib/decompress_unxz.c:251:17: error: no previous prototype for 'unxz' [-Werror=missing-prototypes]
> lib/decompress_unzstd.c:331:17: error: no previous prototype for 'unzstd' [-Werror=missing-prototypes]
>
> include the correct headers for unxz and unzstd, and mark the
> inflate function above as unconditionally 'static' to avoid
> these warnings.
These are errors, not warnings?
Under what circumstances do they occur?
Shouldn't we cc:stable? If so, do we have a suitable Fixes: target?
Powered by blists - more mailing lists