Re: [PATCH v2] firmware_loader: use kernel credentials when reading firmware

From: Thiébaud Weksteen
Date: Thu Apr 28 2022 - 01:46:50 EST


> Ugh, yeah, a put_cred() is not called after this.

Good catch, I wasn't aware that an extra call to put_cred was required here.

I'll send a new version for the patch. I'll update the commit log as
well, with the recommendation from Luis. Thanks.