Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fbtft: Remove access to page->index

There is no need to print out page->index as part of the debug message.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20250221173131.3470667-1-willy@infradead.org

authored by

Matthew Wilcox (Oracle) and committed by
Simona Vetter
c25b716e 4006be2f

+1 -3
+1 -3
drivers/staging/fbtft/fbtft-core.c
··· 337 337 list_for_each_entry(pageref, pagereflist, list) { 338 338 y_low = pageref->offset / info->fix.line_length; 339 339 y_high = (pageref->offset + PAGE_SIZE - 1) / info->fix.line_length; 340 - dev_dbg(info->device, 341 - "page->index=%lu y_low=%d y_high=%d\n", 342 - pageref->page->index, y_low, y_high); 340 + dev_dbg(info->device, "y_low=%d y_high=%d\n", y_low, y_high); 343 341 if (y_high > info->var.yres - 1) 344 342 y_high = info->var.yres - 1; 345 343 if (y_low < dirty_lines_start)