lkml.org 
[lkml]   [2023]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH net-next 7/9] firmware_loader: Expand Firmware upload error codes
    On Thu, Nov 16, 2023 at 03:01:39PM +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
    >
    > Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
    > ---
    > drivers/base/firmware_loader/sysfs_upload.c | 1 +
    > include/linux/firmware.h | 2 ++
    > 2 files changed, 3 insertions(+)

    Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    \
     
     \ /
      Last update: 2023-11-20 14:01    [W:5.229 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site