Re: [PATCH v2 3/3] [media] dvbsky: MyGica T230C support

From: Antti Palosaari
Date: Thu Feb 16 2017 - 03:55:21 EST


On 02/16/2017 10:48 AM, Antti Palosaari wrote:
On 02/16/2017 01:31 AM, Stefan Bruens wrote:

+ /* attach demod */
+ memset(&si2168_config, 0, sizeof(si2168_config));

prefer sizeof dst

You mean sizeof(struct si2168_config) ?

yeah. See chapter 14 from kernel coding style documentation, it handles
issue slightly.

argh, I looked wrong! It is *correct*, do not change it. It is just as it should. Sorry about noise.

regards
Antti




--
http://palosaari.fi/