mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Sven Van Asbroeck <thesven73@gmail.com>
Cc: kbuild-all@01.org, svendev@arcx.com, robh+dt@kernel.org,
	linus.walleij@linaro.org, lee.jones@linaro.org,
	mark.rutland@arm.com, afaerber@suse.de, treding@nvidia.com,
	david@lechnology.com, noralf@tronnes.org, johan@kernel.org,
	monstr@monstr.eu, michal.vokac@ysoft.com, arnd@arndb.de,
	gregkh@linuxfoundation.org, john.garry@huawei.com,
	geert+renesas@glider.be, robin.murphy@arm.com,
	paul.gortmaker@windriver.com,
	sebastien.bourdelin@savoirfairelinux.com, icenowy@aosc.io,
	stuyoder@gmail.com, maxime.ripard@bootlin.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH fieldbus v6 1/6] fieldbus_dev: add Fieldbus Device subsystem.
Date: Sat, 5 Jan 2019 03:32:18 +0800	[thread overview]
Message-ID: <201901050333.U97nsfmO%fengguang.wu@intel.com> (raw)
In-Reply-To: <20190103161538.20637-2-TheSven73@googlemail.com>

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

Hi Sven,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v4.20]
[cannot apply to next-20190103]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Sven-Van-Asbroeck/Add-Fieldbus-subsystem-support-HMS-Profinet-card/20190104-123600
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/fieldbus/dev_core.c: In function 'read_area_size_show':
>> drivers/fieldbus/dev_core.c:83:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=]
     return sprintf(buf, "%d\n", fb->read_area_sz);
                          ~^     ~~~~~~~~~~~~~~~~
                          %ld
   drivers/fieldbus/dev_core.c: In function 'write_area_size_show':
   drivers/fieldbus/dev_core.c:92:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=]
     return sprintf(buf, "%d\n", fb->write_area_sz);
                          ~^     ~~~~~~~~~~~~~~~~~
                          %ld

vim +83 drivers/fieldbus/dev_core.c

    77	
    78	static ssize_t read_area_size_show(struct device *dev,
    79				struct device_attribute *attr, char *buf)
    80	{
    81		struct fieldbus_dev *fb = dev_get_drvdata(dev);
    82	
  > 83		return sprintf(buf, "%d\n", fb->read_area_sz);
    84	}
    85	static DEVICE_ATTR_RO(read_area_size);
    86	

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

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

  reply	other threads:[~2019-01-04 19:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-03 16:15 [PATCH fieldbus v6 0/6] Add Fieldbus subsystem + support HMS Profinet card Sven Van Asbroeck
2019-01-03 16:15 ` [PATCH fieldbus v6 1/6] fieldbus_dev: add Fieldbus Device subsystem Sven Van Asbroeck
2019-01-04 19:32   ` kbuild test robot [this message]
2019-01-03 16:15 ` [PATCH fieldbus v6 2/6] anybus-s: support HMS Anybus-S bus Sven Van Asbroeck
2019-01-03 16:15 ` [PATCH fieldbus v6 3/6] anybus-s: support the Arcx anybus controller Sven Van Asbroeck
2019-01-03 16:15 ` [PATCH fieldbus v6 4/6] dt-bindings: anybus-controller: document devicetree binding Sven Van Asbroeck
2019-01-03 16:15 ` [PATCH fieldbus v6 5/6] dt-bindings: Add vendor prefix for arcx / Archronix Sven Van Asbroeck
2019-01-03 16:15 ` [PATCH fieldbus v6 6/6] fieldbus_dev: support HMS Profinet IRT industrial controller Sven Van Asbroeck
2019-01-04 21:45   ` kbuild 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=201901050333.U97nsfmO%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=afaerber@suse.de \
    --cc=arnd@arndb.de \
    --cc=david@lechnology.com \
    --cc=geert+renesas@glider.be \
    --cc=gregkh@linuxfoundation.org \
    --cc=icenowy@aosc.io \
    --cc=johan@kernel.org \
    --cc=john.garry@huawei.com \
    --cc=kbuild-all@01.org \
    --cc=lee.jones@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@bootlin.com \
    --cc=michal.vokac@ysoft.com \
    --cc=monstr@monstr.eu \
    --cc=noralf@tronnes.org \
    --cc=paul.gortmaker@windriver.com \
    --cc=robh+dt@kernel.org \
    --cc=robin.murphy@arm.com \
    --cc=sebastien.bourdelin@savoirfairelinux.com \
    --cc=stuyoder@gmail.com \
    --cc=svendev@arcx.com \
    --cc=thesven73@gmail.com \
    --cc=treding@nvidia.com \
    /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®