On Sat, Dec 28, 2024 at 11:37:49AM +0530, Nihar Chaithanya wrote: > The function gpib_register_driver() can fail if kmalloc() fails, > but it doesn't return any error if that happens. > > Modify the function to return error i.e int. Return the appropriate > error code if it fails. You forgot to mention that you removed the pr_info() line. thanks, greg k-h