Re: [PATCH net-next] idsn: fix wrong skb_put() used flat view From: David Miller <davem@davemloft.net> Date: 2017-06-21 13:52:11 From: yuan linyu <redacted> Date: Wed, 21 Jun 2017 20:04:40 +0800 From: yuan linyu <redacted> in my commit b952f4dff2751252db073c27c0f8a16a416a2ddc, - *(u8 *)skb_put(skb_out, 1) = (u8)(accm >> 24); \ + skb_put(skb_out, (u8)(accm >> 24)); \ it should skb_put_u8() Fixes: b952f4dff275 ("net: manual clean code which call skb_put_[data:zero])") Signed-off-by: yuan linyu <redacted> Applied.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help