aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/firmware_loader/main.c
diff options
context:
space:
mode:
authorRohan Kollambalath <[email protected]>2024-02-12 08:36:34 +1000
committerGreg Kroah-Hartman <[email protected]>2024-03-07 22:04:50 +0000
commita54c1d1b859a57a99d5cbdce37ac754cbdd9344a (patch)
tree3cd19b831894774317777adcff06c2c97fa206db /drivers/base/firmware_loader/main.c
parent8dde8fa0cc3edce73c050b9882d06c1a575f6402 (diff)
sysfs:Addresses documentation in sysfs_merge_group and sysfs_unmerge_group.
These functions take a struct attribute_group as an input which has an optional .name field. These functions rely on the .name field being populated and do not check if its null. They pass this name into other functions, eventually leading to a null pointer dereference. This change simply updates the documentation of the function to make this requirement clear. Signed-off-by: Rohan Kollambalath <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/firmware_loader/main.c')
0 files changed, 0 insertions, 0 deletions