WSL2-Linux-Kernel/arch/ppc/8xx_io
Julia Lawall 4217c7b529 [POWERPC] Use FIELD_SIZEOF in arch/ppc
Robert P.J. Day proposed to use the macro FIELD_SIZEOF in replace of code
that matches its definition.

The modification was made using the following semantic patch
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@haskernel@
@@

#include <linux/kernel.h>

@depends on haskernel@
type t;
identifier f;
@@

- (sizeof(((t*)0)->f))
+ FIELD_SIZEOF(t, f)

@depends on haskernel@
type t;
identifier f;
@@

- sizeof(((t*)0)->f)
+ FIELD_SIZEOF(t, f)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-02-26 22:17:03 +11:00
..
Kconfig [POWERPC] Remove the unused HTDMSOUND driver 2007-04-30 11:02:05 +10:00
Makefile [POWERPC] Remove the unused HTDMSOUND driver 2007-04-30 11:02:05 +10:00
commproc.c [POWERPC] Use FIELD_SIZEOF in arch/ppc 2008-02-26 22:17:03 +11:00
enet.c [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
fec.c [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
micropatch.c [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00