Re: [PATCH] char: hw_random: Fix missing check during driver release

2018-12-26 Thread Michael Büsch
On Wed, 26 Dec 2018 11:23:31 -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 | 6 +- > 1 file changed, 5 insertions(

Re: [PATCH] char: hw_random: Fix missing check during driver release

2018-12-26 Thread Michael S. Tsirkin
On Wed, Dec 26, 2018 at 11:23:31AM -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 Well why not Acked-by: Michael S. Tsirkin > --- > drivers/char/hw_rando

[PATCH] char: hw_random: Fix missing check during driver release

2018-12-26 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 | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/char/hw_random/core.c b/drivers