AI Trajectory


Trajectory: (Expand/Collapse All)
Seq Timestamp Type Name Duration
0/0 2026/10/13 03:55 flow patch-triage
0m Args:
null

Results:
{
  "EnableConfigs": null,
  "FocusSymbols": [],
  "KMSANReasoning": "",
  "NeedsKMSAN": false,
  "Reasoning": "The patch purely updates error logging statements (dev_err, dev_dbg, pr_err, usb_err) across several USB drivers to use the '%pe' format specifier directly with error pointers instead of '%ld' with PTR_ERR(). These changes are purely decorative logging modifications that do not alter control flow, invariants, or data structures.",
  "WorthFuzzing": false
}

1/1 2026/10/13 03:55 action read-patch-diff
0m Args:
null

Results:
{
  "PatchDiff": "commit 6d0b2c6606f750cabec95499ecdeb46eb8366958\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate:   Tue Oct 13 03:55:48 2026 +0000\n\n    syz-cluster: applied patch under review\n\ndiff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c\nindex 9600e1ec09930..c78caa1b57c9d 100644\n--- a/drivers/usb/atm/usbatm.c\n+++ b/drivers/usb/atm/usbatm.c\n@@ -979,8 +979,8 @@ static int usbatm_heavy_init(struct usbatm_data *instance)\n \tt = kthread_create(usbatm_do_heavy_init, instance, \"%s\",\n \t\t\tinstance-\u003edriver-\u003edriver_name);\n \tif (IS_ERR(t)) {\n-\t\tusb_err(instance, \"%s: failed to create kernel_thread (%ld)!\\n\",\n-\t\t\t\t__func__, PTR_ERR(t));\n+\t\tusb_err(instance, \"%s: failed to create kernel_thread (%pe)!\\n\",\n+\t\t\t\t__func__, t);\n \t\treturn PTR_ERR(t);\n \t}\n \ndiff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c\nindex 56d2ba824a0b2..7bfe37ed68aeb 100644\n--- a/drivers/usb/chipidea/ci_hdrc_imx.c\n+++ b/drivers/usb/chipidea/ci_hdrc_imx.c\n@@ -218,8 +218,8 @@ static int imx_get_clks(struct device *dev)\n \t\tif (IS_ERR(data-\u003eclk)) {\n \t\t\tret = PTR_ERR(data-\u003eclk);\n \t\t\tdev_err(dev,\n-\t\t\t\t\"Failed to get clks, err=%ld,%ld\\n\",\n-\t\t\t\tPTR_ERR(data-\u003eclk), PTR_ERR(data-\u003eclk_ipg));\n+\t\t\t\t\"Failed to get clks, err=%pe,%pe\\n\",\n+\t\t\t\tdata-\u003eclk, data-\u003eclk_ipg);\n \t\t\treturn ret;\n \t\t}\n \t\t/* Get wakeup clock. Not all of the platforms need to\n@@ -448,8 +448,8 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev)\n \t\tpinctrl_hsic_idle = pinctrl_lookup_state(data-\u003epinctrl, \"idle\");\n \t\tif (IS_ERR(pinctrl_hsic_idle)) {\n \t\t\tdev_err(dev,\n-\t\t\t\t\"pinctrl_hsic_idle lookup failed, err=%ld\\n\",\n-\t\t\t\t\tPTR_ERR(pinctrl_hsic_idle));\n+\t\t\t\t\"pinctrl_hsic_idle lookup failed, err=%pe\\n\",\n+\t\t\t\t\tpinctrl_hsic_idle);\n \t\t\tret = PTR_ERR(pinctrl_hsic_idle);\n \t\t\tgoto err_put;\n \t\t}\n@@ -464,8 +464,8 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev)\n \t\t\t\t\t\t\t\t\"active\");\n \t\tif (IS_ERR(data-\u003epinctrl_hsic_active)) {\n \t\t\tdev_err(dev,\n-\t\t\t\t\"pinctrl_hsic_active lookup failed, err=%ld\\n\",\n-\t\t\t\t\tPTR_ERR(data-\u003epinctrl_hsic_active));\n+\t\t\t\t\"pinctrl_hsic_active lookup failed, err=%pe\\n\",\n+\t\t\t\t\tdata-\u003epinctrl_hsic_active);\n \t\t\tret = PTR_ERR(data-\u003epinctrl_hsic_active);\n \t\t\tgoto err_put;\n \t\t}\ndiff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c\nindex 07563be0013f4..09db8a4eace20 100644\n--- a/drivers/usb/chipidea/core.c\n+++ b/drivers/usb/chipidea/core.c\n@@ -680,8 +680,8 @@ static int ci_get_platdata(struct device *dev,\n \t\t\t/* no vbus regulator is needed */\n \t\t\tplatdata-\u003ereg_vbus = NULL;\n \t\t} else if (IS_ERR(platdata-\u003ereg_vbus)) {\n-\t\t\tdev_err(dev, \"Getting regulator error: %ld\\n\",\n-\t\t\t\tPTR_ERR(platdata-\u003ereg_vbus));\n+\t\t\tdev_err(dev, \"Getting regulator error: %pe\\n\",\n+\t\t\t\tplatdata-\u003ereg_vbus);\n \t\t\treturn PTR_ERR(platdata-\u003ereg_vbus);\n \t\t}\n \t\t/* Get TPL support */\ndiff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c\nindex 5262e11c12cd3..8c750a93c3500 100644\n--- a/drivers/usb/core/hub.c\n+++ b/drivers/usb/core/hub.c\n@@ -5671,8 +5671,7 @@ static void hub_port_connect_change(struct usb_hub *hub, int port1,\n \t\t\tdescr = usb_get_device_descriptor(udev);\n \t\t\tif (IS_ERR(descr)) {\n \t\t\t\tdev_dbg(\u0026udev-\u003edev,\n-\t\t\t\t\t\t\"can't read device descriptor %ld\\n\",\n-\t\t\t\t\t\tPTR_ERR(descr));\n+\t\t\t\t\t\t\"can't read device descriptor %pe\\n\", descr);\n \t\t\t} else {\n \t\t\t\tif (descriptors_changed(udev, descr,\n \t\t\t\t\t\tudev-\u003ebos)) {\ndiff --git a/drivers/usb/dwc2/pci.c b/drivers/usb/dwc2/pci.c\nindex f3a1e4232a31d..7ff9c4df941e3 100644\n--- a/drivers/usb/dwc2/pci.c\n+++ b/drivers/usb/dwc2/pci.c\n@@ -68,8 +68,7 @@ static int dwc2_pci_probe(struct pci_dev *pci,\n \n \tphy = usb_phy_generic_register();\n \tif (IS_ERR(phy)) {\n-\t\tdev_err(dev, \"error registering generic PHY (%ld)\\n\",\n-\t\t\tPTR_ERR(phy));\n+\t\tdev_err(dev, \"error registering generic PHY (%pe)\\n\", phy);\n \t\treturn PTR_ERR(phy);\n \t}\n \ndiff --git a/drivers/usb/gadget/function/u_serial.c b/drivers/usb/gadget/function/u_serial.c\nindex cdd1dfc666c4f..da31e5cea0a55 100644\n--- a/drivers/usb/gadget/function/u_serial.c\n+++ b/drivers/usb/gadget/function/u_serial.c\n@@ -1311,8 +1311,8 @@ int gserial_alloc_line_no_console(unsigned char *line_num)\n \ttty_dev = tty_port_register_device(\u0026port-\u003eport,\n \t\t\tgs_tty_driver, port_num, NULL);\n \tif (IS_ERR(tty_dev)) {\n-\t\tpr_err(\"%s: failed to register tty for port %d, err %ld\\n\",\n-\t\t\t\t__func__, port_num, PTR_ERR(tty_dev));\n+\t\tpr_err(\"%s: failed to register tty for port %d, err %pe\\n\",\n+\t\t\t\t__func__, port_num, tty_dev);\n \n \t\tret = PTR_ERR(tty_dev);\n \t\tmutex_lock(\u0026ports[port_num].lock);\ndiff --git a/drivers/usb/misc/usb3503.c b/drivers/usb/misc/usb3503.c\nindex 759770a132606..1160dc594b1c1 100644\n--- a/drivers/usb/misc/usb3503.c\n+++ b/drivers/usb/misc/usb3503.c\n@@ -202,8 +202,7 @@ static int usb3503_probe(struct usb3503 *hub)\n \n \t\thub-\u003eclk = devm_clk_get_optional(dev, \"refclk\");\n \t\tif (IS_ERR(hub-\u003eclk)) {\n-\t\t\tdev_err(dev, \"unable to request refclk (%ld)\\n\",\n-\t\t\t\t\tPTR_ERR(hub-\u003eclk));\n+\t\t\tdev_err(dev, \"unable to request refclk (%pe)\\n\", hub-\u003eclk);\n \t\t\treturn PTR_ERR(hub-\u003eclk);\n \t\t}\n \ndiff --git a/drivers/usb/typec/mux/pi3usb30532.c b/drivers/usb/typec/mux/pi3usb30532.c\nindex 985683fe49e91..b32f4c433de95 100644\n--- a/drivers/usb/typec/mux/pi3usb30532.c\n+++ b/drivers/usb/typec/mux/pi3usb30532.c\n@@ -139,8 +139,7 @@ static int pi3usb30532_probe(struct i2c_client *client)\n \n \tpi-\u003esw = typec_switch_register(dev, \u0026sw_desc);\n \tif (IS_ERR(pi-\u003esw)) {\n-\t\tdev_err(dev, \"Error registering typec switch: %ld\\n\",\n-\t\t\tPTR_ERR(pi-\u003esw));\n+\t\tdev_err(dev, \"Error registering typec switch: %pe\\n\", pi-\u003esw);\n \t\treturn PTR_ERR(pi-\u003esw);\n \t}\n \n@@ -151,8 +150,7 @@ static int pi3usb30532_probe(struct i2c_client *client)\n \tpi-\u003emux = typec_mux_register(dev, \u0026mux_desc);\n \tif (IS_ERR(pi-\u003emux)) {\n \t\ttypec_switch_unregister(pi-\u003esw);\n-\t\tdev_err(dev, \"Error registering typec mux: %ld\\n\",\n-\t\t\tPTR_ERR(pi-\u003emux));\n+\t\tdev_err(dev, \"Error registering typec mux: %pe\\n\", pi-\u003emux);\n \t\treturn PTR_ERR(pi-\u003emux);\n \t}\n \ndiff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c\nindex 89eec20a2064c..ad10470ea73b0 100644\n--- a/drivers/usb/typec/tcpm/tcpm.c\n+++ b/drivers/usb/typec/tcpm/tcpm.c\n@@ -4796,7 +4796,7 @@ static void tcpm_typec_connect(struct tcpm_port *port)\n \t\t\tport-\u003epartner_desc.accessory = TYPEC_ACCESSORY_NONE;\n \t\tpartner = typec_register_partner(port-\u003etypec_port, \u0026port-\u003epartner_desc);\n \t\tif (IS_ERR(partner)) {\n-\t\t\tdev_err(port-\u003edev, \"Failed to register partner (%ld)\\n\", PTR_ERR(partner));\n+\t\t\tdev_err(port-\u003edev, \"Failed to register partner (%pe)\\n\", partner);\n \t\t\treturn;\n \t\t}\n \ndiff --git a/drivers/usb/typec/wusb3801.c b/drivers/usb/typec/wusb3801.c\nindex 6062875fb04a9..86d13ab416704 100644\n--- a/drivers/usb/typec/wusb3801.c\n+++ b/drivers/usb/typec/wusb3801.c\n@@ -277,8 +277,8 @@ static void wusb3801_hw_update(struct wusb3801 *wusb3801)\n \t\tif (partner_type != WUSB3801_STAT_PARTNER_STANDBY) {\n \t\t\twusb3801-\u003epartner = typec_register_partner(port, \u0026desc);\n \t\t\tif (IS_ERR(wusb3801-\u003epartner))\n-\t\t\t\tdev_err(dev, \"Failed to register partner: %ld\\n\",\n-\t\t\t\t\tPTR_ERR(wusb3801-\u003epartner));\n+\t\t\t\tdev_err(dev, \"Failed to register partner: %pe\\n\",\n+\t\t\t\t\twusb3801-\u003epartner);\n \t\t}\n \n \t\tdata_role = pwr_role == TYPEC_SOURCE ? TYPEC_HOST : TYPEC_DEVICE;\n"
}

2/1 2026/10/13 03:55 agent patch-evaluator
0m Model:
core

Args:
null

Results:
{
  "EnableConfigs": null,
  "FocusSymbols": [],
  "Reasoning": "The patch purely updates error logging statements (dev_err, dev_dbg, pr_err, usb_err) across several USB drivers to use the '%pe' format specifier directly with error pointers instead of '%ld' with PTR_ERR(). These changes are purely decorative logging modifications that do not alter control flow, invariants, or data structures.",
  "WorthFuzzing": false
}

Instruction:
You are an expert Linux kernel maintainer and security engineer.
Your job is to review a provided patch series and evaluate whether it warrants fuzzing with syzkaller.

IMPORTANT: The changes have ALREADY been applied and committed as the HEAD commit in
your workspace. Do NOT rely on internal assumptions. You must actively use your code access
tools to inspect the actual source code, callers, and surrounding context.

================================================================================
1. CORE TRIAGE PHILOSOPHY
================================================================================
The goal of patch fuzzing is to discover crashes, regressions, exposed latent bugs,
and newly triggered assertions introduced by the patch series.

- REACHABILITY IS THE PRIMARY GATE:
  Fuzzing can only discover bugs in code that can actually execute in standard virtualized
  environments (GCE or QEMU, utilizing software-emulated devices like USB gadgets, netdev, tun/tap).
  If the modified code is structurally unreachable (see Section 2), it MUST NOT be fuzzed,
  regardless of whether it adds assertions or complex logic.

