mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Martin Kepplinger <martink@posteo.de>
Cc: kbuild-all@01.org, jic23@kernel.org, knaack.h@gmx.de,
	lars@metafoo.de, pmeerw@pmeerw.net,
	christoph.muellner@theobroma-systems.com, mfuzzey@parkeon.com,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	Martin Kepplinger <martink@posteo.de>,
	Martin Kepplinger <martin.kepplinger@theobroma-systems.com>
Subject: Re: [PATCH] iio: mma8452: add support for MMA8451Q
Date: Thu, 14 Jan 2016 19:15:45 +0800	[thread overview]
Message-ID: <201601141925.CNZ7g2Tn%fengguang.wu@intel.com> (raw)
In-Reply-To: <1452769329-17912-1-git-send-email-martink@posteo.de>

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

Hi Martin,

[auto build test ERROR on next-20160114]
[also build test ERROR on v4.4]
[cannot apply to robh/for-next v4.4-rc8 v4.4-rc7 v4.4-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Martin-Kepplinger/iio-mma8452-add-support-for-MMA8451Q/20160114-190548
config: x86_64-randconfig-x015-01140842 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

>> drivers/iio/accel/mma8452.c:832:2: error: implicit declaration of function 'MMA8452_FREEFALL_CHANNEL' [-Werror=implicit-function-declaration]
     MMA8452_FREEFALL_CHANNEL(IIO_MOD_X_AND_Y_AND_Z),
     ^
>> drivers/iio/accel/mma8452.c:832:2: error: initializer element is not constant
   drivers/iio/accel/mma8452.c:832:2: note: (near initialization for 'mma8451_channels[4].type')
>> drivers/iio/accel/mma8452.c:827:56: warning: missing braces around initializer [-Wmissing-braces]
    static const struct iio_chan_spec mma8451_channels[] = {
                                                           ^
   drivers/iio/accel/mma8452.c:827:56: note: (near initialization for 'mma8451_channels')
   cc1: some warnings being treated as errors

vim +/MMA8452_FREEFALL_CHANNEL +832 drivers/iio/accel/mma8452.c

   821			.endianness = IIO_BE, \
   822		}, \
   823		.event_spec = mma8452_motion_event, \
   824		.num_event_specs = ARRAY_SIZE(mma8452_motion_event), \
   825	}
   826	
 > 827	static const struct iio_chan_spec mma8451_channels[] = {
   828		MMA8452_CHANNEL(X, idx_x, 14),
   829		MMA8452_CHANNEL(Y, idx_y, 14),
   830		MMA8452_CHANNEL(Z, idx_z, 14),
   831		IIO_CHAN_SOFT_TIMESTAMP(idx_ts),
 > 832		MMA8452_FREEFALL_CHANNEL(IIO_MOD_X_AND_Y_AND_Z),
   833	};
   834	
   835	static const struct iio_chan_spec mma8452_channels[] = {

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 23811 bytes --]

  reply	other threads:[~2016-01-14 11:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-14 11:02 Martin Kepplinger
2016-01-14 11:15 ` kbuild test robot [this message]
2016-01-14 11:19   ` Martin Kepplinger
2016-01-14 11:45 ` Peter Meerwald-Stadler
2016-01-14 12:03   ` Martin Kepplinger
2016-01-16 12:10     ` Jonathan Cameron

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=201601141925.CNZ7g2Tn%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=christoph.muellner@theobroma-systems.com \
    --cc=jic23@kernel.org \
    --cc=kbuild-all@01.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.kepplinger@theobroma-systems.com \
    --cc=martink@posteo.de \
    --cc=mfuzzey@parkeon.com \
    --cc=pmeerw@pmeerw.net \
    /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

all inboxes | Powered by JetHome®