* Greg KH <greg at kroah.com> [2003-09-24 11:09:56 -0700]: > > I did it this way, as ioremap returns a void *. And it's ok to do > > math on a void pointer, works the same way as math on a char *. It > > got rid of two casts in the driver with this change. * Jean Delvare <khali at linux-fr.org> [2003-09-24 22:40:49 +0200]: > Not too sure abour that. Gcc wouldn't have a flag (-Wcast-arith) for > this without a reason. Sorry, at my day job I work with compilers that reject that. Apparently gcc will reject it too if you specify -pedantic. Funny how this is ok in linux but // comments (legal C99) are vigorously removed. ;) Regards, -- Mark M. Hoffman mhoffman at lightlink.com