diff options
author | David S. Miller <davem@davemloft.net> | 2019-08-06 21:44:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-06 21:44:57 -0400 |
commit | 13dfb3fa494361ea9a5950f27c9cd8b06d28c04f (patch) | |
tree | 1bf30874f57c6c6b21160a10282191fcd0868055 /lib/test_firmware.c | |
parent | 05bb520376af2c5146d3c44832c22ec3bb54d778 (diff) | |
parent | 33920f1ec5bf47c5c0a1d2113989bdd9dfb3fae9 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Just minor overlapping changes in the conflicts here.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_firmware.c')
-rw-r--r-- | lib/test_firmware.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/test_firmware.c b/lib/test_firmware.c index 83ea6c4e623c..6ca97a63b3d6 100644 --- a/lib/test_firmware.c +++ b/lib/test_firmware.c | |||
@@ -886,8 +886,11 @@ static int __init test_firmware_init(void) | |||
886 | return -ENOMEM; | 886 | return -ENOMEM; |
887 | 887 | ||
888 | rc = __test_firmware_config_init(); | 888 | rc = __test_firmware_config_init(); |
889 | if (rc) | 889 | if (rc) { |
890 | kfree(test_fw_config); | ||
891 | pr_err("could not init firmware test config: %d\n", rc); | ||
890 | return rc; | 892 | return rc; |
893 | } | ||
891 | 894 | ||
892 | rc = misc_register(&test_fw_misc_device); | 895 | rc = misc_register(&test_fw_misc_device); |
893 | if (rc) { | 896 | if (rc) { |