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: Wed, 08 Oct 2014 16:08:50 -0400 (EDT) From: David Miller <davem@...emloft.net> To: dan.carpenter@...cle.com Cc: hariprasad@...lsio.com, netdev@...r.kernel.org, kernel-janitors@...r.kernel.org Subject: Re: [patch 2/2 v2 -next] cxgb4: clean up a type issue From: Dan Carpenter <dan.carpenter@...cle.com> Date: Wed, 8 Oct 2014 16:44:34 +0300 > The tx_desc struct holds 8 __be64 values. The original code in > ring_tx_db() took a tx_desc pointer then casted it to an int pointer and > then casted it to a u64 pointer. It was confusing and triggered some > static checker warnings. > > I have changed the cxgb_pio_copy() function to only take tx_desc > pointers. This isn't really a loss of flexibility because anything else > was buggy to begin with. > > I also removed the casting on the destination pointer since that was > unnecessary and a bit messy. > > Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com> Applied. -- 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