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@diku.dk> Acked-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org> |
||
|---|---|---|
| .. | ||
| ep8248e.c | ||
| Kconfig | ||
| m82xx_pci.h | ||
| Makefile | ||
| mgcoge.c | ||
| mpc8272_ads.c | ||
| pq2.c | ||
| pq2.h | ||
| pq2ads-pci-pic.c | ||
| pq2ads.h | ||
| pq2fads.c | ||