compat: backport system_nrt_wq
[~emulex/for-vlad/old/compat.git] / compat / compat_firmware_class.c
index 70ab25c..79cd543 100644 (file)
@@ -601,7 +601,7 @@ static int _request_firmware(const struct firmware **firmware_p,
 out:
        if (retval) {
                release_firmware(firmware);
-               firmware_p = NULL;
+               *firmware_p = NULL;
        }
 
        return retval;