question about drivers/gpu/drm/i915/dvo_ch7xxx.c

2012-10-07 Thread Daniel Vetter
On Sat, Oct 06, 2012 at 03:20:19PM +0200, Julia Lawall wrote: > Hello, > > I am looking at introducing some macros for i2c_msg initialization, > and Ryan Mallon suggested that sometimes it could be useful to at > the same time replace explicit lengths with the size of the > associated buffer.

Re: question about drivers/gpu/drm/i915/dvo_ch7xxx.c

2012-10-07 Thread Daniel Vetter
On Sat, Oct 06, 2012 at 03:20:19PM +0200, Julia Lawall wrote: Hello, I am looking at introducing some macros for i2c_msg initialization, and Ryan Mallon suggested that sometimes it could be useful to at the same time replace explicit lengths with the size of the associated buffer. But in

question about drivers/gpu/drm/i915/dvo_ch7xxx.c

2012-10-06 Thread Julia Lawall
Hello, I am looking at introducing some macros for i2c_msg initialization, and Ryan Mallon suggested that sometimes it could be useful to at the same time replace explicit lengths with the size of the associated buffer. But in some cases the sizes are not the same. An example is as follows,

question about drivers/gpu/drm/i915/dvo_ch7xxx.c

2012-10-06 Thread Julia Lawall
Hello, I am looking at introducing some macros for i2c_msg initialization, and Ryan Mallon suggested that sometimes it could be useful to at the same time replace explicit lengths with the size of the associated buffer. But in some cases the sizes are not the same. An example is as follows,