[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170425.120001.190819999818819545.davem@davemloft.net>
Date: Tue, 25 Apr 2017 12:00:01 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: weiyj.lk@...il.com
Cc: Yuval.Mintz@...ium.com, Ariel.Elior@...ium.com,
weiyongjun1@...wei.com, everest-linux-l2@...ium.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] qed: fix invalid use of sizeof in
qed_alloc_qm_data()
From: Wei Yongjun <weiyj.lk@...il.com>
Date: Tue, 25 Apr 2017 07:07:18 +0000
> From: Wei Yongjun <weiyongjun1@...wei.com>
>
> sizeof() when applied to a pointer typed expression gives the
> size of the pointer, not that of the pointed data.
>
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Applied with Yuval's Fixes: tag added.
Powered by blists - more mailing lists