mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: kbuild-all@01.org, Wolfram Sang <wsa@the-dreams.de>,
	Jonathan Corbet <corbet@lwn.net>, Corey Minyard <minyard@acm.org>,
	Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Andrew Duggan <aduggan@synaptics.com>,
	Christopher Heiny <cheiny@synaptics.com>,
	linux-i2c@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-input@vger.kernel.org
Subject: Re: [PATCH v5 3/4] i2c: i801: add support of Host Notify
Date: Tue, 15 Mar 2016 23:35:50 +0800	[thread overview]
Message-ID: <201603152354.ssDOgDSW%fengguang.wu@intel.com> (raw)
In-Reply-To: <1458053624-14818-4-git-send-email-benjamin.tissoires@redhat.com>

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

Hi Benjamin,

[auto build test WARNING on input/next]
[also build test WARNING on v4.5 next-20160315]
[cannot apply to wsa/i2c/for-next]
[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/Benjamin-Tissoires/i2c-smbus-add-support-for-HOST-NOTIFY/20160315-230340
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
config: x86_64-randconfig-x006-201611 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/i2c/busses/i2c-i801.c: In function 'i801_host_notify_isr':
>> drivers/i2c/busses/i2c-i801.c:533:31: warning: passing argument 1 of 'i2c_handle_smbus_host_notify' from incompatible pointer type [-Wincompatible-pointer-types]
     i2c_handle_smbus_host_notify(priv->host_notify, addr, data);
                                  ^
   In file included from drivers/i2c/busses/i2c-i801.c:90:0:
   include/linux/i2c-smbus.h:87:19: note: expected 'struct i2c_adapter *' but argument is of type 'struct smbus_host_notify *'
    static inline int i2c_handle_smbus_host_notify(struct i2c_adapter *adapter,
                      ^

vim +/i2c_handle_smbus_host_notify +533 drivers/i2c/busses/i2c-i801.c

   517			/* Write next byte, except for IRQ after last byte */
   518			outb_p(priv->data[++priv->count], SMBBLKDAT(priv));
   519		}
   520	
   521		/* Clear BYTE_DONE to continue with next byte */
   522		outb_p(SMBHSTSTS_BYTE_DONE, SMBHSTSTS(priv));
   523	}
   524	
   525	static irqreturn_t i801_host_notify_isr(struct i801_priv *priv)
   526	{
   527		unsigned short addr;
   528		unsigned int data;
   529	
   530		addr = inb_p(SMBNTFDADD(priv)) >> 1;
   531		data = inw_p(SMBNTFDDAT(priv));
   532	
 > 533		i2c_handle_smbus_host_notify(priv->host_notify, addr, data);
   534	
   535		/* clear Host Notify bit and return */
   536		outb_p(SMBSLVSTS_HST_NTFY_STS, SMBSLVSTS(priv));
   537		return IRQ_HANDLED;
   538	}
   539	
   540	/*
   541	 * There are three kinds of interrupts:

---
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: 22724 bytes --]

  reply	other threads:[~2016-03-15 15:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-15 14:53 [PATCH v5 0/4] i2c-smbus: add support for HOST NOTIFY Benjamin Tissoires
2016-03-15 14:53 ` [PATCH v5 1/4] i2c: add a protocol parameter to the alert callback Benjamin Tissoires
2016-03-15 15:29   ` Guenter Roeck
2016-03-15 20:08     ` Benjamin Tissoires
2016-03-15 14:53 ` [PATCH v5 2/4] i2c-smbus: add SMBus Host Notify support Benjamin Tissoires
2016-03-15 14:53 ` [PATCH v5 3/4] i2c: i801: add support of Host Notify Benjamin Tissoires
2016-03-15 15:35   ` kbuild test robot [this message]
2016-03-15 18:53   ` kbuild test robot
2016-03-15 14:53 ` [PATCH v5 4/4] Input: synaptics-rmi4 - add SMBus support Benjamin Tissoires

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=201603152354.ssDOgDSW%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=aduggan@synaptics.com \
    --cc=benjamin.tissoires@redhat.com \
    --cc=cheiny@synaptics.com \
    --cc=corbet@lwn.net \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jdelvare@suse.com \
    --cc=kbuild-all@01.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=minyard@acm.org \
    --cc=wsa@the-dreams.de \
    /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®