* drivers/net/usb/lan78xx.c:2625 lan78xx_set_fixed_link() warn: format string contains non-ascii character '\xe2'
@ 2026-03-25 9:30 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2026-03-25 9:30 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Dan Carpenter
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Oleksij Rempel <o.rempel@pengutronix.de>
CC: Jakub Kicinski <kuba@kernel.org>
CC: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bbeb83d3182abe0d245318e274e8531e5dd7a948
commit: e110bc82589752909e283ba5cbc160e0ab56c085 net: usb: lan78xx: Convert to PHYLINK for improved PHY and MAC management
date: 9 months ago
:::::: branch date: 10 hours ago
:::::: commit date: 9 months ago
config: i386-randconfig-141-20260325 (https://download.01.org/0day-ci/archive/20260325/202603251721.bSW13w4a-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
smatch: v0.5.0-9004-gb810ac53
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>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202603251721.bSW13w4a-lkp@intel.com/
New smatch warnings:
drivers/net/usb/lan78xx.c:2625 lan78xx_set_fixed_link() warn: format string contains non-ascii character '\xe2'
Old smatch warnings:
drivers/net/usb/lan78xx.c:2625 lan78xx_set_fixed_link() warn: format string contains non-ascii character '\x80'
drivers/net/usb/lan78xx.c:2625 lan78xx_set_fixed_link() warn: format string contains non-ascii character '\x93'
drivers/net/usb/lan78xx.c:2656 lan78xx_get_phy() warn: format string contains non-ascii character '\xe2'
drivers/net/usb/lan78xx.c:2656 lan78xx_get_phy() warn: format string contains non-ascii character '\x80'
drivers/net/usb/lan78xx.c:2656 lan78xx_get_phy() warn: format string contains non-ascii character '\x93'
drivers/net/usb/lan78xx.c:2860 lan78xx_phy_init() error: we previously assumed 'phydev' could be null (see line 2848)
drivers/net/usb/lan78xx.c:2860 lan78xx_phy_init() warn: 'phydev' can also be NULL
drivers/net/usb/lan78xx.c:2862 lan78xx_phy_init() warn: 'phydev' can also be NULL
drivers/net/usb/lan78xx.c:3142 lan78xx_init_ltm() warn: missing unwind goto?
vim +2625 drivers/net/usb/lan78xx.c
e110bc82589752 Oleksij Rempel 2025-06-18 2607
d39f339d260373 Oleksij Rempel 2025-05-05 2608 /**
e110bc82589752 Oleksij Rempel 2025-06-18 2609 * lan78xx_set_fixed_link() - Set fixed link configuration for LAN7801
d39f339d260373 Oleksij Rempel 2025-05-05 2610 * @dev: LAN78xx device
d39f339d260373 Oleksij Rempel 2025-05-05 2611 *
e110bc82589752 Oleksij Rempel 2025-06-18 2612 * Use fixed link configuration with 1 Gbps full duplex. This is used in special
e110bc82589752 Oleksij Rempel 2025-06-18 2613 * cases like EVB-KSZ9897-1, where LAN7801 acts as a USB-to-Ethernet interface
e110bc82589752 Oleksij Rempel 2025-06-18 2614 * to a switch without a visible PHY.
d39f339d260373 Oleksij Rempel 2025-05-05 2615 *
d39f339d260373 Oleksij Rempel 2025-05-05 2616 * Return: pointer to the registered fixed PHY, or ERR_PTR() on error.
d39f339d260373 Oleksij Rempel 2025-05-05 2617 */
e110bc82589752 Oleksij Rempel 2025-06-18 2618 static int lan78xx_set_fixed_link(struct lan78xx_net *dev)
55d7de9de6c30a Woojung.Huh@microchip.com 2015-07-30 2619 {
e110bc82589752 Oleksij Rempel 2025-06-18 2620 static const struct phylink_link_state state = {
89b36fb5e53244 Raghuram Chary J 2018-04-28 2621 .speed = SPEED_1000,
89b36fb5e53244 Raghuram Chary J 2018-04-28 2622 .duplex = DUPLEX_FULL,
89b36fb5e53244 Raghuram Chary J 2018-04-28 2623 };
d39f339d260373 Oleksij Rempel 2025-05-05 2624
d39f339d260373 Oleksij Rempel 2025-05-05 @2625 netdev_info(dev->net,
e110bc82589752 Oleksij Rempel 2025-06-18 2626 "No PHY found on LAN7801 – using fixed link instead (e.g. EVB-KSZ9897-1)\n");
d39f339d260373 Oleksij Rempel 2025-05-05 2627
e110bc82589752 Oleksij Rempel 2025-06-18 2628 return phylink_set_fixed_link(dev->phylink, &state);
d39f339d260373 Oleksij Rempel 2025-05-05 2629 }
d39f339d260373 Oleksij Rempel 2025-05-05 2630
:::::: The code at line 2625 was first introduced by commit
:::::: d39f339d2603736ff90b0b32d9aea3b954307fd5 net: usb: lan78xx: refactor PHY init to separate detection and MAC configuration
:::::: TO: Oleksij Rempel <o.rempel@pengutronix.de>
:::::: CC: David S. Miller <davem@davemloft.net>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread* drivers/net/usb/lan78xx.c:2625 lan78xx_set_fixed_link() warn: format string contains non-ascii character '\xe2'
@ 2026-07-08 17:15 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2026-07-08 17:15 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Dan Carpenter
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Oleksij Rempel <o.rempel@pengutronix.de>
CC: Jakub Kicinski <kuba@kernel.org>
CC: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0e35b9b6ec0ffcc5e23cbdec09f5c622ad532b53
commit: e110bc82589752909e283ba5cbc160e0ab56c085 net: usb: lan78xx: Convert to PHYLINK for improved PHY and MAC management
date: 1 year, 1 month ago
:::::: branch date: 2 days ago
:::::: commit date: 1 year, 1 month ago
config: x86_64-randconfig-161 (https://download.01.org/0day-ci/archive/20260709/202607090105.f68Om5DL-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
smatch: v0.5.0-9185-gbcc58b9c
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
| Fixes: e110bc825897 ("net: usb: lan78xx: Convert to PHYLINK for improved PHY and MAC management")
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202607090105.f68Om5DL-lkp@intel.com/
New smatch warnings:
drivers/net/usb/lan78xx.c:2625 lan78xx_set_fixed_link() warn: format string contains non-ascii character '\xe2'
Old smatch warnings:
drivers/net/usb/lan78xx.c:2625 lan78xx_set_fixed_link() warn: format string contains non-ascii character '\x80'
drivers/net/usb/lan78xx.c:2625 lan78xx_set_fixed_link() warn: format string contains non-ascii character '\x93'
drivers/net/usb/lan78xx.c:2656 lan78xx_get_phy() warn: format string contains non-ascii character '\xe2'
drivers/net/usb/lan78xx.c:2656 lan78xx_get_phy() warn: format string contains non-ascii character '\x80'
drivers/net/usb/lan78xx.c:2656 lan78xx_get_phy() warn: format string contains non-ascii character '\x93'
drivers/net/usb/lan78xx.c:2860 lan78xx_phy_init() error: we previously assumed 'phydev' could be null (see line 2848)
drivers/net/usb/lan78xx.c:2860 lan78xx_phy_init() warn: 'phydev' can also be NULL
drivers/net/usb/lan78xx.c:2862 lan78xx_phy_init() warn: 'phydev' can also be NULL
drivers/net/usb/lan78xx.c:3142 lan78xx_init_ltm() warn: missing unwind goto?
vim +2625 drivers/net/usb/lan78xx.c
e110bc82589752 Oleksij Rempel 2025-06-18 2607
d39f339d260373 Oleksij Rempel 2025-05-05 2608 /**
e110bc82589752 Oleksij Rempel 2025-06-18 2609 * lan78xx_set_fixed_link() - Set fixed link configuration for LAN7801
d39f339d260373 Oleksij Rempel 2025-05-05 2610 * @dev: LAN78xx device
d39f339d260373 Oleksij Rempel 2025-05-05 2611 *
e110bc82589752 Oleksij Rempel 2025-06-18 2612 * Use fixed link configuration with 1 Gbps full duplex. This is used in special
e110bc82589752 Oleksij Rempel 2025-06-18 2613 * cases like EVB-KSZ9897-1, where LAN7801 acts as a USB-to-Ethernet interface
e110bc82589752 Oleksij Rempel 2025-06-18 2614 * to a switch without a visible PHY.
d39f339d260373 Oleksij Rempel 2025-05-05 2615 *
d39f339d260373 Oleksij Rempel 2025-05-05 2616 * Return: pointer to the registered fixed PHY, or ERR_PTR() on error.
d39f339d260373 Oleksij Rempel 2025-05-05 2617 */
e110bc82589752 Oleksij Rempel 2025-06-18 2618 static int lan78xx_set_fixed_link(struct lan78xx_net *dev)
55d7de9de6c30a Woojung.Huh@microchip.com 2015-07-30 2619 {
e110bc82589752 Oleksij Rempel 2025-06-18 2620 static const struct phylink_link_state state = {
89b36fb5e53244 Raghuram Chary J 2018-04-28 2621 .speed = SPEED_1000,
89b36fb5e53244 Raghuram Chary J 2018-04-28 2622 .duplex = DUPLEX_FULL,
89b36fb5e53244 Raghuram Chary J 2018-04-28 2623 };
d39f339d260373 Oleksij Rempel 2025-05-05 2624
d39f339d260373 Oleksij Rempel 2025-05-05 @2625 netdev_info(dev->net,
e110bc82589752 Oleksij Rempel 2025-06-18 2626 "No PHY found on LAN7801 – using fixed link instead (e.g. EVB-KSZ9897-1)\n");
d39f339d260373 Oleksij Rempel 2025-05-05 2627
e110bc82589752 Oleksij Rempel 2025-06-18 2628 return phylink_set_fixed_link(dev->phylink, &state);
d39f339d260373 Oleksij Rempel 2025-05-05 2629 }
d39f339d260373 Oleksij Rempel 2025-05-05 2630
:::::: The code at line 2625 was first introduced by commit
:::::: d39f339d2603736ff90b0b32d9aea3b954307fd5 net: usb: lan78xx: refactor PHY init to separate detection and MAC configuration
:::::: TO: Oleksij Rempel <o.rempel@pengutronix.de>
:::::: CC: David S. Miller <davem@davemloft.net>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread* drivers/net/usb/lan78xx.c:2625 lan78xx_set_fixed_link() warn: format string contains non-ascii character '\xe2'
@ 2025-12-16 14:12 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2025-12-16 14:12 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Dan Carpenter
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Oleksij Rempel <o.rempel@pengutronix.de>
CC: Jakub Kicinski <kuba@kernel.org>
CC: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 40fbbd64bba6c6e7a72885d2f59b6a3be9991eeb
commit: e110bc82589752909e283ba5cbc160e0ab56c085 net: usb: lan78xx: Convert to PHYLINK for improved PHY and MAC management
date: 6 months ago
:::::: branch date: 6 hours ago
:::::: commit date: 6 months ago
config: sparc-randconfig-r072-20251213 (https://download.01.org/0day-ci/archive/20251216/202512162219.p0QYUCTQ-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 15.1.0
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>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202512162219.p0QYUCTQ-lkp@intel.com/
New smatch warnings:
drivers/net/usb/lan78xx.c:2625 lan78xx_set_fixed_link() warn: format string contains non-ascii character '\xe2'
Old smatch warnings:
drivers/net/usb/lan78xx.c:2625 lan78xx_set_fixed_link() warn: format string contains non-ascii character '\x80'
drivers/net/usb/lan78xx.c:2625 lan78xx_set_fixed_link() warn: format string contains non-ascii character '\x93'
drivers/net/usb/lan78xx.c:2656 lan78xx_get_phy() warn: format string contains non-ascii character '\xe2'
drivers/net/usb/lan78xx.c:2656 lan78xx_get_phy() warn: format string contains non-ascii character '\x80'
drivers/net/usb/lan78xx.c:2656 lan78xx_get_phy() warn: format string contains non-ascii character '\x93'
drivers/net/usb/lan78xx.c:2860 lan78xx_phy_init() error: we previously assumed 'phydev' could be null (see line 2848)
drivers/net/usb/lan78xx.c:2860 lan78xx_phy_init() warn: 'phydev' can also be NULL
drivers/net/usb/lan78xx.c:2862 lan78xx_phy_init() warn: 'phydev' can also be NULL
drivers/net/usb/lan78xx.c:3142 lan78xx_init_ltm() warn: missing unwind goto?
vim +2625 drivers/net/usb/lan78xx.c
e110bc82589752 Oleksij Rempel 2025-06-18 2607
d39f339d260373 Oleksij Rempel 2025-05-05 2608 /**
e110bc82589752 Oleksij Rempel 2025-06-18 2609 * lan78xx_set_fixed_link() - Set fixed link configuration for LAN7801
d39f339d260373 Oleksij Rempel 2025-05-05 2610 * @dev: LAN78xx device
d39f339d260373 Oleksij Rempel 2025-05-05 2611 *
e110bc82589752 Oleksij Rempel 2025-06-18 2612 * Use fixed link configuration with 1 Gbps full duplex. This is used in special
e110bc82589752 Oleksij Rempel 2025-06-18 2613 * cases like EVB-KSZ9897-1, where LAN7801 acts as a USB-to-Ethernet interface
e110bc82589752 Oleksij Rempel 2025-06-18 2614 * to a switch without a visible PHY.
d39f339d260373 Oleksij Rempel 2025-05-05 2615 *
d39f339d260373 Oleksij Rempel 2025-05-05 2616 * Return: pointer to the registered fixed PHY, or ERR_PTR() on error.
d39f339d260373 Oleksij Rempel 2025-05-05 2617 */
e110bc82589752 Oleksij Rempel 2025-06-18 2618 static int lan78xx_set_fixed_link(struct lan78xx_net *dev)
55d7de9de6c30a Woojung.Huh@microchip.com 2015-07-30 2619 {
e110bc82589752 Oleksij Rempel 2025-06-18 2620 static const struct phylink_link_state state = {
89b36fb5e53244 Raghuram Chary J 2018-04-28 2621 .speed = SPEED_1000,
89b36fb5e53244 Raghuram Chary J 2018-04-28 2622 .duplex = DUPLEX_FULL,
89b36fb5e53244 Raghuram Chary J 2018-04-28 2623 };
d39f339d260373 Oleksij Rempel 2025-05-05 2624
d39f339d260373 Oleksij Rempel 2025-05-05 @2625 netdev_info(dev->net,
e110bc82589752 Oleksij Rempel 2025-06-18 2626 "No PHY found on LAN7801 – using fixed link instead (e.g. EVB-KSZ9897-1)\n");
d39f339d260373 Oleksij Rempel 2025-05-05 2627
e110bc82589752 Oleksij Rempel 2025-06-18 2628 return phylink_set_fixed_link(dev->phylink, &state);
d39f339d260373 Oleksij Rempel 2025-05-05 2629 }
d39f339d260373 Oleksij Rempel 2025-05-05 2630
:::::: The code at line 2625 was first introduced by commit
:::::: d39f339d2603736ff90b0b32d9aea3b954307fd5 net: usb: lan78xx: refactor PHY init to separate detection and MAC configuration
:::::: TO: Oleksij Rempel <o.rempel@pengutronix.de>
:::::: CC: David S. Miller <davem@davemloft.net>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-08 17:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-25 9:30 drivers/net/usb/lan78xx.c:2625 lan78xx_set_fixed_link() warn: format string contains non-ascii character '\xe2' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-07-08 17:15 kernel test robot
2025-12-16 14:12 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.