mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
In __mmc_test_register_dbgfs_file(), we need to assign 'file', as it's
being used when removing the debugfs files when the mmc_test module is
removed.
Fixes: a04c50aaa9 ("mmc: core: no need to check return value of debugfs_create functions")
Signed-off-by: Ye Bin <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Cc: [email protected]
[Ulf: Re-wrote the commit msg]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>