Linux CXL
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: alejandro.lucero-palau@amd.com, linux-cxl@vger.kernel.org,
	dan.j.williams@intel.com
Cc: oe-kbuild-all@lists.linux.dev,
	Alejandro Lucero <alejandro.lucero-palau@amd.com>
Subject: Re: [PATCH] cxl: avoid driver data for obtaining cxl_dev_state reference
Date: Sun, 17 Nov 2024 12:21:59 +0800	[thread overview]
Message-ID: <202411171240.wwR1wRdZ-lkp@intel.com> (raw)
In-Reply-To: <20241114112435.45593-1-alejandro.lucero-palau@amd.com>

Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on cxl/next]
[also build test WARNING on linus/master v6.12-rc7 next-20241115]
[cannot apply to cxl/pending]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/alejandro-lucero-palau-amd-com/cxl-avoid-driver-data-for-obtaining-cxl_dev_state-reference/20241114-192818
base:   https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git next
patch link:    https://lore.kernel.org/r/20241114112435.45593-1-alejandro.lucero-palau%40amd.com
patch subject: [PATCH] cxl: avoid driver data for obtaining cxl_dev_state reference
config: alpha-randconfig-r051-20241117 (https://download.01.org/0day-ci/archive/20241117/202411171240.wwR1wRdZ-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241117/202411171240.wwR1wRdZ-lkp@intel.com/reproduce)

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>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411171240.wwR1wRdZ-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/perf/../cxl/cxlpci.h:6,
                    from drivers/perf/cxl_pmu.c:23:
>> drivers/perf/../cxl/cxl.h:823:32: warning: 'struct cxl_dev_state' declared inside parameter list will not be visible outside of this definition or declaration
     823 | int cxl_dvsec_rr_decode(struct cxl_dev_state *cxlds,
         |                                ^~~~~~~~~~~~~


vim +823 drivers/perf/../cxl/cxl.h

   816	
   817	struct cxl_hdm;
   818	struct cxl_hdm *devm_cxl_setup_hdm(struct cxl_port *port,
   819					   struct cxl_endpoint_dvsec_info *info);
   820	int devm_cxl_enumerate_decoders(struct cxl_hdm *cxlhdm,
   821					struct cxl_endpoint_dvsec_info *info);
   822	int devm_cxl_add_passthrough_decoder(struct cxl_port *port);
 > 823	int cxl_dvsec_rr_decode(struct cxl_dev_state *cxlds,
   824				struct cxl_endpoint_dvsec_info *info);
   825	

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

  parent reply	other threads:[~2024-11-17  4:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-14 11:24 [PATCH] cxl: avoid driver data for obtaining cxl_dev_state reference alejandro.lucero-palau
2024-11-14 20:55 ` Fan Ni
2024-11-15  6:45   ` Alejandro Lucero Palau
2024-11-17  4:10 ` kernel test robot
2024-11-17  4:21 ` kernel test robot [this message]
2024-11-17  7:12 ` kernel test robot
2024-11-26 16:09 ` Jonathan Cameron
2024-11-26 16:41   ` Alejandro Lucero Palau

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=202411171240.wwR1wRdZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alejandro.lucero-palau@amd.com \
    --cc=dan.j.williams@intel.com \
    --cc=linux-cxl@vger.kernel.org \
    --cc=oe-kbuild-all@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