[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ob5vf93j.fsf@nemi.mork.no>
Date: Fri, 08 Nov 2013 12:04:16 +0100
From: Bjørn Mork <bjorn@...k.no>
To: Daniel Borkmann <dborkman@...hat.com>
Cc: Yang Yingliang <yangyingliang@...wei.com>, davem@...emloft.net,
netdev@...r.kernel.org, eric.dumazet@...il.com, jhs@...atatu.com,
stephen@...workplumber.org
Subject: Re: [PATCH net-next v2 2/3] net_sched: fix some checkpatch errors
Daniel Borkmann <dborkman@...hat.com> writes:
> On 11/07/2013 03:13 AM, Yang Yingliang wrote:
>
>> @@ -263,7 +264,7 @@ void tcf_hash_insert(struct tcf_common *p, struct tcf_hashinfo *hinfo)
>> }
>> EXPORT_SYMBOL(tcf_hash_insert);
>>
>> -static struct tc_action_ops *act_base = NULL;
>> +static struct tc_action_ops *act_base;
>
> From a readability point of view, I think this makes it worse, also the other places
> where you change globals vars like that.
Then you should probably argue for a change to checkpatch. It will make
a lot of noise about such unnecessary initialization.
Bjørn
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists