lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 18 Sep 2017 16:52:46 -0700 (PDT) From: David Miller <davem@...emloft.net> To: colin.king@...onical.com Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us, netdev@...r.kernel.org, kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] net_sched: use explicit size of struct tcmsg, remove need to declare tcm From: Colin King <colin.king@...onical.com> Date: Mon, 18 Sep 2017 12:40:38 +0100 > From: Colin Ian King <colin.king@...onical.com> > > Pointer tcm is being initialized and is never read, it is only being used > to determine the size of struct tcmsg. Clean this up by removing > variable tcm and explicitly using the sizeof struct tcmsg rather than *tcm. > Cleans up clang warning: > > warning: Value stored to 'tcm' during its initialization is never read > > Signed-off-by: Colin Ian King <colin.king@...onical.com> Applied to net-next.
Powered by blists - more mailing lists