From: Dan Carpenter <dan.carpenter@linaro.org>
To: oe-kbuild@lists.linux.dev, Dave Jiang <dave.jiang@intel.com>
Cc: lkp@intel.com, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v3 1/3] cxl: Move mailbox related bits to the same context
Date: Thu, 5 Sep 2024 08:04:17 +0300 [thread overview]
Message-ID: <c3f7e80e-e52b-47e6-a717-3f8b75e2826e@stanley.mountain> (raw)
In-Reply-To: <20240904000020.1686611-2-dave.jiang@intel.com>
Hi Dave,
kernel test robot noticed the following build warnings:
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Dave-Jiang/cxl-Move-mailbox-related-bits-to-the-same-context/20240904-080307
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link: https://lore.kernel.org/r/20240904000020.1686611-2-dave.jiang%40intel.com
patch subject: [PATCH v3 1/3] cxl: Move mailbox related bits to the same context
config: i386-randconfig-141-20240904 (https://download.01.org/0day-ci/archive/20240905/202409051031.WY4y1MhJ-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
| Closes: https://lore.kernel.org/r/202409051031.WY4y1MhJ-lkp@intel.com/
smatch warnings:
drivers/cxl/core/mbox.c:1429 cxl_mailbox_init() error: we previously assumed 'cxl_mbox' could be null (see line 1426)
vim +/cxl_mbox +1429 drivers/cxl/core/mbox.c
1390c0beea9575 Dave Jiang 2024-09-03 1424 int cxl_mailbox_init(struct cxl_mailbox *cxl_mbox, struct device *host)
1390c0beea9575 Dave Jiang 2024-09-03 1425 {
1390c0beea9575 Dave Jiang 2024-09-03 @1426 if (!cxl_mbox && !host)
s/&&/||/
1390c0beea9575 Dave Jiang 2024-09-03 1427 return -EINVAL;
1390c0beea9575 Dave Jiang 2024-09-03 1428
1390c0beea9575 Dave Jiang 2024-09-03 @1429 cxl_mbox->host = host;
1390c0beea9575 Dave Jiang 2024-09-03 1430 mutex_init(&cxl_mbox->mbox_mutex);
1390c0beea9575 Dave Jiang 2024-09-03 1431 rcuwait_init(&cxl_mbox->mbox_wait);
1390c0beea9575 Dave Jiang 2024-09-03 1432
1390c0beea9575 Dave Jiang 2024-09-03 1433 return 0;
1390c0beea9575 Dave Jiang 2024-09-03 1434 }
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-09-05 5:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-03 23:59 [PATCH 0/3 v3] cxl: Pull out mailbox bits to be independent of cxl_dev_state Dave Jiang
2024-09-03 23:59 ` [PATCH v3 1/3] cxl: Move mailbox related bits to the same context Dave Jiang
2024-09-04 16:30 ` Alison Schofield
2024-09-04 16:49 ` Dave Jiang
2024-09-05 5:04 ` Dan Carpenter [this message]
2024-09-03 23:59 ` [PATCH v3 2/3] cxl: Convert cxl_internal_send_cmd() to use 'struct cxl_mailbox' as input Dave Jiang
2024-09-03 23:59 ` [PATCH v3 3/3] cxl: move cxl headers to new linux/cxl/ directory Dave Jiang
2024-09-04 6:52 ` Alejandro Lucero Palau
2024-09-04 15:35 ` Dave Jiang
2024-09-05 2:55 ` Dan Williams
2024-09-05 6:51 ` Alejandro Lucero Palau
2024-09-05 20:21 ` Dave Jiang
-- strict thread matches above, loose matches on Subject: below --
2024-09-05 2:57 [PATCH v3 1/3] cxl: Move mailbox related bits to the same context kernel test robot
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=c3f7e80e-e52b-47e6-a717-3f8b75e2826e@stanley.mountain \
--to=dan.carpenter@linaro.org \
--cc=dave.jiang@intel.com \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--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 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.