All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: drivers/pci/endpoint/functions/pci-epf-vntb.c:891 epf_ntb_mw1_store() warn: potential spectre issue 'ntb->mws_size' [w]
Date: Wed, 31 Aug 2022 04:47:05 +0800	[thread overview]
Message-ID: <202208310443.IcVvFQir-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2831 bytes --]

BCC: lkp(a)intel.com
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Frank Li <Frank.Li@nxp.com>
CC: Jon Mason <jdmason@kudzu.us>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   dcf8e5633e2e69ad60b730ab5905608b756a032f
commit: e35f56bb03304abc92c928b641af41ca372966bb PCI: endpoint: Support NTB transfer between RC and EP
date:   3 weeks ago
:::::: branch date: 24 hours ago
:::::: commit date: 3 weeks ago
config: mips-randconfig-m041-20220830 (https://download.01.org/0day-ci/archive/20220831/202208310443.IcVvFQir-lkp(a)intel.com/config)
compiler: mips64-linux-gcc (GCC) 12.1.0

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

New smatch warnings:
drivers/pci/endpoint/functions/pci-epf-vntb.c:891 epf_ntb_mw1_store() warn: potential spectre issue 'ntb->mws_size' [w]
drivers/pci/endpoint/functions/pci-epf-vntb.c:893 epf_ntb_mw2_store() warn: potential spectre issue 'ntb->mws_size' [w]
drivers/pci/endpoint/functions/pci-epf-vntb.c:895 epf_ntb_mw3_store() warn: potential spectre issue 'ntb->mws_size' [w]
drivers/pci/endpoint/functions/pci-epf-vntb.c:897 epf_ntb_mw4_store() warn: potential spectre issue 'ntb->mws_size' [w]

Old smatch warnings:
drivers/pci/endpoint/functions/pci-epf-vntb.c:1316 epf_ntb_bind() warn: missing error code 'ret'

vim +891 drivers/pci/endpoint/functions/pci-epf-vntb.c

e35f56bb03304a Frank Li 2022-02-22  878  
e35f56bb03304a Frank Li 2022-02-22  879  EPF_NTB_R(spad_count)
e35f56bb03304a Frank Li 2022-02-22  880  EPF_NTB_W(spad_count)
e35f56bb03304a Frank Li 2022-02-22  881  EPF_NTB_R(db_count)
e35f56bb03304a Frank Li 2022-02-22  882  EPF_NTB_W(db_count)
e35f56bb03304a Frank Li 2022-02-22  883  EPF_NTB_R(num_mws)
e35f56bb03304a Frank Li 2022-02-22  884  EPF_NTB_R(vbus_number)
e35f56bb03304a Frank Li 2022-02-22  885  EPF_NTB_W(vbus_number)
e35f56bb03304a Frank Li 2022-02-22  886  EPF_NTB_R(vntb_pid)
e35f56bb03304a Frank Li 2022-02-22  887  EPF_NTB_W(vntb_pid)
e35f56bb03304a Frank Li 2022-02-22  888  EPF_NTB_R(vntb_vid)
e35f56bb03304a Frank Li 2022-02-22  889  EPF_NTB_W(vntb_vid)
e35f56bb03304a Frank Li 2022-02-22  890  EPF_NTB_MW_R(mw1)
e35f56bb03304a Frank Li 2022-02-22 @891  EPF_NTB_MW_W(mw1)
e35f56bb03304a Frank Li 2022-02-22  892  EPF_NTB_MW_R(mw2)
e35f56bb03304a Frank Li 2022-02-22 @893  EPF_NTB_MW_W(mw2)
e35f56bb03304a Frank Li 2022-02-22  894  EPF_NTB_MW_R(mw3)
e35f56bb03304a Frank Li 2022-02-22 @895  EPF_NTB_MW_W(mw3)
e35f56bb03304a Frank Li 2022-02-22  896  EPF_NTB_MW_R(mw4)
e35f56bb03304a Frank Li 2022-02-22 @897  EPF_NTB_MW_W(mw4)
e35f56bb03304a Frank Li 2022-02-22  898  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

             reply	other threads:[~2022-08-30 20:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30 20:47 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-10 23:35 drivers/pci/endpoint/functions/pci-epf-vntb.c:891 epf_ntb_mw1_store() warn: potential spectre issue 'ntb->mws_size' [w] kernel test robot
2022-08-21  7:43 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=202208310443.IcVvFQir-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.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.