Re: [PATCH 3/3] xfs: optimise CRC updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 05, 2016 at 09:12:31AM +1100, Dave Chinner wrote:
> I thought the C standard specifically disallowed pointer arithmetic
> on void pointers because they are an incomplete type, even though
> they have the same alignment/representation as a char *.
> 
> IIRC, gcc will throw errors on such code if -pedantic-errors or
> -Werror-pointer-arith is specified...

void pointer arithmetics is a GNU extension indeed, but on that
the kernel relies on heavily.
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux