[Intel-xe] ✗ CI.checkpatch: warning for Notify userspace about uevent failure

Patchwork patchwork at emeril.freedesktop.org
Tue Jul 25 15:17:34 UTC 2023


== Series Details ==

Series: Notify userspace about uevent failure
URL   : https://patchwork.freedesktop.org/series/121320/
State : warning

== 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
c7d32770e3cd31d9fc134ce41f329b10aa33ee15
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 87d96af6e891c4f0b34986434ed56871dff858fc
Author: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Date:   Tue Jul 25 20:39:51 2023 +0530

    fault-inject: Include linux/types.h by default.
    
    Functions should_fail_alloc_page, should_failslab, and __should_failslab
    are declared irrespective of CONFIG_FAULT_INJECTION. These functions use
    bool and gfp_t types, which are treated as unknown when CONFIG_FAULT_INJECTION
    is disabled because the inclusion of linux/types.h is missing.
    
    Cc: Lucas De Marchi <lucas.demarchi at intel.com>
    Cc: Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
    Cc: Badal Nilawar <badal.nilawar at intel.com>
    Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
+ /mt/dim checkpatch c7ed768399f6a4769bc4c18f92605d14201b0793 drm-intel
6b2f7bdcc drm/xe: Notify Userspace when gt reset fails
bcd4c8a42 drm/xe: Introduce fault injection for gt reset
-:95: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 0)
#95: FILE: drivers/gpu/drm/xe/xe_gt.h:17:
 		for_each_if(((hwe__) = (gt__)->hw_engines + (id__)) && \
[...]
+extern struct fault_attr gt_reset_failure;

total: 0 errors, 1 warnings, 0 checks, 78 lines checked
87d96af6e fault-inject: Include linux/types.h by default.
-:8: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#8: 
bool and gfp_t types, which are treated as unknown when CONFIG_FAULT_INJECTION

total: 0 errors, 1 warnings, 0 checks, 11 lines checked




More information about the Intel-xe mailing list