Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'x86-platform-2025-03-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 platform updates from Ingo Molnar:
"Two small cleanups in the x86 platform support code"

* tag 'x86-platform-2025-03-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/platform/olpc: Remove unused variable 'len' in olpc_dt_compatible_match()
x86/platform/olpc-xo1-sci: Don't include <linux/pm_wakeup.h> directly

+1 -3
-1
arch/x86/platform/olpc/olpc-xo1-sci.c
··· 14 14 #include <linux/interrupt.h> 15 15 #include <linux/platform_device.h> 16 16 #include <linux/pm.h> 17 - #include <linux/pm_wakeup.h> 18 17 #include <linux/power_supply.h> 19 18 #include <linux/suspend.h> 20 19 #include <linux/workqueue.h>
+1 -2
arch/x86/platform/olpc/olpc_dt.c
··· 215 215 static int __init olpc_dt_compatible_match(phandle node, const char *compat) 216 216 { 217 217 char buf[64], *p; 218 - int plen, len; 218 + int plen; 219 219 220 220 plen = olpc_dt_getproperty(node, "compatible", buf, sizeof(buf)); 221 221 if (plen <= 0) 222 222 return 0; 223 223 224 - len = strlen(compat); 225 224 for (p = buf; p < buf + plen; p += strlen(p) + 1) { 226 225 if (strcmp(p, compat) == 0) 227 226 return 1;