✓ CI.checkpatch: success for drm/xe: xe_gen_wa_oob: replace program_invocation_short_name

Patchwork patchwork at emeril.freedesktop.org
Thu Sep 26 12:35:15 UTC 2024


== Series Details ==

Series: drm/xe: xe_gen_wa_oob: replace program_invocation_short_name
URL   : https://patchwork.freedesktop.org/series/139088/
State : success

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit f2cf15734a356e4cebe80839f535d5dd723f66d4
Author: Daniel Gomez <da.gomez at samsung.com>
Date:   Wed Sep 25 12:49:00 2024 +0200

    drm/xe: xe_gen_wa_oob: replace program_invocation_short_name
    
    program_invocation_short_name() may not be available in other systems.
    Instead, replace it with the argv[0] to pass the executable name and
    make it portable.
    
    Fixes build error when program_invocation_short_name is not available:
    
    drivers/gpu/drm/xe/xe_gen_wa_oob.c:34:3: error: use of
    undeclared identifier 'program_invocation_short_name'    34 |
    program_invocation_short_name);       |                 ^ 1 error
    generated.
    
    Suggested-by: Masahiro Yamada <masahiroy at kernel.org>
    Tested-by: Jeff Xie <xiehuan09 at gmail.com>
    Signed-off-by: Daniel Gomez <da.gomez at samsung.com>
+ /mt/dim checkpatch 6b498b1015e38b1b7dbd1c7e3ab0a9be5d48f4da drm-intel
f2cf15734a35 drm/xe: xe_gen_wa_oob: replace program_invocation_short_name




More information about the Intel-xe mailing list