All of lore.kernel.org
 help / color / mirror / Atom feed
* [mani-mhi:mhi-rebase 4/16] drivers/bus/mhi/core/main.c:79:13: error: 'struct mhi_device' has no member named 'ul_chan_id'; did you mean 'ul_chan'?
@ 2020-01-30 11:41 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-30 11:41 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git mhi-rebase
head:   ae69a80178c4a0e1f2c6b71327fe5a9b13c7a86b
commit: b465752ade2337ae5d8350ce382cc381d7104d01 [4/16] bus: mhi: core: Add support for creating and destroying MHI devices
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
        git checkout b465752ade2337ae5d8350ce382cc381d7104d01
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

Note: the mani-mhi/mhi-rebase HEAD ae69a80178c4a0e1f2c6b71327fe5a9b13c7a86b builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/bus/mhi/core/main.c: In function 'mhi_create_devices':
>> drivers/bus/mhi/core/main.c:79:13: error: 'struct mhi_device' has no member named 'ul_chan_id'; did you mean 'ul_chan'?
       mhi_dev->ul_chan_id = mhi_chan->chan;
                ^~~~~~~~~~
                ul_chan
>> drivers/bus/mhi/core/main.c:84:13: error: 'struct mhi_device' has no member named 'dl_chan_id'; did you mean 'dl_chan'?
       mhi_dev->dl_chan_id = mhi_chan->chan;
                ^~~~~~~~~~
                dl_chan
   drivers/bus/mhi/core/main.c:101:15: error: 'struct mhi_device' has no member named 'ul_chan_id'; did you mean 'ul_chan'?
         mhi_dev->ul_chan_id = mhi_chan->chan;
                  ^~~~~~~~~~
                  ul_chan
   drivers/bus/mhi/core/main.c:104:15: error: 'struct mhi_device' has no member named 'dl_chan_id'; did you mean 'dl_chan'?
         mhi_dev->dl_chan_id = mhi_chan->chan;
                  ^~~~~~~~~~
                  dl_chan
   At top level:
   drivers/bus/mhi/core/main.c:45:13: warning: 'mhi_notify' defined but not used [-Wunused-function]
    static void mhi_notify(struct mhi_device *mhi_dev, enum mhi_callback cb_reason)
                ^~~~~~~~~~

vim +79 drivers/bus/mhi/core/main.c

    57	
    58	/* Bind MHI channels to MHI devices */
    59	void mhi_create_devices(struct mhi_controller *mhi_cntrl)
    60	{
    61		int i;
    62		struct mhi_chan *mhi_chan;
    63		struct mhi_device *mhi_dev;
    64		int ret;
    65	
    66		mhi_chan = mhi_cntrl->mhi_chan;
    67		for (i = 0; i < mhi_cntrl->max_chan; i++, mhi_chan++) {
    68			if (!mhi_chan->configured || mhi_chan->mhi_dev ||
    69			    !(mhi_chan->ee_mask & BIT(mhi_cntrl->ee)))
    70				continue;
    71			mhi_dev = mhi_alloc_device(mhi_cntrl);
    72			if (!mhi_dev)
    73				return;
    74	
    75			mhi_dev->dev_type = MHI_DEVICE_XFER;
    76			switch (mhi_chan->dir) {
    77			case DMA_TO_DEVICE:
    78				mhi_dev->ul_chan = mhi_chan;
  > 79				mhi_dev->ul_chan_id = mhi_chan->chan;
    80				break;
    81			case DMA_FROM_DEVICE:
    82				/* We use dl_chan as offload channels */
    83				mhi_dev->dl_chan = mhi_chan;
  > 84				mhi_dev->dl_chan_id = mhi_chan->chan;

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 70386 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-30 11:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 11:41 [mani-mhi:mhi-rebase 4/16] drivers/bus/mhi/core/main.c:79:13: error: 'struct mhi_device' has no member named 'ul_chan_id'; did you mean 'ul_chan'? kbuild test robot

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.