Messages in this thread | | | From | Souptick Joarder <> | Date | Fri, 24 May 2019 11:40:43 +0530 | Subject | Re: [PATCH 2/2] auxdisplay/ht16k33.c: Convert to use vm_map_pages_zero() |
| |
On Thu, May 23, 2019 at 6:53 PM Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> wrote: > > On Mon, May 20, 2019 at 5:26 PM Souptick Joarder <jrdr.linux@gmail.com> wrote: > > > > While using mmap, the incorrect value of length and vm_pgoff are > > ignored and this driver go ahead with mapping fbdev.buffer > > to user vma. > > Typos: values*, goes* (same for the other patch)
Ok, will add it into v2.
> > > Convert vm_insert_pages() to use vm_map_pages_zero(). We could later > > "fix" these drivers to behave according to the normal vm_pgoff > > offsetting simply by removing the _zero suffix on the function name > > and if that causes regressions, it gives us an easy way to revert. > > Would it be possible to add a "Link:" to where these new functions are > discussed/used (maybe a lore.kernel.org link?)?
This might be helpful. https://lkml.org/lkml/2018/12/24/204
> > Thanks for the patch! > > Cheers, > Miguel
| |