From: kernel test robot <lkp@intel.com>
To: Heiner Kallweit <hkallweit1@gmail.com>,
Andrew Lunn <andrew@lunn.ch>,
Russell King - ARM Linux <linux@armlinux.org.uk>,
Paolo Abeni <pabeni@redhat.com>, Jakub Kicinski <kuba@kernel.org>,
David Miller <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Simon Horman <horms@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
netdev@vger.kernel.org,
"linux-hwmon@vger.kernel.org" <linux-hwmon@vger.kernel.org>,
Guenter Roeck <linux@roeck-us.net>,
Jean Delvare <jdelvare@suse.com>
Subject: Re: [PATCH net-next 3/3] net: phy: realtek: add hwmon support for temp sensor on RTL822x
Date: Sat, 11 Jan 2025 17:48:58 +0800 [thread overview]
Message-ID: <202501111711.i1W0TGwl-lkp@intel.com> (raw)
In-Reply-To: <dbfeb139-808f-4345-afe8-830b7f4da26a@gmail.com>
Hi Heiner,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Heiner-Kallweit/net-phy-realtek-add-support-for-reading-MDIO_MMD_VEND2-regs-on-RTL8125-RTL8126/20250110-195043
base: net-next/main
patch link: https://lore.kernel.org/r/dbfeb139-808f-4345-afe8-830b7f4da26a%40gmail.com
patch subject: [PATCH net-next 3/3] net: phy: realtek: add hwmon support for temp sensor on RTL822x
config: i386-randconfig-013-20250111 (https://download.01.org/0day-ci/archive/20250111/202501111711.i1W0TGwl-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250111/202501111711.i1W0TGwl-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501111711.i1W0TGwl-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/phy/realtek_hwmon.c:3:4: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
2 | *
| int
3 | * HWMON support for Realtek PHY's
| ^
>> drivers/net/phy/realtek_hwmon.c:3:9: error: expected ';' after top level declarator
3 | * HWMON support for Realtek PHY's
| ^
| ;
drivers/net/phy/realtek_hwmon.c:3:33: warning: missing terminating ' character [-Winvalid-pp-token]
3 | * HWMON support for Realtek PHY's
| ^
In file included from drivers/net/phy/realtek_hwmon.c:8:
In file included from include/linux/hwmon.h:15:
In file included from include/linux/bitops.h:5:
In file included from ./arch/x86/include/generated/uapi/asm/types.h:1:
In file included from include/uapi/asm-generic/types.h:7:
include/asm-generic/int-ll64.h:16:9: error: unknown type name '__s8'; did you mean '__u8'?
16 | typedef __s8 s8;
| ^~~~
| __u8
include/uapi/asm-generic/int-ll64.h:21:23: note: '__u8' declared here
21 | typedef unsigned char __u8;
| ^
In file included from drivers/net/phy/realtek_hwmon.c:9:
In file included from include/linux/phy.h:15:
In file included from include/linux/spinlock.h:60:
In file included from include/linux/thread_info.h:60:
In file included from arch/x86/include/asm/thread_info.h:59:
In file included from arch/x86/include/asm/cpufeature.h:5:
In file included from arch/x86/include/asm/processor.h:35:
In file included from include/linux/math64.h:6:
include/linux/math.h:115:1: error: unknown type name '__s8'; did you mean '__u8'?
115 | __STRUCT_FRACT(s8)
| ^
include/linux/math.h:112:2: note: expanded from macro '__STRUCT_FRACT'
112 | __##type numerator; \
| ^
<scratch space>:221:1: note: expanded from here
221 | __s8
| ^
include/uapi/asm-generic/int-ll64.h:21:23: note: '__u8' declared here
21 | typedef unsigned char __u8;
| ^
In file included from drivers/net/phy/realtek_hwmon.c:9:
In file included from include/linux/phy.h:15:
In file included from include/linux/spinlock.h:60:
In file included from include/linux/thread_info.h:60:
In file included from arch/x86/include/asm/thread_info.h:59:
In file included from arch/x86/include/asm/cpufeature.h:5:
In file included from arch/x86/include/asm/processor.h:35:
In file included from include/linux/math64.h:6:
include/linux/math.h:115:1: error: unknown type name '__s8'; did you mean '__u8'?
115 | __STRUCT_FRACT(s8)
| ^
include/linux/math.h:113:2: note: expanded from macro '__STRUCT_FRACT'
113 | __##type denominator; \
| ^
<scratch space>:222:1: note: expanded from here
222 | __s8
| ^
include/uapi/asm-generic/int-ll64.h:21:23: note: '__u8' declared here
21 | typedef unsigned char __u8;
| ^
In file included from drivers/net/phy/realtek_hwmon.c:9:
In file included from include/linux/phy.h:16:
In file included from include/linux/ethtool.h:17:
In file included from include/linux/compat.h:17:
In file included from include/linux/fs.h:33:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
24 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from drivers/net/phy/realtek_hwmon.c:9:
In file included from include/linux/phy.h:16:
In file included from include/linux/ethtool.h:17:
In file included from include/linux/compat.h:17:
In file included from include/linux/fs.h:33:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
24 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from drivers/net/phy/realtek_hwmon.c:9:
In file included from include/linux/phy.h:16:
In file included from include/linux/ethtool.h:17:
In file included from include/linux/compat.h:17:
In file included from include/linux/fs.h:33:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds]
114 | return (set1->sig[3] == set2->sig[3]) &&
| ^ ~
arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
24 | unsigned long sig[_NSIG_WORDS];
| ^
vim +/int +3 drivers/net/phy/realtek_hwmon.c
> 3 * HWMON support for Realtek PHY's
4 *
5 * Author: Heiner Kallweit <hkallweit1@gmail.com>
6 */
7
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-01-11 9:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3e2784e3-4670-4d54-932f-b25440747b65@gmail.com>
2025-01-10 11:48 ` [PATCH net-next 3/3] net: phy: realtek: add hwmon support for temp sensor on RTL822x Heiner Kallweit
2025-01-10 21:10 ` Andrew Lunn
2025-01-10 21:41 ` Heiner Kallweit
2025-01-11 0:20 ` Guenter Roeck
2025-01-11 8:52 ` Heiner Kallweit
2025-01-11 0:08 ` Guenter Roeck
2025-01-11 10:16 ` Heiner Kallweit
2025-01-11 17:00 ` Andrew Lunn
2025-01-11 17:32 ` Heiner Kallweit
2025-01-11 17:44 ` Andrew Lunn
2025-01-11 18:06 ` Heiner Kallweit
2025-01-11 8:52 ` kernel test robot
2025-01-11 9:48 ` kernel test robot [this message]
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=202501111711.i1W0TGwl-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=horms@kernel.org \
--cc=jdelvare@suse.com \
--cc=kuba@kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=linux@roeck-us.net \
--cc=llvm@lists.linux.dev \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.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