[Ocfs2-devel] Re: [PATCH] ocfs2: le*_add_cpu conversion

Mark Fasheh mark.fasheh at oracle.com
Mon Feb 18 13:03:13 PST 2008


On Wed, Feb 13, 2008 at 12:06:18AM +0100, marcin.slusarz at gmail.com wrote:
> From: Marcin Slusarz <marcin.slusarz at gmail.com>
> 
> replace all:
> little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) +
> 					expression_in_cpu_byteorder);
> with:
> 	leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder);
> generated with semantic patch


Thanks, this is in ocfs2.git now.
	--Mark
--
Mark Fasheh
Principal Software Developer, Oracle
mark.fasheh at oracle.com



More information about the Ocfs2-devel mailing list