diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2026-10-08 10:13:19 +0200 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2026-10-08 16:46:30 +0200 |
| commit | fc5baa9d60192aba77f3402eb96088e169f24a00 (patch) | |
| tree | 444458e5989813206a726b9566a29c4dd021d8cd /include | |
| parent | aa712d73350dc77f3077d4b27cb8b9dc3e2b8d8d (diff) | |
| download | linux-next-fc5baa9d60192aba77f3402eb96088e169f24a00.tar.gz linux-next-fc5baa9d60192aba77f3402eb96088e169f24a00.zip | |
efi: Constify sysfs attributes
Implement Thomas's suggestions to constify sysfs kobject attributes.
Cc: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/efi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index ecb34be37a87..fda81d7c4850 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -1353,7 +1353,8 @@ bool efi_config_table_is_usable(const efi_guid_t *guid, unsigned long table) return xen_efi_config_table_is_usable(guid, table); } -umode_t efi_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n); +umode_t efi_attr_is_visible(struct kobject *kobj, const struct attribute *attr, + int n); int ovmf_log_probe(unsigned long ovmf_debug_log_table); |
