Re: [PATCH] mm/hmm: constify hmm_devmem_page_get_drvdata() parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> wrote:
> 
> > From: Ralph Campbell <rcampbell@xxxxxxxxxx>
> > 
> > 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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux