public inbox for oe-kbuild@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Subject: [vireshk:virtio/msg-amp 18/22] checkpatch: ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
Date: Mon, 06 Apr 2026 13:07:56 +0200	[thread overview]
Message-ID: <202604061314.788KiglQ-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "high confidence checkpatch report"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Viresh Kumar <viresh.kumar@linaro.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux.git virtio/msg-amp
head:   41094c3bbcadee8fc24bfca2aad83a02755c5daa
commit: 8ea534e99e119f40ccad56160e9e6d338c79b6f6 [18/22] virtio: msg: Add AMP transport over shared memory
:::::: branch date: 15 minutes ago
:::::: commit date: 39 minutes ago
reproduce: (https://download.01.org/0day-ci/archive/20260406/202604061314.788KiglQ-lkp@intel.com/reproduce)

# many are suggestions rather than must-fix

WARNING:SIZEOF_PARENTHESIS: sizeof *q should be sizeof(*q)
#199: FILE: drivers/virtio/spsc_queue.h:125:
+    memset(q, 0, sizeof *q);

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#201: FILE: drivers/virtio/spsc_queue.h:127:
+    q->shm = (spsc_queue_shared*) mem;

WARNING:SIZEOF_PARENTHESIS: sizeof q->shm->packets[0] should be sizeof(q->shm->packets[0])
#236: FILE: drivers/virtio/spsc_queue.h:162:
+    assert(size <= sizeof q->shm->packets[0]);

WARNING:SIZEOF_PARENTHESIS: sizeof q->shm->packets[0] should be sizeof(q->shm->packets[0])
#264: FILE: drivers/virtio/spsc_queue.h:190:
+    assert(size <= sizeof q->shm->packets[0]);

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-04-06 11:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202604061314.788KiglQ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox