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-cleanups-2025-05-25' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 cleanups from Ingo Molnar:
"Misc x86 cleanups: kernel-doc updates and a string API transition
patch"

* tag 'x86-cleanups-2025-05-25' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/power: hibernate: Fix W=1 build kernel-doc warnings
x86/mm/pat: Fix W=1 build kernel-doc warning
x86/CPU/AMD: Replace strcpy() with strscpy()

+7 -2
+1 -1
arch/x86/kernel/cpu/amd.c
··· 650 650 } 651 651 652 652 if (!c->x86_model_id[0]) 653 - strcpy(c->x86_model_id, "Hammer"); 653 + strscpy(c->x86_model_id, "Hammer"); 654 654 655 655 #ifdef CONFIG_SMP 656 656 /*
+1
arch/x86/mm/pat/memtype.c
··· 683 683 /** 684 684 * pat_pfn_immune_to_uc_mtrr - Check whether the PAT memory type 685 685 * of @pfn cannot be overridden by UC MTRR memory type. 686 + * @pfn: The page frame number to check. 686 687 * 687 688 * Only to be called when PAT is enabled. 688 689 *
+5 -1
arch/x86/power/hibernate.c
··· 42 42 43 43 /** 44 44 * pfn_is_nosave - check if given pfn is in the 'nosave' section 45 + * @pfn: the page frame number to check. 45 46 */ 46 47 int pfn_is_nosave(unsigned long pfn) 47 48 { ··· 87 86 /** 88 87 * arch_hibernation_header_save - populate the architecture specific part 89 88 * of a hibernation image header 90 - * @addr: address to save the data at 89 + * @addr: address where architecture specific header data will be saved. 90 + * @max_size: maximum size of architecture specific data in hibernation header. 91 + * 92 + * Return: 0 on success, -EOVERFLOW if max_size is insufficient. 91 93 */ 92 94 int arch_hibernation_header_save(void *addr, unsigned int max_size) 93 95 {