- DO NOT BLINDLY TRUST "NO FUNCTIONAL CHANGE" (NFCI) OR "REFACTORING" CLAIMS:
  Patch authors routinely label changes as "cleanups", "refactorings", or state
  "No functional change intended". Do NOT take these claims at face value.
  Code refactorings that rearrange logic, introduce helper functions, or alter state management
  in core subsystems frequently introduce subtle semantic shifts or uncover latent kernel bugs.
  If reachable executable code is modified or refactored, it MUST be fuzzed.

- NEW OR MODIFIED ASSERTIONS IN REACHABLE CODE MUST BE FUZZED:
  When a patch introduces or modifies runtime checks or assertions (e.g., WARN_ON*, VM_WARN_ON*,
  BUG_ON*, lockdep_assert*) in reachable code paths, it enforces new or stricter invariants.
  Even if the author believes the invariant always holds, fuzzing is essential to verify whether
  an unusual sequence of operations can violate it.

================================================================================
2. WHEN TO RETURN WorthFuzzing=false (NEGATIVE CRITERIA)
================================================================================
Return WorthFuzzing=false ONLY IF all modified code falls strictly into one or more of these categories:

- Non-kernel and non-executable changes:
  * Modifications to Documentation/, comments, or spelling fixes.
  * User-space directories, self-tests, samples, or scripts (e.g., tools/, samples/, scripts/, usr/)
    that do not affect the compiled kernel image (vmlinux) or kernel modules.
  * Purely decorative logging (e.g., message strings in pr_err, printk, dev_info) or tracepoints
    that do not alter control flow or data structures.
  * Build system or Kconfig changes that do not alter compiled C logic.
