Messages in this thread |  | | Date | Thu, 2 Feb 2017 16:08:25 +0300 | From | "Kirill A. Shutemov" <> | Subject | Re: [PATCH 1/4] mm: Fix sparse, use plain integer as NULL pointer |
| |
On Thu, Feb 02, 2017 at 10:37:17AM +1100, Tobin C. Harding wrote: > From: Tobin C Harding <me@tobin.cc> > > 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@tobin.cc>
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@linux.intel.com>
-- Kirill A. Shutemov
|  |