On Thu, Feb 02, 2017 at 10:37:17AM +1100, Tobin C. Harding wrote: > From: Tobin C Harding <me@xxxxxxxx> > > Patch fixes sparse warning: Using plain integer as NULL pointer. Replaces > assignment of 0 to pointer with NULL assignment. > > Signed-off-by: Tobin C Harding <me@xxxxxxxx> I wrote this part when ARC had pgtable_t defined as 'unsigned long', so NULL wasn't an option, but 0 was as it's valid pointer according to spec. Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> -- Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>