diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2026-10-08 10:13:19 +0200 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2026-10-15 13:53:08 +0200 |
| commit | 80779c1dca838b347a4b7e5e67f45e2adaee1c38 (patch) | |
| tree | 7ce6fb71320bbf6eebb82fe012b93f5f3f85ad99 /include/linux | |
| parent | 7762562c9209fba6290f60cbf03a7071b524d751 (diff) | |
| download | linux-80779c1dca838b347a4b7e5e67f45e2adaee1c38.tar.gz linux-80779c1dca838b347a4b7e5e67f45e2adaee1c38.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/linux')
| -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); |
