Hi Arkadiusz,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on aba1e4adb54e020d3ca85a4df3ef0f8febe87548]
url:
https://github.com/0day-ci/linux/commits/Arkadiusz-Kubalewski/Add-basic-S...
base: aba1e4adb54e020d3ca85a4df3ef0f8febe87548
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/615235c3d363d0d6f520b487b655349b5...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Arkadiusz-Kubalewski/Add-basic-SyncE-interfaces/20210817-001938
git checkout 615235c3d363d0d6f520b487b655349b56e3d15f
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
phy_ref_clk.c: In function 'main':
> phy_ref_clk.c:125:26: warning: format '%u' expects
argument of type 'unsigned int *', but argument 3 has type '__u8 *' {aka
'unsigned char *'} [-Wformat=]
125 | ret = sscanf(argv[2],
"%u", &pin);
| ~^ ~~~~
| | |
| | __u8 * {aka unsigned char *}
| unsigned int *
| %hhu
> phy_ref_clk.c:132:27: warning: format '%u' expects
argument of type 'unsigned int *', but argument 3 has type '_Bool *'
[-Wformat=]
132 | ret = sscanf(argv[3], "%u", &enable);
| ~^ ~~~~~~~
| | |
| | _Bool *
| unsigned int *
In function 'get_ref_clk',
inlined from 'main' at phy_ref_clk.c:130:9:
> phy_ref_clk.c:58:2: warning: 'strncpy' specified bound 16
equals destination size [-Wstringop-truncation]
58 | strncpy(ifdata.ifr_name,
ifname, IFNAMSIZ);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org