summaryrefslogtreecommitdiffstats
path: root/sound/sh
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2009-12-29 20:15:23 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-01-02 11:04:56 +0100
commite026255f7d0e56006a147b190ae23be95cb0a9bd (patch)
tree6bfc2be2cc917e65aedf2d18b6b3cd696974c934 /sound/sh
parentmtd: nand: rename w90p910_nand.c to nuc900_nand.c (diff)
downloadlinux-e026255f7d0e56006a147b190ae23be95cb0a9bd.tar.xz
linux-e026255f7d0e56006a147b190ae23be95cb0a9bd.zip
mtd: physmap_of: Correct the size argument to kzalloc
mtd_list has type struct mtd_info **, not struct mtd_info *, so the elements of the array should have pointer type, not structure type. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @disable sizeof_type_expr@ type T; T **x; @@ x = <+...sizeof( - T + *x )...+> // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions