✗ Fi.CI.CHECKPATCH: warning for drm/i915: allow running mock selftests via Kunit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

Series: drm/i915: allow running mock selftests via Kunit
URL   : https://patchwork.freedesktop.org/series/110383/
State : warning

== Summary ==

Error: dim checkpatch failed
a4f3a5c88a10 drm/i915: allow running mock selftests via Kunit
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:24: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#24: 
	$ qemu-system-x86_64 -nodefaults -m 1024 -kernel .kunit/arch/x86/boot/bzImage -append 'kunit.enable=1 console=ttyS0 kunit_shutdown=reboot' -no-reboot -nographic -serial stdio

-:373: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#373: 
new file mode 100644

-:432: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#432: FILE: drivers/gpu/drm/i915/selftests/i915_kunit.c:13:
+#define selftest(x, __y) int __y(void);

-:438: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#438: FILE: drivers/gpu/drm/i915/selftests/i915_kunit.c:19:
+	static void mock_##__x(struct kunit *test) {		\

-:467: WARNING:MODULE_LICENSE: Prefer "GPL" over "GPL v2" - see commit bf7fbeeae6db ("module: Cure the MODULE_LICENSE "GPL" vs. "GPL v2" bogosity")
#467: FILE: drivers/gpu/drm/i915/selftests/i915_kunit.c:48:
+MODULE_LICENSE("GPL v2");

total: 1 errors, 4 warnings, 0 checks, 243 lines checked





[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux