I added a checkpatch entry for this.Maybe some cocci test like this would be useful?@@type t;t *p;@@- p == NULL+ !p@@type t;t *p;@@- p != NULL+ p@@type t;t *p;@@- NULL == p+ !p@@type t;t *p;@@- NULL != p+ p