All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patchwork <patchwork@emeril.freedesktop.org>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org
Subject: ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/4] drm: Expose a method for creating anonymous struct file around drm_minor
Date: Wed, 06 Nov 2019 15:39:59 -0000	[thread overview]
Message-ID: <157305479988.12033.16653829879862003143@emeril.freedesktop.org> (raw)
In-Reply-To: <20191106130416.23076-1-chris@chris-wilson.co.uk>

== Series Details ==

Series: series starting with [1/4] drm: Expose a method for creating anonymous struct file around drm_minor
URL   : https://patchwork.freedesktop.org/series/69059/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
d7aa94bb3f9e drm: Expose a method for creating anonymous struct file around drm_minor
755b15511b95 drm/i915/selftests: Replace mock_file hackery with drm's true fake
cca250d8785e drm/i915/selftests: Wrap vm_mmap() around GEM objects
-:41: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#41: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:698:
+#define expand32(x) (((x) << 0) | ((x) << 8) | ((x) << 16) | ((x) << 24))

-:91: ERROR:SPACING: space required before that '*' (ctx:VxV)
#91: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:748:
+		u32 __user *ux = u64_to_user_ptr((u64)(addr + i * sizeof*(ux)));
 		                                                        ^

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

-:152: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#152: FILE: drivers/gpu/drm/i915/selftests/igt_mmap.c:1:
+/*

-:153: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use line 1 instead
#153: FILE: drivers/gpu/drm/i915/selftests/igt_mmap.c:2:
+ * SPDX-License-Identifier: MIT

-:197: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#197: FILE: drivers/gpu/drm/i915/selftests/igt_mmap.h:1:
+/*

-:198: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use line 1 instead
#198: FILE: drivers/gpu/drm/i915/selftests/igt_mmap.h:2:
+ * SPDX-License-Identifier: MIT

total: 1 errors, 5 warnings, 1 checks, 180 lines checked
8f28adffccac drm/i915/selftests: Verify mmap_gtt revocation on unbinding
-:69: WARNING:LINE_SPACING: Missing a blank line after declarations
#69: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:839:
+		int err = __get_user(c, addr);
+		if (err)

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

WARNING: multiple messages have this Message-ID (diff)
From: Patchwork <patchwork@emeril.freedesktop.org>
To: "Chris Wilson" <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/4] drm: Expose a method for creating anonymous struct file around drm_minor
Date: Wed, 06 Nov 2019 15:39:59 -0000	[thread overview]
Message-ID: <157305479988.12033.16653829879862003143@emeril.freedesktop.org> (raw)
Message-ID: <20191106153959.qfA28LDbidZYygZHkPIeuOrjpELLaDwLVmr8KiqxpNU@z> (raw)
In-Reply-To: <20191106130416.23076-1-chris@chris-wilson.co.uk>

== Series Details ==

Series: series starting with [1/4] drm: Expose a method for creating anonymous struct file around drm_minor
URL   : https://patchwork.freedesktop.org/series/69059/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
d7aa94bb3f9e drm: Expose a method for creating anonymous struct file around drm_minor
755b15511b95 drm/i915/selftests: Replace mock_file hackery with drm's true fake
cca250d8785e drm/i915/selftests: Wrap vm_mmap() around GEM objects
-:41: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#41: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:698:
+#define expand32(x) (((x) << 0) | ((x) << 8) | ((x) << 16) | ((x) << 24))

-:91: ERROR:SPACING: space required before that '*' (ctx:VxV)
#91: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:748:
+		u32 __user *ux = u64_to_user_ptr((u64)(addr + i * sizeof*(ux)));
 		                                                        ^

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

-:152: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#152: FILE: drivers/gpu/drm/i915/selftests/igt_mmap.c:1:
+/*

-:153: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use line 1 instead
#153: FILE: drivers/gpu/drm/i915/selftests/igt_mmap.c:2:
+ * SPDX-License-Identifier: MIT

-:197: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#197: FILE: drivers/gpu/drm/i915/selftests/igt_mmap.h:1:
+/*

-:198: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use line 1 instead
#198: FILE: drivers/gpu/drm/i915/selftests/igt_mmap.h:2:
+ * SPDX-License-Identifier: MIT

total: 1 errors, 5 warnings, 1 checks, 180 lines checked
8f28adffccac drm/i915/selftests: Verify mmap_gtt revocation on unbinding
-:69: WARNING:LINE_SPACING: Missing a blank line after declarations
#69: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:839:
+		int err = __get_user(c, addr);
+		if (err)

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2019-11-06 15:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-06 13:04 [PATCH 1/4] drm: Expose a method for creating anonymous struct file around drm_minor Chris Wilson
2019-11-06 13:04 ` [Intel-gfx] " Chris Wilson
2019-11-06 13:04 ` [PATCH 2/4] drm/i915/selftests: Replace mock_file hackery with drm's true fake Chris Wilson
2019-11-06 13:04   ` [Intel-gfx] " Chris Wilson
2019-11-06 13:04 ` [PATCH 3/4] drm/i915/selftests: Wrap vm_mmap() around GEM objects Chris Wilson
2019-11-06 13:04   ` [Intel-gfx] " Chris Wilson
2019-11-06 13:04 ` [PATCH 4/4] drm/i915/selftests: Verify mmap_gtt revocation on unbinding Chris Wilson
2019-11-06 13:04   ` [Intel-gfx] " Chris Wilson
2019-11-06 15:39 ` Patchwork [this message]
2019-11-06 15:39   ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/4] drm: Expose a method for creating anonymous struct file around drm_minor Patchwork
2019-11-06 16:07 ` ✗ Fi.CI.BAT: failure " Patchwork
2019-11-06 16:07   ` [Intel-gfx] " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=157305479988.12033.16653829879862003143@emeril.freedesktop.org \
    --to=patchwork@emeril.freedesktop.org \
    --cc=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.