linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 0/6] media: convert to c99 format
@ 2012-09-18 11:44 Shubhrajyoti D
  2012-09-18 11:44 ` [PATCHv3 1/6] media: Convert struct i2c_msg initialization to C99 format Shubhrajyoti D
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Shubhrajyoti D @ 2012-09-18 11:44 UTC (permalink / raw)
  To: linux-media; +Cc: linux-kernel, julia.lawall, Shubhrajyoti D

The series tries to convert the i2c_msg to c99 struct.
This may avoid issues like below if someone tries to add an
element to the structure.
http://www.mail-archive.com/linux-i2c@vger.kernel.org/msg08972.html

Special thanks to Julia Lawall for helping it automate.
By the below script.
http://www.mail-archive.com/cocci@diku.dk/msg02753.html

Changelogs
- Remove the zero inititialisation of the flags.

Shubhrajyoti D (6):
  media: Convert struct i2c_msg initialization to C99 format
  media: Convert struct i2c_msg initialization to C99 format
  media: Convert struct i2c_msg initialization to C99 format
  media: Convert struct i2c_msg initialization to C99 format
  media: Convert struct i2c_msg initialization to C99 format
  media: Convert struct i2c_msg initialization to C99 format

 drivers/media/i2c/ks0127.c                    |   13 +++++++-
 drivers/media/i2c/msp3400-driver.c            |   40 +++++++++++++++++++++----
 drivers/media/i2c/tvaudio.c                   |   13 +++++++-
 drivers/media/radio/radio-tea5764.c           |   13 ++++++--
 drivers/media/radio/saa7706h.c                |   15 ++++++++-
 drivers/media/radio/si470x/radio-si470x-i2c.c |   23 ++++++++++----
 6 files changed, 96 insertions(+), 21 deletions(-)

-- 
1.7.5.4


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-09-25 11:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-18 11:44 [PATCHv3 0/6] media: convert to c99 format Shubhrajyoti D
2012-09-18 11:44 ` [PATCHv3 1/6] media: Convert struct i2c_msg initialization to C99 format Shubhrajyoti D
2012-09-18 11:44 ` [PATCHv3 2/6] " Shubhrajyoti D
2012-09-18 11:44 ` [PATCHv3 3/6] " Shubhrajyoti D
2012-09-18 11:44 ` [PATCHv3 4/6] " Shubhrajyoti D
2012-09-18 11:44 ` [PATCHv3 5/6] " Shubhrajyoti D
2012-09-18 11:42   ` Felipe Balbi
2012-09-18 12:19     ` Shubhrajyoti
2012-09-18 11:44 ` [PATCHv3 6/6] " Shubhrajyoti D
2012-09-25 11:03 ` [PATCHv3 0/6] media: convert to c99 format Ezequiel Garcia
2012-09-25 11:09   ` Mauro Carvalho Chehab
2012-09-25 11:13     ` Ezequiel Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).