lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202501111618.Lro85HiT-lkp@intel.com>
Date: Sat, 11 Jan 2025 16:52:14 +0800
From: kernel test robot <lkp@...el.com>
To: Heiner Kallweit <hkallweit1@...il.com>, Andrew Lunn <andrew@...n.ch>,
	Russell King - ARM Linux <linux@...linux.org.uk>,
	Paolo Abeni <pabeni@...hat.com>, Jakub Kicinski <kuba@...nel.org>,
	David Miller <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>, Simon Horman <horms@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org,
	"linux-hwmon@...r.kernel.org" <linux-hwmon@...r.kernel.org>,
	Guenter Roeck <linux@...ck-us.net>,
	Jean Delvare <jdelvare@...e.com>
Subject: Re: [PATCH net-next 3/3] net: phy: realtek: add hwmon support for
 temp sensor on RTL822x

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: parisc-randconfig-r072-20250111 (https://download.01.org/0day-ci/archive/20250111/202501111618.Lro85HiT-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250111/202501111618.Lro85HiT-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501111618.Lro85HiT-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

>> drivers/net/phy/realtek_hwmon.c:3:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'support'
       3 |  * HWMON support for Realtek PHY's
         |          ^~~~~~~
>> drivers/net/phy/realtek_hwmon.c:3:33: warning: missing terminating ' character
       3 |  * HWMON support for Realtek PHY's
         |                                 ^
>> drivers/net/phy/realtek_hwmon.c:3:33: error: missing terminating ' character
       3 |  * HWMON support for Realtek PHY's
         |                                 ^~
>> drivers/net/phy/realtek_hwmon.c:5:39: error: stray '@' in program
       5 |  * Author: Heiner Kallweit <hkallweit1@...il.com>
         |                                       ^
   In file included from include/uapi/asm-generic/types.h:7,
                    from ./arch/parisc/include/generated/uapi/asm/types.h:1,
                    from include/linux/bitops.h:5,
                    from include/linux/hwmon.h:15,
                    from drivers/net/phy/realtek_hwmon.c:8:
>> include/asm-generic/int-ll64.h:16:9: error: unknown type name '__s8'; did you mean '__u8'?
      16 | typedef __s8  s8;
         |         ^~~~
         |         __u8
   In file included from include/linux/kernel.h:27,
                    from arch/parisc/include/asm/bug.h:5,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:13,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/parisc/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:79,
                    from include/linux/spinlock.h:56,
                    from include/linux/phy.h:15,
                    from drivers/net/phy/realtek_hwmon.c:9:
>> include/linux/math.h:112:9: error: unknown type name '__s8'; did you mean '__u8'?
     112 |         __##type numerator;                             \
         |         ^~
   include/linux/math.h:115:1: note: in expansion of macro '__STRUCT_FRACT'
     115 | __STRUCT_FRACT(s8)
         | ^~~~~~~~~~~~~~
   include/linux/math.h:113:9: error: unknown type name '__s8'; did you mean '__u8'?
     113 |         __##type denominator;                           \
         |         ^~
   include/linux/math.h:115:1: note: in expansion of macro '__STRUCT_FRACT'
     115 | __STRUCT_FRACT(s8)
         | ^~~~~~~~~~~~~~
   In file included from include/linux/quota.h:42,
                    from include/linux/fs.h:271,
                    from include/linux/compat.h:17,
                    from include/linux/ethtool.h:17,
                    from include/linux/phy.h:16:
>> include/uapi/linux/dqblk_xfs.h:54:9: error: unknown type name '__s8'; did you mean '__u8'?
      54 |         __s8            d_version;      /* version of this structure */
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:55:9: error: unknown type name '__s8'; did you mean '__u8'?
      55 |         __s8            d_flags;        /* FS_{USER,PROJ,GROUP}_QUOTA */
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:70:9: error: unknown type name '__s8'; did you mean '__u8'?
      70 |         __s8            d_itimer_hi;    /* upper 8 bits of timer values */
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:71:9: error: unknown type name '__s8'; did you mean '__u8'?
      71 |         __s8            d_btimer_hi;
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:72:9: error: unknown type name '__s8'; did you mean '__u8'?
      72 |         __s8            d_rtbtimer_hi;
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:73:9: error: unknown type name '__s8'; did you mean '__u8'?
      73 |         __s8            d_padding2;     /* padding2 - for future use */
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:166:9: error: unknown type name '__s8'; did you mean '__u8'?
     166 |         __s8            qs_version;     /* version number for future changes */
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:168:9: error: unknown type name '__s8'; did you mean '__u8'?
     168 |         __s8            qs_pad;         /* unused */
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:210:9: error: unknown type name '__s8'; did you mean '__u8'?
     210 |         __s8                    qs_version;     /* version for future changes */
         |         ^~~~
         |         __u8
   In file included from include/linux/ethtool.h:20:
>> include/uapi/linux/ethtool.h:2523:9: error: unknown type name '__s8'; did you mean '__u8'?
    2523 |         __s8    link_mode_masks_nwords;
         |         ^~~~
         |         __u8
--
   realtek_hwmon.c:3:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'support'
       3 |  * HWMON support for Realtek PHY's
         |          ^~~~~~~
   realtek_hwmon.c:3:33: warning: missing terminating ' character
       3 |  * HWMON support for Realtek PHY's
         |                                 ^
   realtek_hwmon.c:3:33: error: missing terminating ' character
       3 |  * HWMON support for Realtek PHY's
         |                                 ^~
   realtek_hwmon.c:5:39: error: stray '@' in program
       5 |  * Author: Heiner Kallweit <hkallweit1@...il.com>
         |                                       ^
   In file included from include/uapi/asm-generic/types.h:7,
                    from arch/parisc/include/generated/uapi/asm/types.h:1,
                    from include/linux/bitops.h:5,
                    from include/linux/hwmon.h:15,
                    from realtek_hwmon.c:8:
>> include/asm-generic/int-ll64.h:16:9: error: unknown type name '__s8'; did you mean '__u8'?
      16 | typedef __s8  s8;
         |         ^~~~
         |         __u8
   In file included from include/linux/kernel.h:27,
                    from arch/parisc/include/asm/bug.h:5,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:13,
                    from include/asm-generic/preempt.h:5,
                    from arch/parisc/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:79,
                    from include/linux/spinlock.h:56,
                    from include/linux/phy.h:15,
                    from realtek_hwmon.c:9:
>> include/linux/math.h:112:9: error: unknown type name '__s8'; did you mean '__u8'?
     112 |         __##type numerator;                             \
         |         ^~
   include/linux/math.h:115:1: note: in expansion of macro '__STRUCT_FRACT'
     115 | __STRUCT_FRACT(s8)
         | ^~~~~~~~~~~~~~
   include/linux/math.h:113:9: error: unknown type name '__s8'; did you mean '__u8'?
     113 |         __##type denominator;                           \
         |         ^~
   include/linux/math.h:115:1: note: in expansion of macro '__STRUCT_FRACT'
     115 | __STRUCT_FRACT(s8)
         | ^~~~~~~~~~~~~~
   In file included from include/linux/quota.h:42,
                    from include/linux/fs.h:271,
                    from include/linux/compat.h:17,
                    from include/linux/ethtool.h:17,
                    from include/linux/phy.h:16:
>> include/uapi/linux/dqblk_xfs.h:54:9: error: unknown type name '__s8'; did you mean '__u8'?
      54 |         __s8            d_version;      /* version of this structure */
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:55:9: error: unknown type name '__s8'; did you mean '__u8'?
      55 |         __s8            d_flags;        /* FS_{USER,PROJ,GROUP}_QUOTA */
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:70:9: error: unknown type name '__s8'; did you mean '__u8'?
      70 |         __s8            d_itimer_hi;    /* upper 8 bits of timer values */
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:71:9: error: unknown type name '__s8'; did you mean '__u8'?
      71 |         __s8            d_btimer_hi;
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:72:9: error: unknown type name '__s8'; did you mean '__u8'?
      72 |         __s8            d_rtbtimer_hi;
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:73:9: error: unknown type name '__s8'; did you mean '__u8'?
      73 |         __s8            d_padding2;     /* padding2 - for future use */
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:166:9: error: unknown type name '__s8'; did you mean '__u8'?
     166 |         __s8            qs_version;     /* version number for future changes */
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:168:9: error: unknown type name '__s8'; did you mean '__u8'?
     168 |         __s8            qs_pad;         /* unused */
         |         ^~~~
         |         __u8
   include/uapi/linux/dqblk_xfs.h:210:9: error: unknown type name '__s8'; did you mean '__u8'?
     210 |         __s8                    qs_version;     /* version for future changes */
         |         ^~~~
         |         __u8
   In file included from include/linux/ethtool.h:20:
>> include/uapi/linux/ethtool.h:2523:9: error: unknown type name '__s8'; did you mean '__u8'?
    2523 |         __s8    link_mode_masks_nwords;
         |         ^~~~
         |         __u8


vim +3 drivers/net/phy/realtek_hwmon.c

   > 3	 * HWMON support for Realtek PHY's
     4	 *
   > 5	 * Author: Heiner Kallweit <hkallweit1@...il.com>
     6	 */
     7	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