On Wed, Apr 30, 2025 at 09:34:35AM +0100, Colin Ian King wrote: > The kmalloc failure message is just noise. Remove it and > replace -EFAULT with -ENOMEM as standard for out of memory > allocation error returns. > > Signed-off-by: Colin Ian King <colin.i.k...@gmail.com> > --- > V1: remove trailing space after \n > V2: remove entire message, originally just removed a trailing space > V3: replace -EFAULT with -ENOMEM > V4: send correct fix for V3, actually return -ENOMEM > --- > > drivers/char/tpm/eventlog/tpm1.c | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-)
Reviewed-by: Jason Gunthorpe <j...@nvidia.com> Jason