Thread (3 messages) 3 messages, 3 authors, 8d ago

Re: [PATCH] fbdev: pvr2fb: correct user pointer annotation and sentinel initializer

From: Helge Deller <deller@gmx.de>
Date: 2026-07-18 19:33:57
Also in: dri-devel, lkml

On 7/13/26 12:16, Florian Fuchs wrote:
Add __user annotation to buf, as it is passed as a user pointer in
pin_user_pages_fast(). Use an empty initializer for the sentinel
board-table entry to avoid initializing a function pointer with an
integer literal.

Fixes: 5f566c0ac51c ("fbdev: pvr2fb: Fix leftover reference to ONCHIP_NR_DMA_CHANNELS")
I think this Fixes tag is wrong.
The problem has been there forever.
Reported-by: kernel test robot <redacted>
Closes: https://lore.kernel.org/oe-kbuild-all/202607131247.fpQ6eTc7-lkp@intel.com/ (local)
Signed-off-by: Florian Fuchs <redacted>
---
Not sure, if we do such changes, but as I received a test robot email, I
leave it up to you all :) (I also compiled and tested the change)

  drivers/video/fbdev/pvr2fb.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
Patch applied to fbdev git tree.

Thanks for fixing!
Helge
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help