lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 24 Nov 2023 16:48:34 +0000
From:   Simon Horman <>
To:     Kory Maincent <>
Cc:     Jakub Kicinski <>,
        Luis Chamberlain <>,
        Russ Weight <>,
        Greg Kroah-Hartman <>,
        "Rafael J. Wysocki" <>,
        Thomas Petazzoni <>,, Conor Dooley <>,
        Andrew Lunn <>,
Subject: Re: [PATCH net-next v3] firmware_loader: Expand Firmware upload
 error codes with firmware invalid error

On Wed, Nov 22, 2023 at 02:52:43PM +0100, Kory Maincent wrote:
> No error code are available to signal an invalid firmware content.
> Drivers that can check the firmware content validity can not return this
> specific failure to the user-space
> Expand the firmware error code with an additional code:
> - "firmware invalid" code which can be used when the provided firmware
>   is invalid
> Sync lib/test_firmware.c file accordingly.
> Acked-by: Luis Chamberlain <>
> Acked-by: Greg Kroah-Hartman <>
> Signed-off-by: Kory Maincent <>
> ---
> Changes in v3:
> - Add the newly introduced error code to test_firmware.c

I verified that the error obvserved in v2 when compiling the above
file with clang-16 has been resolved.


Reviewed-by: Simon Horman <>


Powered by blists - more mailing lists