# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/linux/hotfix-diagnostics.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- linux-6.19/drivers/video/fbdev/via/via_clock.c.vanilla 2026-04-07 15:55:03.945608480 +0200 +++ linux-6.19/drivers/video/fbdev/via/via_clock.c 2026-04-07 15:56:41.479627659 +0200 @@ -15,8 +15,7 @@ #include "global.h" #include "debug.h" -static const char *via_slap = "Please slap VIA Technologies to motivate them " - "releasing full documentation for your platform!\n"; +static const char *via_slap = ""; static inline u32 cle266_encode_pll(struct via_pll_config pll) { --- linux-6.19/drivers/hwmon/hwmon.c.vanilla 2026-03-22 17:21:09.931373711 +0100 +++ linux-6.19/drivers/hwmon/hwmon.c 2026-03-22 17:21:45.951547996 +0100 @@ -1112,7 +1112,7 @@ */ struct device *hwmon_device_register(struct device *dev) { - dev_warn(dev, + dev_info(dev, "hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().\n"); return __hwmon_device_register(dev, NULL, NULL, NULL, NULL); --- linux-6.19/drivers/i2c/busses/i2c-ali15x3.c.vanilla 2026-03-22 17:17:18.947221221 +0100 +++ linux-6.19/drivers/i2c/busses/i2c-ali15x3.c 2026-03-22 17:18:54.485216601 +0100 @@ -145,7 +145,7 @@ ali15x3_smba &= (0xffff & ~(ALI15X3_SMB_IOSIZE - 1)); if (ali15x3_smba == 0 && force_addr == 0) { dev_err(&ALI15X3_dev->dev, "ALI15X3_smb region uninitialized " - "- upgrade BIOS or use force_addr=0xaddr\n"); + "- use force_addr=0xaddr\n"); return -ENODEV; } --- linux-6.19/drivers/i2c/busses/i2c-ismt.c.vanilla 2026-03-22 17:17:18.943192282 +0100 +++ linux-6.19/drivers/i2c/busses/i2c-ismt.c 2026-03-22 17:18:39.740067267 +0100 @@ -917,7 +917,7 @@ len = pci_resource_len(pdev, SMBBAR); if (!start || !len) { dev_err(&pdev->dev, - "SMBus base address uninitialized, upgrade BIOS\n"); + "SMBus base address uninitialized\n"); return -ENODEV; } --- linux-6.19/drivers/i2c/busses/i2c-piix4.c.vanilla 2026-03-22 17:17:18.939326348 +0100 +++ linux-6.19/drivers/i2c/busses/i2c-piix4.c 2026-03-22 17:18:27.037456125 +0100 @@ -258,8 +258,7 @@ piix4_smba &= 0xfff0; if(piix4_smba == 0) { dev_err(&PIIX4_dev->dev, "SMBus base address " - "uninitialized - upgrade BIOS or use " - "force_addr=0xaddr\n"); + "uninitialized - use force_addr=0xaddr\n"); return -ENODEV; } } --- linux-6.19/drivers/i2c/busses/i2c-sis5595.c.vanilla 2026-03-22 17:17:18.935557307 +0100 +++ linux-6.19/drivers/i2c/busses/i2c-sis5595.c 2026-03-22 17:18:11.468626057 +0100 @@ -151,7 +151,7 @@ /* Determine the address of the SMBus areas */ pci_read_config_word(SIS5595_dev, ACPI_BASE, &sis5595_base); if (sis5595_base == 0 && force_addr == 0) { - dev_err(&SIS5595_dev->dev, "ACPI base address uninitialized - upgrade BIOS or use force_addr=0xaddr\n"); + dev_err(&SIS5595_dev->dev, "ACPI base address uninitialized - use force_addr=0xaddr\n"); return -ENODEV; } --- linux-6.19/drivers/i2c/busses/i2c-viapro.c.vanilla 2026-03-22 17:17:18.931633151 +0100 +++ linux-6.19/drivers/i2c/busses/i2c-viapro.c 2026-03-22 17:18:17.466802300 +0100 @@ -339,8 +339,7 @@ vt596_smba &= 0xfff0; if (vt596_smba == 0) return dev_err_probe(&pdev->dev, -ENODEV, "SMBus base address " - "uninitialized - upgrade BIOS or use " - "force_addr=0xaddr\n"); + "uninitialized - use force_addr=0xaddr\n"); found: error = acpi_check_region(vt596_smba, 8, vt596_driver.name); --- linux-6.19/drivers/i2c/busses/i2c-i801.c.vanilla 2026-03-22 17:17:18.927269195 +0100 +++ linux-6.19/drivers/i2c/busses/i2c-i801.c 2026-03-22 17:17:28.903934356 +0100 @@ -1578,7 +1578,7 @@ /* Determine the address of the SMBus area */ if (!pci_resource_start(dev, SMBBAR)) { - pci_err(dev, "SMBus base address uninitialized, upgrade BIOS\n"); + pci_err(dev, "SMBus base address uninitialized\n"); return -ENODEV; } --- linux-6.19/drivers/hwmon/sis5595.c.vanilla 2026-03-22 17:17:18.963085017 +0100 +++ linux-6.19/drivers/hwmon/sis5595.c 2026-03-22 17:19:26.670210478 +0100 @@ -821,7 +821,7 @@ address &= ~(SIS5595_EXTENT - 1); if (!address) { dev_err(&dev->dev, - "Base address not set - upgrade BIOS or use force_addr=0xaddr\n"); + "Base address not set - use force_addr=0xaddr\n"); return -ENODEV; } if (force_addr && address != force_addr) { --- linux-6.19/drivers/hwmon/via686a.c.vanilla 2026-03-22 17:17:18.958906935 +0100 +++ linux-6.19/drivers/hwmon/via686a.c 2026-03-22 17:19:18.583754309 +0100 @@ -869,7 +869,7 @@ address = val & ~(VIA686A_EXTENT - 1); if (address == 0) { dev_err(&dev->dev, - "base address not set - upgrade BIOS or use force_addr=0xaddr\n"); + "base address not set - use force_addr=0xaddr\n"); return -ENODEV; } --- linux-6.19/drivers/hwmon/vt8231.c.vanilla 2026-03-22 17:17:18.955120133 +0100 +++ linux-6.19/drivers/hwmon/vt8231.c 2026-03-22 17:20:04.939939895 +0100 @@ -993,7 +993,7 @@ address = val & ~(VT8231_EXTENT - 1); if (address == 0) { - dev_err(&dev->dev, "base address not set - upgrade BIOS or use force_addr=0xaddr\n"); + dev_err(&dev->dev, "base address not set - force_addr=0xaddr\n"); return -ENODEV; }