On Fri, Oct 23, 2020 at 02:26:33PM +0300, Dan Carpenter wrote: > Smatch complains that this code dereferences "entry" before checking > whether it's NULL on the next line. Fortunately, rb_entry() will never > return NULL so it doesn't cause a problem. We can clean up the NULL > checking a bit to silence the warning and make the code more clear. > > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Added to misc-next, thanks.