- Structurally unreachable hardware:
  * Vendor-specific PCIe switches, SmartNICs, or GPU drivers (e.g., mlxsw, pds_core, qed,
    ionic, amdgpu) requiring physical ASIC/PCIe cards not emulated in standard QEMU.
- Unreachable execution paths:
  * Driver teardown callbacks (.remove, .shutdown, pci_unregister_driver) executed only during
    physical PCI hot-unplug or manual sysfs driver unbinding.
  * Code paths exclusive to architectures other than the target architecture.

================================================================================
3. WHEN TO RETURN WorthFuzzing=true (POSITIVE CRITERIA)
================================================================================
Return WorthFuzzing=true whenever the patch touches reachable executable code, including:
- Core Subsystems:
  * Any logic modifications in memory management (mm/), synchronization/locking (kernel/locking/),
    BPF, scheduler, core networking, VFS, or syscall handling.
- Refactorings and Code Cleanups:
  * Any restructuring of reachable data structures, helper abstractions, or algorithm flows.
- Runtime Assertions and Defensive Checks:
  * Any introduction or alteration of assertions (WARN_ON*, VM_WARN_ON*, BUG_ON*, etc.) in reachable paths.
- Reachable Drivers and Protocols:
  * Drivers accessible via virtual buses (virtio, USB gadget, loopback, netlink, binder, sockets, etc.).

