✗ CI.checkpatch: warning for series starting with [1/3] fault-inject: improve build for CONFIG_FAULT_INJECTION=n
Patchwork
patchwork at emeril.freedesktop.org
Tue Aug 13 12:19:14 UTC 2024
== Series Details ==
Series: series starting with [1/3] fault-inject: improve build for CONFIG_FAULT_INJECTION=n
URL : https://patchwork.freedesktop.org/series/137232/
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
9fe5037901cabbcdf27a6fe0dfb047ca1474d363
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 947c0dbca26c9b0edee61ec8fe43f27def224589
Author: Jani Nikula <jani.nikula at intel.com>
Date: Tue Aug 13 15:12:37 2024 +0300
drm/xe: clean up fault injection usage
With the proper stubs in place in linux/fault-inject.h, we can remove a
bunch of conditional compilation for CONFIG_FAULT_INJECTION=n.
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: Akinobu Mita <akinobu.mita at gmail.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
+ /mt/dim checkpatch 924db73e261b7bfd4b70b14db61197f48bf09426 drm-intel
edd9310c7882 fault-inject: improve build for CONFIG_FAULT_INJECTION=n
-:56: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#56: FILE: include/linux/fault-inject.h:69:
+}
+static inline bool should_fail_ex(struct fault_attr *attr, ssize_t size, int flags)
-:60: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#60: FILE: include/linux/fault-inject.h:73:
+}
+static inline bool should_fail(struct fault_attr *attr, ssize_t size)
total: 0 errors, 0 warnings, 2 checks, 58 lines checked
80a106f0261b drm/msm: clean up fault injection usage
947c0dbca26c drm/xe: clean up fault injection usage
More information about the Intel-xe
mailing list