]> git.baikalelectronics.ru Git - kernel.git/commit
mm/hmm: constify hmm_devmem_page_get_drvdata() parameter
authorRalph Campbell <rcampbell@nvidia.com>
Thu, 16 Nov 2017 01:34:00 +0000 (17:34 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Nov 2017 02:21:03 +0000 (18:21 -0800)
commit9242769a46745a9d49c883dd16b334af0db8c5b0
tree6ea461225e701f2f8f5a9080f17f18a412121170
parentc20898764235c854054429c9d0bfb8835d8c75ee
mm/hmm: constify hmm_devmem_page_get_drvdata() parameter

Constify pointer parameter to avoid issue when use from code that only
has const struct page pointer to use in the first place.

Link: http://lkml.kernel.org/r/1506972774-10191-1-git-send-email-jglisse@redhat.com
Signed-off-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/hmm.h