lkml.org 
[lkml]   [2017]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm/hmm: constify hmm_devmem_page_get_drvdata() parameter
On Mon, Oct 02, 2017 at 02:40:42PM -0700, Andrew Morton wrote:
> On Mon, 2 Oct 2017 15:32:54 -0400 Jérôme Glisse <jglisse@redhat.com> wrote:
>
> > From: Ralph Campbell <rcampbell@nvidia.com>
> >
> > Constify pointer parameter to avoid issue when use from code that
> > only has const struct page pointer to use in the first place.
>
> That's rather vague. Does such calling code exist in the kernel? This
> affects the which-kernel-gets-patched decision.

This is use by device driver, no driver upstream yet so it does not
affect anybody upstream yet.

Jérôme

\
 
 \ /
  Last update: 2017-10-02 23:47    [W:0.060 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site