[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201909190423.JhgaSYXg%lkp@intel.com>
Date: Thu, 19 Sep 2019 04:11:20 +0800
From: kbuild test robot <lkp@...el.com>
To: Daniel Campello <campello@...omium.org>
Cc: kbuild-all@...org, LKML <linux-kernel@...r.kernel.org>,
Daniel Campello <campello@...omium.org>,
Enric Balletbo i Serra <enric.balletbo@...labora.com>,
Benson Leung <bleung@...omium.org>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Duncan Laurie <dlaurie@...gle.com>,
Nick Crews <ncrews@...omium.org>
Subject: Re: [PATCH v3] platform/chrome: wilco_ec: Add debugfs test_event file
Hi Daniel,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[cannot apply to v5.3 next-20190917]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Daniel-Campello/platform-chrome-wilco_ec-Add-debugfs-test_event-file/20190919-014111
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
In file included from drivers/platform/chrome/wilco_ec/debugfs.c:11:0:
drivers/platform/chrome/wilco_ec/debugfs.c: In function 'fops_test_event_open':
>> drivers/platform/chrome/wilco_ec/debugfs.c:230:65: warning: zero-length gnu_printf format string [-Wformat-zero-length]
DEFINE_DEBUGFS_ATTRIBUTE(fops_test_event, NULL, test_event_set, "");
^
include/linux/debugfs.h:45:29: note: in definition of macro 'DEFINE_DEBUGFS_ATTRIBUTE'
__simple_attr_check_format(__fmt, 0ull); \
^~~~~
vim +230 drivers/platform/chrome/wilco_ec/debugfs.c
226
227 /* Format is empty since it is only used on read operations which are
228 * forbidden by file permissions.
229 */
> 230 DEFINE_DEBUGFS_ATTRIBUTE(fops_test_event, NULL, test_event_set, "");
231
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (69757 bytes)
Powered by blists - more mailing lists