Re: [PATCH] video: imx-ipu-v3: Fix ipu_ch_param_zero()

Alexander Shiyan shc_work at mail.ru
Sun Apr 27 07:44:48 PDT 2014


Sun, 27 Apr 2014 08:52:07 +0200 от Sascha Hauer <s.hauer at pengutronix.de>:
> On Sun, Apr 27, 2014 at 10:29:47AM +0400, Alexander Shiyan wrote:
> > Sizeof(*p) returns the size of the pointer, not the size of the
> > struct ipu_ch_param.
> 
> p is of type struct ipu_ch_param, so sizeof(*p) correctly returns the
> size of struct ipu_ch_param.

Seems this is my mistake...

---



More information about the barebox mailing list