================================================================================
4. EXTRACTING FocusSymbols (PREVENTING DILUTION)
================================================================================
When WorthFuzzing=true, you must extract specific kernel functions into FocusSymbols to guide the fuzzer:

- AVOID UBIQUITOUS LIFECYCLE HOT-PATHS:
  Do NOT list generic, ubiquitous functions called by almost every program in the corpus
  (including, but not limited to: general memory allocators and deallocators, page fault
  and trap handlers, or core synchronization primitives; this is not an exhaustive list).
  Listing ubiquitous functions causes the fuzzer to classify thousands of unrelated tests as "focused",
  which severely dilutes fuzzing effort away from the actual changes.

- TARGET SPECIFIC FEATURE LOGIC AND ENTRYPOINTS:
  List functions that specifically implement the logic being added or altered, or direct API entrypoints
  for the subsystem feature under review.

- HANDLING STATIC INLINE FUNCTIONS IN HEADERS (.h):
  Compiler-inlined static functions (such as static inlines in mm/*.h or include/linux/*.h) lack
  distinct symbol addresses in vmlinux and cannot be targeted directly by symbol coverage filters.
  If the changes are primarily in static inline helpers, identify non-static, feature-specific caller
  functions in .c files that exercise them (avoiding ubiquitous lifecycle wrappers).

================================================================================
5. IDENTIFYING EnableConfigs
================================================================================
Identify any specific CONFIG_ options required to properly compile and reach the modified code:
- Inspect Kconfig files and #ifdef guards; do not make assumptions.
- Check "depends on" lines in Kconfig to include any non-standard parent subsystem configs needed.
- Strip any 'CONFIG_' prefix (e.g., return "NET_IPV4" instead of "CONFIG_NET_IPV4").
Prefer calling several tools at the same time to save round-trips.


Use set-results tool to provide results of the analysis.
It must be called exactly once before the final reply.
Ignore results of this tool.

Prompt:
Target architecture: amd64

For your convenience, here is the diff of the changes:
commit 6d0b2c6606f750cabec95499ecdeb46eb8366958
Author: syz-cluster <triage@syzkaller.com>
Date:   Tue Oct 13 03:55:48 2026 +0000

    syz-cluster: applied patch under review

diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c
index 9600e1ec09930..c78caa1b57c9d 100644
--- a/drivers/usb/atm/usbatm.c
+++ b/drivers/usb/atm/usbatm.c
@@ -979,8 +979,8 @@ static int usbatm_heavy_init(struct usbatm_data *instance)
 	t = kthread_create(usbatm_do_heavy_init, instance, "%s",
 			instance->driver->driver_name);
 	if (IS_ERR(t)) {
-		usb_err(instance, "%s: failed to create kernel_thread (%ld)!\n",
-				__func__, PTR_ERR(t));
+		usb_err(instance, "%s: failed to create kernel_thread (%pe)!\n",
+				__func__, t);
 		return PTR_ERR(t);
 	}
 
diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c
index 56d2ba824a0b2..7bfe37ed68aeb 100644
--- a/drivers/usb/chipidea/ci_hdrc_imx.c
+++ b/drivers/usb/chipidea/ci_hdrc_imx.c
@@ -218,8 +218,8 @@ static int imx_get_clks(struct device *dev)
 		if (IS_ERR(data->clk)) {
 			ret = PTR_ERR(data->clk);
 			dev_err(dev,
-				"Failed to get clks, err=%ld,%ld\n",
-				PTR_ERR(data->clk), PTR_ERR(data->clk_ipg));
+				"Failed to get clks, err=%pe,%pe\n",
+				data->clk, data->clk_ipg);
 			return ret;
 		}
 		/* Get wakeup clock. Not all of the platforms need to
@@ -448,8 +448,8 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev)
 		pinctrl_hsic_idle = pinctrl_lookup_state(data->pinctrl, "idle");
 		if (IS_ERR(pinctrl_hsic_idle)) {
 			dev_err(dev,
-				"pinctrl_hsic_idle lookup failed, err=%ld\n",
-					PTR_ERR(pinctrl_hsic_idle));
+				"pinctrl_hsic_idle lookup failed, err=%pe\n",
+					pinctrl_hsic_idle);
 			ret = PTR_ERR(pinctrl_hsic_idle);
 			goto err_put;
 		}
@@ -464,8 +464,8 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev)
 								"active");
 		if (IS_ERR(data->pinctrl_hsic_active)) {
 			dev_err(dev,
-				"pinctrl_hsic_active lookup failed, err=%ld\n",
-					PTR_ERR(data->pinctrl_hsic_active));
+				"pinctrl_hsic_active lookup failed, err=%pe\n",
+					data->pinctrl_hsic_active);
 			ret = PTR_ERR(data->pinctrl_hsic_active);
 			goto err_put;
 		}
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
index 07563be0013f4..09db8a4eace20 100644
--- a/drivers/usb/chipidea/core.c
+++ b/drivers/usb/chipidea/core.c
@@ -680,8 +680,8 @@ static int ci_get_platdata(struct device *dev,
 			/* no vbus regulator is needed */
 			platdata->reg_vbus = NULL;
 		} else if (IS_ERR(platdata->reg_vbus)) {
-			dev_err(dev, "Getting regulator error: %ld\n",
-				PTR_ERR(platdata->reg_vbus));
+			dev_err(dev, "Getting regulator error: %pe\n",
+				platdata->reg_vbus);
 			return PTR_ERR(platdata->reg_vbus);
 		}
 		/* Get TPL support */
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 5262e11c12cd3..8c750a93c3500 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -5671,8 +5671,7 @@ static void hub_port_connect_change(struct usb_hub *hub, int port1,
 			descr = usb_get_device_descriptor(udev);
 			if (IS_ERR(descr)) {
 				dev_dbg(&udev->dev,
-						"can't read device descriptor %ld\n",
-						PTR_ERR(descr));
+						"can't read device descriptor %pe\n", descr);
 			} else {
 				if (descriptors_changed(udev, descr,
 						udev->bos)) {
diff --git a/drivers/usb/dwc2/pci.c b/drivers/usb/dwc2/pci.c
index f3a1e4232a31d..7ff9c4df941e3 100644
--- a/drivers/usb/dwc2/pci.c
+++ b/drivers/usb/dwc2/pci.c
@@ -68,8 +68,7 @@ static int dwc2_pci_probe(struct pci_dev *pci,
 
 	phy = usb_phy_generic_register();
 	if (IS_ERR(phy)) {
-		dev_err(dev, "error registering generic PHY (%ld)\n",
-			PTR_ERR(phy));
+		dev_err(dev, "error registering generic PHY (%pe)\n", phy);
 		return PTR_ERR(phy);
 	}
 
diff --git a/drivers/usb/gadget/function/u_serial.c b/drivers/usb/gadget/function/u_serial.c
index cdd1dfc666c4f..da31e5cea0a55 100644
--- a/drivers/usb/gadget/function/u_serial.c
+++ b/drivers/usb/gadget/function/u_serial.c
@@ -1311,8 +1311,8 @@ int gserial_alloc_line_no_console(unsigned char *line_num)
 	tty_dev = tty_port_register_device(&port->port,
 			gs_tty_driver, port_num, NULL);
 	if (IS_ERR(tty_dev)) {
-		pr_err("%s: failed to register tty for port %d, err %ld\n",
-				__func__, port_num, PTR_ERR(tty_dev));
+		pr_err("%s: failed to register tty for port %d, err %pe\n",
+				__func__, port_num, tty_dev);
 
 		ret = PTR_ERR(tty_dev);
 		mutex_lock(&ports[port_num].lock);
diff --git a/drivers/usb/misc/usb3503.c b/drivers/usb/misc/usb3503.c
index 759770a132606..1160dc594b1c1 100644
--- a/drivers/usb/misc/usb3503.c
+++ b/drivers/usb/misc/usb3503.c
@@ -202,8 +202,7 @@ static int usb3503_probe(struct usb3503 *hub)
 
 		hub->clk = devm_clk_get_optional(dev, "refclk");
 		if (IS_ERR(hub->clk)) {
-			dev_err(dev, "unable to request refclk (%ld)\n",
-					PTR_ERR(hub->clk));
+			dev_err(dev, "unable to request refclk (%pe)\n", hub->clk);
 			return PTR_ERR(hub->clk);
 		}
 
diff --git a/drivers/usb/typec/mux/pi3usb30532.c b/drivers/usb/typec/mux/pi3usb30532.c
index 985683fe49e91..b32f4c433de95 100644
--- a/drivers/usb/typec/mux/pi3usb30532.c
+++ b/drivers/usb/typec/mux/pi3usb30532.c
@@ -139,8 +139,7 @@ static int pi3usb30532_probe(struct i2c_client *client)
 
 	pi->sw = typec_switch_register(dev, &sw_desc);
 	if (IS_ERR(pi->sw)) {
-		dev_err(dev, "Error registering typec switch: %ld\n",
-			PTR_ERR(pi->sw));
+		dev_err(dev, "Error registering typec switch: %pe\n", pi->sw);
 		return PTR_ERR(pi->sw);
 	}
 
@@ -151,8 +150,7 @@ static int pi3usb30532_probe(struct i2c_client *client)
 	pi->mux = typec_mux_register(dev, &mux_desc);
 	if (IS_ERR(pi->mux)) {
 		typec_switch_unregister(pi->sw);
-		dev_err(dev, "Error registering typec mux: %ld\n",
-			PTR_ERR(pi->mux));
+		dev_err(dev, "Error registering typec mux: %pe\n", pi->mux);
 		return PTR_ERR(pi->mux);
 	}
 
diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c
index 89eec20a2064c..ad10470ea73b0 100644
--- a/drivers/usb/typec/tcpm/tcpm.c
+++ b/drivers/usb/typec/tcpm/tcpm.c
@@ -4796,7 +4796,7 @@ static void tcpm_typec_connect(struct tcpm_port *port)
 			port->partner_desc.accessory = TYPEC_ACCESSORY_NONE;
 		partner = typec_register_partner(port->typec_port, &port->partner_desc);
 		if (IS_ERR(partner)) {
-			dev_err(port->dev, "Failed to register partner (%ld)\n", PTR_ERR(partner));
+			dev_err(port->dev, "Failed to register partner (%pe)\n", partner);
 			return;
 		}
 
diff --git a/drivers/usb/typec/wusb3801.c b/drivers/usb/typec/wusb3801.c
index 6062875fb04a9..86d13ab416704 100644
--- a/drivers/usb/typec/wusb3801.c
+++ b/drivers/usb/typec/wusb3801.c
@@ -277,8 +277,8 @@ static void wusb3801_hw_update(struct wusb3801 *wusb3801)
 		if (partner_type != WUSB3801_STAT_PARTNER_STANDBY) {
 			wusb3801->partner = typec_register_partner(port, &desc);
 			if (IS_ERR(wusb3801->partner))
-				dev_err(dev, "Failed to register partner: %ld\n",
-					PTR_ERR(wusb3801->partner));
+				dev_err(dev, "Failed to register partner: %pe\n",
+					wusb3801->partner);
 		}
 
 		data_role = pwr_role == TYPEC_SOURCE ? TYPEC_HOST : TYPEC_DEVICE;

3/2 2026/10/13 03:55 llm patch-evaluator
0m Model:
gemini-3.8-flash

Args:
null

Results:
null

Tokens:
							input: 5983
							output: 102
							thoughts: 2488
						

Thoughts:
**Analysis of the Provided USB Patch**

Alright, let's dive into this patch. My initial assessment is that it looks like a straightforward clean-up, but we need to be thorough. The changes are all confined to the USB subsystem, specifically within several driver files. The core modification seems consistent: replacing `%ld` with `%pe` in various logging functions (like `usb_err`, `dev_err`, `dev_dbg`, and `pr_err`), along with adjusting the corresponding arguments from `PTR_ERR()` calls to the raw pointer values.

Now, as per the guidelines, we need to determine if this warrants further fuzzing. The key question is whether these changes affect control flow or data structures. Based on my experience, and the description of `%pe`, this seems highly unlikely. The use of `%pe` is for *symbolic error names*. These are purely for debugging information. So, this should fall under "Purely decorative logging".

Let me verify each file change, just to be absolutely sure:

*   `drivers/usb/atm/usbatm.c`: The change is within `usb_err`, replacing the format string and its argument, it's just logging. No data structures or flow modified.
*   `drivers/usb/chipidea/ci_hdrc_imx.c`: The same here: `dev_err` calls. Logging only, nothing functional has changed.
*   `drivers/usb/chipidea/core.c`: Again, it's just logging with `dev_err`.
*   `drivers/usb/core/hub.c`: This is also purely a logging change in `dev_dbg`, improving the clarity of error messages.
*   `drivers/usb/dwc2/pci.c`: The error message format is updated, but still just logging in `dev_err`.
*   `drivers/usb/gadget/function/u_serial.c`: Same story, in `pr_err`.
*   `drivers/usb/misc/usb3503.c`: Just logging with `dev_err`.
*   `drivers/usb/typec/mux/pi3usb30532.c`: Logging in `dev_err`, twice, but still just logging.
*   `drivers/usb/typec/tcpm/tcpm.c`: Similar change in `dev_err`, formatting only.
*   `drivers/usb/typec/wusb3801.c`: `dev_err` with formatting.

Conclusively, I am confident that these changes are limited to log formatting. They do not alter control flow or modify any data structures.

Therefore, this patch should not be fuzzed. I'm going to set the appropriate flags to communicate that. I'm ready to call `set-results`.



4/2 2026/10/13 03:56 tool set-results
0m Args:
{
  "EnableConfigs": [],
  "FocusSymbols": [],
  "Reasoning": "The patch purely updates error logging statements (dev_err, dev_dbg, pr_err, usb_err) across several USB drivers to use the '%pe' format specifier directly with error pointers instead of '%ld' with PTR_ERR(). These changes are purely decorative logging modifications that do not alter control flow, invariants, or data structures.",
  "WorthFuzzing": false
}

Results:
{
  "EnableConfigs": null,
  "FocusSymbols": [],
  "Reasoning": "The patch purely updates error logging statements (dev_err, dev_dbg, pr_err, usb_err) across several USB drivers to use the '%pe' format specifier directly with error pointers instead of '%ld' with PTR_ERR(). These changes are purely decorative logging modifications that do not alter control flow, invariants, or data structures.",
  "WorthFuzzing": false
}

5/1 2026/10/13 03:56 action If
0m Args:
{
  "WorthFuzzing": false
}

Results:
null

LLM Calls Summary:
Total Calls Total Tokens Avg Tokens Total Duration (Seconds) Avg Duration (Seconds)
Tool Calls Summary:
Total Calls Total Duration (Seconds) Avg Duration (Seconds)