[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAb+SYab27uo7vF40++7knVVO_mEz+LKQKAiL5c-mKVeeJHUjQ@mail.gmail.com>
Date: Sun, 15 Sep 2013 14:27:36 +0800
From: ZHAO Gang <gamerh2o@...il.com>
To: ZHAO Gang <gamerh2o@...il.com>
Cc: Or Gerlitz <or.gerlitz@...il.com>,
Prarit Bhargava <prarit@...hat.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Doug Ledford <dledford@...hat.com>,
Amir Vadai <amirv@...lanox.com>,
Or Gerlitz <ogerlitz@...lanox.com>
Subject: Re: [PATCH] net, mellanox mlx4 Fix compile warnings
sorry for the inconvenince, i'm just practise the use of mutt, sorry again.
On Sun, Sep 15, 2013 at 2:22 PM, ZHAO Gang <gamerh2o@...il.com> wrote:
> hell what!
>
> On Sun, Sep 15, 2013 at 09:14:00AM +0300, Jack Morgenstein wrote:
>> On Sat, 14 Sep 2013 22:10:19 +0300
>> Or Gerlitz <or.gerlitz@...il.com> wrote:
>>
>> > > + struct res_cq *uninitialized_var(cq);
>> > >
>> > > err = cq_res_start_move_to(dev, slave, cqn,
>> > > RES_CQ_ALLOCATED, &cq);
>>
>> I have no objection. However, I don't know if the compiler is being too
>> clever here or too stupid. The cq variable is initialized in
>> cq_res_start_move_to(), but the compiler is ignoring this -- or maybe
>> it is simply not assuming that cq will in fact be
>> initialized by the called procedure?
>>
>> In any event, this change cannot hurt.
>>
>> -Jack
>> --
>> 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
--
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