aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorMichal Wilczynski <[email protected]>2023-07-03 11:02:45 +0300
committerRafael J. Wysocki <[email protected]>2023-07-14 18:58:34 +0200
commit0d16710146a10cf62b3efddee8ffd006432d5d7e (patch)
tree8e52a5609ffbe51629a31c7f2b7c450e14019054 /net/unix/sysctl_net_unix.c
parentc542ce36a9f0bbf7c3a607ee31f1c39fda280782 (diff)
ACPI: bus: Set driver_data to NULL every time .add() fails
Most ACPI drivers set driver_data in their .add() callbacks, but usually they don't clear it in the error code path. Set driver_data to NULL in acpi_device_probe() to prevent stale pointers from staying around. Signed-off-by: Michal Wilczynski <[email protected]> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions