]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
staging: ion: debugfs invalid gfp mask
authorDerek Yerger <dy@drexel.edu>
Fri, 11 Mar 2016 22:31:18 +0000 (17:31 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
commit3b0ae7bee0777699eb066e8668d8a25d9215d38d
tree0161784fb0a2373d61b8d1982d30b61a93d9aeef
parent80f10bcc7f8c0ca4bc0ef61bdc001ec11d5991f9
staging: ion: debugfs invalid gfp mask

The current code attempts assignment of -1 to an unsigned type. Note that
in a downstream function ion_page_pool_shrink this mask is only ever
evaluated against __GFP_HIGHMEM
(drivers/staging/android/ion/ion_page_pool.c, line 125).

Signed-off-by: Derek Yerger <dy@drexel.edu>
Reviewed-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c