[PATCH linux-next] tools: fix warning comparing pointer to 0