Re: [PATCH v7 1/7] fbdev/hitfb: Cast I/O offset to address

2023-05-16 Thread Helge Deller
On 5/12/23 12:24, Thomas Zimmermann wrote: Cast I/O offsets to pointers to use them with I/O functions. The I/O functions expect pointers of type 'volatile void __iomem *', but the offsets are plain integers. Build warnings are ../drivers/video/fbdev/hitfb.c: In function 'hitfb_accel_wait':

Re: [PATCH v7 1/7] fbdev/hitfb: Cast I/O offset to address

2023-05-12 Thread Thomas Zimmermann
Hi Am 12.05.23 um 13:16 schrieb David Laight: From: Thomas Zimmermann Sent: 12 May 2023 11:25 Cast I/O offsets to pointers to use them with I/O functions. The I/O functions expect pointers of type 'volatile void __iomem *', but the offsets are plain integers. Build warnings are

RE: [PATCH v7 1/7] fbdev/hitfb: Cast I/O offset to address

2023-05-12 Thread David Laight
From: Thomas Zimmermann > Sent: 12 May 2023 11:25 > > Cast I/O offsets to pointers to use them with I/O functions. The I/O > functions expect pointers of type 'volatile void __iomem *', but the > offsets are plain integers. Build warnings are > > ../drivers/video/fbdev/hitfb.c: In function

[PATCH v7 1/7] fbdev/hitfb: Cast I/O offset to address

2023-05-12 Thread Thomas Zimmermann
Cast I/O offsets to pointers to use them with I/O functions. The I/O functions expect pointers of type 'volatile void __iomem *', but the offsets are plain integers. Build warnings are ../drivers/video/fbdev/hitfb.c: In function 'hitfb_accel_wait': ../arch/x86/include/asm/hd64461.h:18:33: