On 6/9/23 10:46, Greg KH wrote:
Again, how did you test this?
Did you look at the patch header? For that particular case, the static analysis tool complains that the value returned by get_device() is most likely should be checked just because it is checked on a lot of other code paths. Usually it may be a good precaution to handle the very rare and unexpected errors; again, if you're sure that this is not the case, just disregard it. Dmitry