[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for dma-buf: Extend selftests to exercise dma-fence-array

Patchwork patchwork at emeril.freedesktop.org
Sat Aug 24 13:52:46 UTC 2019


== Series Details ==

Series: dma-buf: Extend selftests to exercise dma-fence-array
URL   : https://patchwork.freedesktop.org/series/65736/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
3e43bd6902ab dma-buf: Extend selftests to exercise dma-fence-array
-:34: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#34: 
new file mode 100644

-:39: WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'drivers/dma-buf/st-dma-fence-array.c', please use '//' instead
#39: FILE: drivers/dma-buf/st-dma-fence-array.c:1:
+/* SPDX-License-Identifier: MIT */

-:39: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#39: FILE: drivers/dma-buf/st-dma-fence-array.c:1:
+/* SPDX-License-Identifier: MIT */

-:60: WARNING:USE_SPINLOCK_T: struct spinlock should be spinlock_t
#60: FILE: drivers/dma-buf/st-dma-fence-array.c:22:
+	struct spinlock lock;

-:170: WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'stub', this function's name, in a string
#170: FILE: drivers/dma-buf/st-dma-fence-array.c:132:
+		pr_err("dma-fence-array(stub) is not signaled!\n");

-:197: WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'single', this function's name, in a string
#197: FILE: drivers/dma-buf/st-dma-fence-array.c:159:
+		pr_err("dma-fence-array(single) is signaled upon creation!\n");

-:204: WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'single', this function's name, in a string
#204: FILE: drivers/dma-buf/st-dma-fence-array.c:166:
+		pr_err("dma-fence-array(single) is not signaled\n");

-:231: WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'pair', this function's name, in a string
#231: FILE: drivers/dma-buf/st-dma-fence-array.c:193:
+		pr_err("dma-fence-array(pair) is signaled upon creation!\n");

-:238: WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'pair', this function's name, in a string
#238: FILE: drivers/dma-buf/st-dma-fence-array.c:200:
+		pr_err("dma-fence-array(pair) is signaled after one signal!\n");

-:245: WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'pair', this function's name, in a string
#245: FILE: drivers/dma-buf/st-dma-fence-array.c:207:
+		pr_err("dma-fence-array(pair) is signaled after a repeated signal!\n");

-:252: WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'pair', this function's name, in a string
#252: FILE: drivers/dma-buf/st-dma-fence-array.c:214:
+		pr_err("dma-fence-array(pair) is not signaled\n");

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



More information about the Intel-gfx mailing list