Jianguo Wu wrote:
> In __page_check_address(), if address's pud is not present,
> huge_pte_offset() will return NULL, we should check the return value.
> 
> Signed-off-by: Jianguo Wu <wujian...@huawei.com>

Looks okay to me.

Acked-by: Kirill A. Shutemov <kirill.shute...@linux.intel.com>

Have you triggered a crash there? Or just spotted by reading the code?

-- 
 Kirill A. Shutemov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to