diff options
author | Christoph Hellwig <[email protected]> | 2023-06-08 13:02:39 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-06-12 08:04:04 -0600 |
commit | c889d0793d9dc07e94a5fddcc05356157fab00b7 (patch) | |
tree | 1dc3ce37560c818272897611b223dba00e01d6b7 /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | 7ee34cbc291a28134b60683b246ba58b4b676ec3 (diff) |
swsusp: don't pass a stack address to blkdev_get_by_path
holder is just an on-stack pointer that can easily be reused by other calls,
replace it with a static variable that doesn't change.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions