summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/ucb1400_ts.c
diff options
context:
space:
mode:
authorRalph Campbell <rcampbell@nvidia.com>2019-11-15 17:35:07 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2019-11-15 18:34:00 -0800
commit6855ac4acd3bad4a5caf813b0e401a0bc79a54a9 (patch)
tree0d4ae934e93fb95bf1f25a8e5af6587bb6e1fbc4 /drivers/input/touchscreen/ucb1400_ts.c
parent76a1850e45724e8aca44fc0a245de6782ce42e65 (diff)
downloadlinux-6855ac4acd3bad4a5caf813b0e401a0bc79a54a9.tar.bz2
mm/debug.c: PageAnon() is true for PageKsm() pages
PageAnon() and PageKsm() use the low two bits of the page->mapping pointer to indicate the page type. PageAnon() only checks the LSB while PageKsm() checks the least significant 2 bits are equal to 3. Therefore, PageAnon() is true for KSM pages. __dump_page() incorrectly will never print "ksm" because it checks PageAnon() first. Fix this by checking PageKsm() first. Link: http://lkml.kernel.org/r/20191113000651.20677-1-rcampbell@nvidia.com Fixes: 1c6fb1d89e73 ("mm: print more information about mapping in __dump_page") Signed-off-by: Ralph Campbell <rcampbell@nvidia.com> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/input/touchscreen/ucb1400_ts.c')
0 files changed, 0 insertions, 0 deletions