Re: [PATCH] [v2] hwrng: core: Fix missing check during driver release

2019-01-10 Thread Herbert Xu
On Sun, Jan 06, 2019 at 11:26:12AM -0600, Aditya Pakki wrote: > devres_release can return -ENOENT if the device is not freed. The fix > throws a warning consistent with other invocations. > > Signed-off-by: Aditya Pakki > --- > drivers/char/hw_random/core.c | 3 ++- > 1 file changed, 2

[PATCH] [v2] hwrng: core: Fix missing check during driver release

2019-01-06 Thread Aditya Pakki
devres_release can return -ENOENT if the device is not freed. The fix throws a warning consistent with other invocations. Signed-off-by: Aditya Pakki --- drivers/char/hw_random/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/char/hw_random/core.c