patches.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	patches@lists.linux.dev, David Laight <David.Laight@aculab.com>,
	Lorenzo Stoakes <lorenzo.stoakes@oracle.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Eliav Farber <farbere@amazon.com>
Subject: [PATCH 6.1 020/196] minmax: simplify min()/max()/clamp() implementation
Date: Mon, 13 Oct 2025 16:43:13 +0200	[thread overview]
Message-ID: <20251013144315.302495211@linuxfoundation.org> (raw)
In-Reply-To: <20251013144314.549284796@linuxfoundation.org>

6.1-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Linus Torvalds <torvalds@linux-foundation.org>

[ Upstream commit dc1c8034e31b14a2e5e212104ec508aec44ce1b9 ]

Now that we no longer have any C constant expression contexts (ie array
size declarations or static initializers) that use min() or max(), we
can simpify the implementation by not having to worry about the result
staying as a C constant expression.

So now we can unconditionally just use temporary variables of the right
type, and get rid of the excessive expansion that used to come from the
use of

   __builtin_choose_expr(__is_constexpr(...), ..

to pick the specialized code for constant expressions.

Another expansion simplification is to pass the temporary variables (in
addition to the original expression) to our __types_ok() macro.  That
may superficially look like it complicates the macro, but when we only
want the type of the expression, expanding the temporary variable names
is much simpler and smaller than expanding the potentially complicated
original expression.

As a result, on my machine, doing a

  $ time make drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/ia_css_ynr.host.i

goes from

	real	0m16.621s
	user	0m15.360s
	sys	0m1.221s

to

	real	0m2.532s
	user	0m2.091s
	sys	0m0.452s

because the token expansion goes down dramatically.

In particular, the longest line expansion (which was line 71 of that
'ia_css_ynr.host.c' file) shrinks from 23,338kB (yes, 23MB for one
single line) to "just" 1,444kB (now "only" 1.4MB).

And yes, that line is still the line from hell, because it's doing
multiple levels of "min()/max()" expansion thanks to some of them being
hidden inside the uDIGIT_FITTING() macro.

Lorenzo has a nice cleanup patch that makes that driver use inline
functions instead of macros for sDIGIT_FITTING() and uDIGIT_FITTING(),
which will fix that line once and for all, but the 16-fold reduction in
this case does show why we need to simplify these helpers.

Cc: David Laight <David.Laight@aculab.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Eliav Farber <farbere@amazon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 include/linux/minmax.h |   43 ++++++++++++++++++++-----------------------
 1 file changed, 20 insertions(+), 23 deletions(-)

--- a/include/linux/minmax.h
+++ b/include/linux/minmax.h
@@ -35,10 +35,10 @@
 #define __is_noneg_int(x)	\
 	(__builtin_choose_expr(__is_constexpr(x) && __is_signed(x), x, -1) >= 0)
 
-#define __types_ok(x, y) 					\
-	(__is_signed(x) == __is_signed(y) ||			\
-		__is_signed((x) + 0) == __is_signed((y) + 0) ||	\
-		__is_noneg_int(x) || __is_noneg_int(y))
+#define __types_ok(x, y, ux, uy) 				\
+	(__is_signed(ux) == __is_signed(uy) ||			\
+	 __is_signed((ux) + 0) == __is_signed((uy) + 0) ||	\
+	 __is_noneg_int(x) || __is_noneg_int(y))
 
 #define __cmp_op_min <
 #define __cmp_op_max >
@@ -51,34 +51,31 @@
 #define __cmp_once(op, type, x, y) \
 	__cmp_once_unique(op, type, x, y, __UNIQUE_ID(x_), __UNIQUE_ID(y_))
 
-#define __careful_cmp_once(op, x, y) ({			\
-	static_assert(__types_ok(x, y),			\
+#define __careful_cmp_once(op, x, y, ux, uy) ({		\
+	__auto_type ux = (x); __auto_type uy = (y);	\
+	static_assert(__types_ok(x, y, ux, uy),		\
 		#op "(" #x ", " #y ") signedness error, fix types or consider u" #op "() before " #op "_t()"); \
-	__cmp_once(op, __auto_type, x, y); })
+	__cmp(op, ux, uy); })
 
-#define __careful_cmp(op, x, y)					\
-	__builtin_choose_expr(__is_constexpr((x) - (y)),	\
-		__cmp(op, x, y), __careful_cmp_once(op, x, y))
+#define __careful_cmp(op, x, y) \
+	__careful_cmp_once(op, x, y, __UNIQUE_ID(x_), __UNIQUE_ID(y_))
 
 #define __clamp(val, lo, hi)	\
 	((val) >= (hi) ? (hi) : ((val) <= (lo) ? (lo) : (val)))
 
-#define __clamp_once(val, lo, hi, unique_val, unique_lo, unique_hi) ({		\
-	typeof(val) unique_val = (val);						\
-	typeof(lo) unique_lo = (lo);						\
-	typeof(hi) unique_hi = (hi);						\
+#define __clamp_once(val, lo, hi, uval, ulo, uhi) ({				\
+	__auto_type uval = (val);						\
+	__auto_type ulo = (lo);							\
+	__auto_type uhi = (hi);							\
 	static_assert(__builtin_choose_expr(__is_constexpr((lo) > (hi)), 	\
 			(lo) <= (hi), true),					\
 		"clamp() low limit " #lo " greater than high limit " #hi);	\
-	static_assert(__types_ok(val, lo), "clamp() 'lo' signedness error");	\
-	static_assert(__types_ok(val, hi), "clamp() 'hi' signedness error");	\
-	__clamp(unique_val, unique_lo, unique_hi); })
-
-#define __careful_clamp(val, lo, hi) ({					\
-	__builtin_choose_expr(__is_constexpr((val) - (lo) + (hi)),	\
-		__clamp(val, lo, hi),					\
-		__clamp_once(val, lo, hi, __UNIQUE_ID(__val),		\
-			     __UNIQUE_ID(__lo), __UNIQUE_ID(__hi))); })
+	static_assert(__types_ok(uval, lo, uval, ulo), "clamp() 'lo' signedness error");	\
+	static_assert(__types_ok(uval, hi, uval, uhi), "clamp() 'hi' signedness error");	\
+	__clamp(uval, ulo, uhi); })
+
+#define __careful_clamp(val, lo, hi) \
+	__clamp_once(val, lo, hi, __UNIQUE_ID(v_), __UNIQUE_ID(l_), __UNIQUE_ID(h_))
 
 /**
  * min - return minimum of two values of the same or compatible types



  parent reply	other threads:[~2025-10-13 14:49 UTC|newest]

Thread overview: 213+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-13 14:42 [PATCH 6.1 000/196] 6.1.156-rc1 review Greg Kroah-Hartman
2025-10-13 14:42 ` [PATCH 6.1 001/196] crypto: sha256 - fix crash at kexec Greg Kroah-Hartman
2025-10-13 14:42 ` [PATCH 6.1 002/196] selftests: mptcp: connect: fix build regression caused by backport Greg Kroah-Hartman
2025-10-13 14:42 ` [PATCH 6.1 003/196] cacheinfo: Use RISC-Vs init_cache_level() as generic OF implementation Greg Kroah-Hartman
2025-10-13 14:42 ` [PATCH 6.1 004/196] cacheinfo: Return error code in init_of_cache_level() Greg Kroah-Hartman
2025-10-13 14:42 ` [PATCH 6.1 005/196] cacheinfo: Check cache-unified property to count cache leaves Greg Kroah-Hartman
2025-10-13 14:42 ` [PATCH 6.1 006/196] ACPI: PPTT: Remove acpi_find_cache_levels() Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 007/196] ACPI: PPTT: Update acpi_find_last_cache_level() to acpi_get_cache_info() Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 008/196] arch_topology: Build cacheinfo from primary CPU Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 009/196] gcc-plugins: Remove TODO_verify_il for GCC >= 16 Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 010/196] scsi: target: target_core_configfs: Add length check to avoid buffer overflow Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 011/196] media: b2c2: Fix use-after-free causing by irq_check_work in flexcop_pci_remove Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 012/196] media: rc: fix races with imon_disconnect() Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 013/196] media: uvcvideo: Mark invalid entities with id UVC_INVALID_ENTITY_ID Greg Kroah-Hartman
2025-10-13 15:00   ` Laurent Pinchart
2025-10-13 15:25     ` Greg Kroah-Hartman
2025-10-13 16:13       ` Laurent Pinchart
2025-10-13 16:25         ` Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 014/196] ASoC: qcom: audioreach: fix potential null pointer dereference Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 015/196] KVM: arm64: Fix softirq masking in FPSIMD register saving sequence Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 016/196] media: tunner: xc5000: Refactor firmware load Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 017/196] media: tuner: xc5000: Fix use-after-free in xc5000_release Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 018/196] media: i2c: tc358743: Fix use-after-free bugs caused by orphan timer in probe Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 019/196] minmax: dont use max() in situations that want a C constant expression Greg Kroah-Hartman
2025-10-13 14:43 ` Greg Kroah-Hartman [this message]
2025-10-13 14:43 ` [PATCH 6.1 021/196] minmax: improve macro expansion and type checking Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 022/196] minmax: fix up min3() and max3() too Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 023/196] minmax.h: add whitespace around operators and after commas Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 024/196] minmax.h: update some comments Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 025/196] minmax.h: reduce the #define expansion of min(), max() and clamp() Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 026/196] minmax.h: use BUILD_BUG_ON_MSG() for the lo < hi test in clamp() Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 027/196] minmax.h: move all the clamp() definitions after the min/max() ones Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 028/196] minmax.h: simplify the variants of clamp() Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 029/196] minmax.h: remove some #defines that are only expanded once Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 030/196] USB: serial: option: add SIMCom 8230C compositions Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 031/196] wifi: rtlwifi: rtl8192cu: Dont claim USB ID 07b8:8188 Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 032/196] dm-integrity: limit MAX_TAG_SIZE to 255 Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 033/196] perf subcmd: avoid crash in exclude_cmds when excludes is empty Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 034/196] ASoC: rt5682s: Adjust SAR ADC button mode to fix noise issue Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 035/196] btrfs: ref-verify: handle damaged extent root tree Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 036/196] can: hi311x: fix null pointer dereference when resuming from sleep before interface was enabled Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 037/196] can: rcar_canfd: Fix controller mode setting Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 038/196] hid: fix I2C read buffer overflow in raw_event() for mcp2221 Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 039/196] serial: stm32: allow selecting console when the driver is module Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 040/196] staging: axis-fifo: fix maximum TX packet length check Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 041/196] staging: axis-fifo: fix TX handling on copy_from_user() failure Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 042/196] staging: axis-fifo: flush RX FIFO on read errors Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 043/196] driver core/PM: Set power.no_callbacks along with power.no_pm Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 044/196] crypto: rng - Ensure set_ent is always present Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 045/196] net/9p: fix double req put in p9_fd_cancelled Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 046/196] filelock: add FL_RECLAIM to show_fl_flags() macro Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 047/196] init: INITRAMFS_PRESERVE_MTIME should depend on BLK_DEV_INITRD Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 048/196] seccomp: Fix a race with WAIT_KILLABLE_RECV if the tracer replies too fast Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 049/196] selftests: arm64: Check fread return value in exec_target Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 050/196] coresight: trbe: Prevent overflow in PERF_IDX2OFF() Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 051/196] perf: arm_spe: " Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 052/196] smb: server: fix IRD/ORD negotiation with the client Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 053/196] x86/vdso: Fix output operand size of RDPID Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 054/196] arm64: dts: renesas: rzg2lc-smarc: Disable CAN-FD channel0 Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 055/196] regmap: Remove superfluous check for !config in __regmap_init() Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 056/196] bpf/selftests: Fix test_tcpnotify_user Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 057/196] bpf: Remove migrate_disable in kprobe_multi_link_prog_run Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 058/196] libbpf: Fix reuse of DEVMAP Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 059/196] cpufreq: scmi: Account for malformed DT in scmi_dev_used_by_cpus() Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 060/196] ACPI: processor: idle: Fix memory leak when register cpuidle device failed Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 061/196] soc: qcom: rpmh-rsc: Unconditionally clear _TRIGGER bit for TCS Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 062/196] pinctrl: meson-gxl: add missing i2c_d pinmux Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 063/196] blk-mq: check kobject state_in_sysfs before deleting in blk_mq_unregister_hctx Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 064/196] ARM: at91: pm: fix MCKx restore routine Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 065/196] regulator: scmi: Use int type to store negative error codes Greg Kroah-Hartman
2025-10-13 14:43 ` [PATCH 6.1 066/196] block: use int to store blk_stack_limits() return value Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 067/196] PM: sleep: core: Clear power.must_resume in noirq suspend error path Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 068/196] PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe() Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 069/196] power: supply: cw2015: Fix a alignment coding style issue Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 070/196] pinctrl: renesas: Use int type to store negative error codes Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 071/196] null_blk: Fix the description of the cache_size module argument Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 072/196] nbd: restrict sockets to TCP and UDP Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 073/196] firmware: firmware: meson-sm: fix compile-test default Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 074/196] cpuidle: qcom-spm: fix device and OF node leaks at probe Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 075/196] arm64: dts: mediatek: mt8516-pumpkin: Fix machine compatible Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 076/196] pwm: tiehrpwm: Fix corner case in clock divisor calculation Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 077/196] nvmet-fc: move lsop put work to nvmet_fc_ls_req_op Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 078/196] i3c: master: svc: Use manual response for IBI events Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 079/196] i3c: master: svc: Recycle unused IBI slot Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 080/196] selftests: watchdog: skip ping loop if WDIOF_KEEPALIVEPING not supported Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 081/196] bpf: Explicitly check accesses to bpf_sock_addr Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 082/196] smp: Fix up and expand the smp_call_function_many() kerneldoc Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 083/196] tools/nolibc: make time_t robust if __kernel_old_time_t is missing in host headers Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 084/196] hwmon: (mlxreg-fan) Separate methods of fan setting coming from different subsystems Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 085/196] thermal/drivers/qcom: Make LMH select QCOM_SCM Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 086/196] thermal/drivers/qcom/lmh: Add missing IRQ includes Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 087/196] i2c: mediatek: fix potential incorrect use of I2C_MASTER_WRRD Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 088/196] i2c: designware: Add disabling clocks when probe fails Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 089/196] bpf: Enforce expected_attach_type for tailcall compatibility Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 090/196] drm/panel: novatek-nt35560: Fix invalid return value Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 091/196] drm/radeon/r600_cs: clean up of dead code in r600_cs Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 092/196] usb: host: max3421-hcd: Fix error pointer dereference in probe cleanup Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 093/196] serial: max310x: Add error checking in probe() Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 094/196] drm/amd/display: Remove redundant semicolons Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 095/196] hwrng: nomadik - add ARM_AMBA dependency Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 096/196] scsi: pm80xx: Fix array-index-out-of-of-bounds on rmmod Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 097/196] scsi: myrs: Fix dma_alloc_coherent() error check Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 098/196] media: rj54n1cb0c: Fix memleak in rj54n1_probe() Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 099/196] ALSA: lx_core: use int type to store negative error codes Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 100/196] media: st-delta: avoid excessive stack usage Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 101/196] crypto: hisilicon/zip - remove unnecessary validation for high-performance mode configurations Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 102/196] crypto: hisilicon - re-enable address prefetch after device resuming Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 103/196] drm/amdgpu: Power up UVD 3 for FW validation (v2) Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 104/196] drm/amd/pm: Disable ULV even if unsupported (v3) Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 105/196] drm/amd/pm: Fix si_upload_smc_data (v3) Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 106/196] drm/amd/pm: Adjust si_upload_smc_data register programming (v3) Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 107/196] drm/amd/pm: Treat zero vblank time as too short in si_dpm (v3) Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 108/196] drm/amd/pm: Disable MCLK switching with non-DC at 120 Hz+ (v2) Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 109/196] drm/amd/pm: Disable SCLK switching on Oland with high pixel clocks (v3) Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 110/196] wifi: mwifiex: send world regulatory domain to driver Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 111/196] PCI: tegra: Fix devm_kcalloc() argument order for port->phys allocation Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 112/196] tcp: fix __tcp_close() to only send RST when required Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 113/196] drm/amdkfd: Fix error code sign for EINVAL in svm_ioctl() Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 114/196] usb: phy: twl6030: Fix incorrect type for ret Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 115/196] usb: gadget: configfs: Correctly set use_os_string at bind Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 116/196] misc: genwqe: Fix incorrect cmd field being reported in error Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 117/196] pps: fix warning in pps_register_cdev when register device fail Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 118/196] ASoC: Intel: bytcht_es8316: Fix invalid quirk input mapping Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 119/196] ASoC: Intel: bytcr_rt5640: " Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 120/196] ASoC: Intel: bytcr_rt5651: " Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 121/196] drm/msm/dpu: fix incorrect type for ret Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 122/196] fs: ntfs3: Fix integer overflow in run_unpack() Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 123/196] iio: consumers: Fix offset handling in iio_convert_raw_to_processed() Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 124/196] netfilter: ipset: Remove unused htable_bits in macro ahash_region Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 125/196] watchdog: mpc8xxx_wdt: Reload the watchdog timer when enabling the watchdog Greg Kroah-Hartman
2025-10-13 14:44 ` [PATCH 6.1 126/196] drivers/base/node: handle error properly in register_one_node() Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 127/196] RDMA/cm: Rate limit destroy CM ID timeout error message Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 128/196] wifi: mt76: fix potential memory leak in mt76_wmac_probe() Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 129/196] ACPI: NFIT: Fix incorrect ndr_desc being reportedin dev_err message Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 130/196] scsi: qla2xxx: edif: Fix incorrect sign of error code Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 131/196] scsi: qla2xxx: Fix incorrect sign of error code in START_SP_W_RETRIES() Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 132/196] f2fs: fix zero-sized extent for precache extents Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 133/196] Revert "usb: xhci: Avoid Stop Endpoint retry loop if the endpoint seems Running" Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 134/196] RDMA/core: Resolve MAC of next-hop device without ARP support Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 135/196] IB/sa: Fix sa_local_svc_timeout_ms read race Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 136/196] Documentation: trace: historgram-design: Separate sched_waking histogram section heading and the following diagram Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 137/196] wifi: ath10k: avoid unnecessary wait for service ready message Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 138/196] wifi: mac80211: fix Rx packet handling when pubsta information is not available Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 139/196] sparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 140/196] sparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC III Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 141/196] sparc: fix accurate exception reporting in copy_{from_to}_user for Niagara Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 142/196] sparc: fix accurate exception reporting in copy_to_user for Niagara 4 Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 143/196] sparc: fix accurate exception reporting in copy_{from,to}_user for M7 Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 144/196] crypto: hisilicon/qm - set NULL to qm->debug.qm_diff_regs Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 145/196] wifi: rtw89: avoid circular locking dependency in ser_state_run() Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 146/196] PCI: tegra194: Fix duplicate PLL disable in pex_ep_event_pex_rst_assert() Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 147/196] remoteproc: qcom: q6v5: Avoid disabling handover IRQ twice Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 148/196] coresight-etm4x: Conditionally access register TRCEXTINSELR Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 149/196] coresight: trbe: Return NULL pointer for allocation failures Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 150/196] NFSv4.1: fix backchannel max_resp_sz verification check Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 151/196] ipvs: Defer ip_vs_ftp unregister during netns cleanup Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 152/196] scsi: mpt3sas: Fix crash in transport port remove by using ioc_info() Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 153/196] usb: vhci-hcd: Prevent suspending virtually attached devices Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 154/196] RDMA/siw: Always report immediate post SQ errors Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 155/196] net: usb: Remove disruptive netif_wake_queue in rtl8150_set_multicast Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 156/196] vhost: vringh: Fix copy_to_iter return value check Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 157/196] Bluetooth: MGMT: Fix not exposing debug UUID on MGMT_OP_READ_EXP_FEATURES_INFO Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 158/196] Bluetooth: ISO: Fix possible UAF on iso_conn_free Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 159/196] Bluetooth: ISO: dont leak skb in ISO_CONT RX Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 160/196] Bluetooth: hci_sync: Fix using random address for BIG/PA advertisements Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 161/196] hwrng: ks-sa - fix division by zero in ks_sa_rng_init Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 162/196] ocfs2: fix double free in user_cluster_connect() Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 163/196] drivers/base/node: fix double free in register_one_node() Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 164/196] mtd: rawnand: atmel: Fix error handling path in atmel_nand_controller_add_nands Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 165/196] nfp: fix RSS hash key size when RSS is not supported Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 166/196] net: ena: return 0 in ena_get_rxfh_key_size() when RSS hash key is not configurable Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 167/196] net: dlink: handle copy_thresh allocation failure Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 168/196] net/mlx5: Stop polling for command response if interface goes down Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 169/196] net/mlx5: pagealloc: Fix reclaim race during command interface teardown Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 170/196] net/mlx5: fw reset, add reset timeout work Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 171/196] Revert "net/mlx5e: Update and set Xon/Xoff upon MTU set" Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 172/196] vhost: vringh: Modify the return value check Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 173/196] Squashfs: fix uninit-value in squashfs_get_parent Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 174/196] uio_hv_generic: Let userspace take care of interrupt mask Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 175/196] fs: udf: fix OOB read in lengthAllocDescs handling Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 176/196] net: nfc: nci: Add parameter validation for packet data Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 177/196] mfd: vexpress-sysreg: Check the return value of devm_gpiochip_add_data() Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 178/196] dm: fix queue start/stop imbalance under suspend/load/resume races Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 179/196] dm: fix NULL pointer dereference in __dm_suspend() Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 180/196] ksmbd: fix error code overwriting in smb2_get_info_filesystem() Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 181/196] ext4: fix checks for orphan inodes Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 182/196] mm: hugetlb: avoid soft lockup when mprotect to large memory area Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 183/196] nvdimm: ndtest: Return -ENOMEM if devm_kcalloc() fails in ndtest_probe() Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 184/196] misc: fastrpc: Fix fastrpc_map_lookup operation Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 185/196] misc: fastrpc: fix possible map leak in fastrpc_put_args Greg Kroah-Hartman
2025-10-13 14:45 ` [PATCH 6.1 186/196] misc: fastrpc: Skip reference for DMA handles Greg Kroah-Hartman
2025-10-13 14:46 ` [PATCH 6.1 187/196] Input: atmel_mxt_ts - allow reset GPIO to sleep Greg Kroah-Hartman
2025-10-13 14:46 ` [PATCH 6.1 188/196] Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak Greg Kroah-Hartman
2025-10-13 14:46 ` [PATCH 6.1 189/196] pinctrl: check the return value of pinmux_ops::get_function_name() Greg Kroah-Hartman
2025-10-13 14:46 ` [PATCH 6.1 190/196] bus: fsl-mc: Check return value of platform_get_resource() Greg Kroah-Hartman
2025-10-13 14:46 ` [PATCH 6.1 191/196] net: usb: asix: hold PM usage ref to avoid PM/MDIO + RTNL deadlock Greg Kroah-Hartman
2025-10-13 14:46 ` [PATCH 6.1 192/196] usb: typec: tipd: Clear interrupts first Greg Kroah-Hartman
2025-10-13 14:46 ` [PATCH 6.1 193/196] usb: cdns3: cdnsp-pci: remove redundant pci_disable_device() call Greg Kroah-Hartman
2025-10-13 14:46 ` [PATCH 6.1 194/196] cacheinfo: Initialize variables in fetch_cache_info() Greg Kroah-Hartman
2025-10-13 14:46 ` [PATCH 6.1 195/196] cacheinfo: Fix LLC is not exported through sysfs Greg Kroah-Hartman
2025-10-13 14:46 ` [PATCH 6.1 196/196] drivers: base: cacheinfo: Update cpu_map_populated during CPU Hotplug Greg Kroah-Hartman
2025-10-13 16:37 ` [PATCH 6.1 000/196] 6.1.156-rc1 review Florian Fainelli
2025-10-13 17:06 ` Brett A C Sheffield
2025-10-13 23:02 ` Peter Schneider
2025-10-14  8:47 ` Pavel Machek
2025-10-14 13:09 ` Jon Hunter
2025-10-14 13:11   ` Jon Hunter
2025-10-15  8:42     ` Greg Kroah-Hartman
2025-10-14 14:07 ` Ron Economos
2025-10-14 14:10 ` Naresh Kamboju
2025-10-14 18:00 ` Shuah Khan
2025-10-14 18:01 ` Miguel Ojeda
2025-10-16  0:05 ` Hardik Garg

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=20251013144315.302495211@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=David.Laight@aculab.com \
    --cc=farbere@amazon.com \
    --cc=lorenzo.stoakes@oracle.com \
    --cc=patches@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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;
as well as URLs for NNTP newsgroup(s).