diff options
author | Ralph Campbell <rcampbell@nvidia.com> | 2017-11-16 04:34:00 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-16 05:21:03 +0300 |
commit | 0bea803e9e6bf3836d5368a6426c30a8c0e5eab5 (patch) | |
tree | 6ea461225e701f2f8f5a9080f17f18a412121170 /mm/zsmalloc.c | |
parent | 007ab7b49acb93af650f3acec0e51d2c6b843934 (diff) | |
download | linux-0bea803e9e6bf3836d5368a6426c30a8c0e5eab5.tar.xz |
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>
Diffstat (limited to 'mm/zsmalloc.c')
0 files changed, 0 insertions, 0 deletions