summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_devinfo.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-22 18:57:45 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-22 19:00:28 -0300
commit09628b2c2105722e61b8c799531304a1cd317b2e (patch)
tree241af5b77ccfe4298712b8185a10715a4c13cda6 /drivers/scsi/scsi_devinfo.c
parent1148f6fdb0136b6cf9ec5e1ff6db2dfa899b3906 (diff)
[media] dib0700_devices: Use c99 initializers for structures.
A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @decl@ identifier i1,fld; type T; field list[n] fs; @@ struct i1 { fs T fld; ...}; @bad@ identifier decl.i1,i2; expression e; initializer list[decl.n] is; @@ struct i1 i2 = { is, + .fld = e - e ,...}; // </smpl> Not sure why, but some tables are still using the old way, but at least several of them got fixed. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/scsi/scsi_devinfo.c')
0 files changed, 0 insertions, 0 deletions