From: Julia Lawall <julia@xxxxxxx>
Taking sizeof the result of sizeof is quite strange and does not seem to be
what is wanted here.
This was fixed using the following semantic patch.
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
expression E;
@@
- sizeof (
sizeof (E)
- )
@@
type T;
@@
- sizeof (
sizeof (T)
- )
// </smpl>
Signed-off-by: Julia Lawall <julia@xxxxxxx>
---
arch/powerpc/platforms/82xx/pq2ads-pci-pic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)