Received: by 10.192.165.148 with SMTP id m20csp3498193imm; Mon, 30 Apr 2018 00:55:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoFwIeWEPKyWcsXMpeRdjXiJYUdyYMwR9j98c41qYQELN24almg209A73OgJEt1hnBXyyrs X-Received: by 2002:a63:545:: with SMTP id 66-v6mr9311854pgf.446.1525074959843; Mon, 30 Apr 2018 00:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525074959; cv=none; d=google.com; s=arc-20160816; b=CujWLIgNdKMyaobfu4eZH4yav5DRng8NK8+6soQJoyEGDE98mxclN3PeSU5nCikcba ray9MwR1lzx/zpp9/VOkD0MT2rtesn4nuQblvgOrqskU1jfUKBaOFPB+9FqAS2DIEI3y aqWDOTJCEObqfDjdAMeWHrh4ECHP9AFS4+vNNJP/Kp8EJmOQEkLKzb+IGMR3mq2MDPEH k18rMrar/dgJQW+9Uaq62zuka9rs8GKvpwclWx9tstkb+cuvkSChispSYRZmhd2lXW9o sWRtFH5cughdhjY2D+fIwVAmdwwVTPes1RAO7LOz1snzM9eAQXPDOurfnrSacewBlyha P+IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :arc-authentication-results; bh=Qrw9UYeyqEy3wt/aH5DH1FQLyIb49UozO8fwwUB08O8=; b=BTC9ToPXOv7QxOoffaMlhc5VWNLl0iY6M3gIy/9nXtCdt/RePGo0FSqFC6+ftTXy77 C/LaSL4OhZNOAB2X45LlOeGHXC+1EQkzEtXwRRtJMMgy7DmPiKh8Nbo5f9bHtr2ZqBtE 4K87YWBrJdShIPVwVejasSlj824hsu3DKm05XjslM2ip8mRJgYu0X7oDvftYSnFLfVn7 fOKa/9HUJdZ9IElz2pwT+mtF/AYYdiZk4MBEe5ljLBsP5FA++7tOElC8WchNAET+xvcG CDAUZ8XVhrDuQexrvXf7dIRwDaE9zhLx5ta0stPrsfu5vLjTlau0KCRpi5mIrZnMdlsc YJCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2-v6si7199300plo.138.2018.04.30.00.55.45; Mon, 30 Apr 2018 00:55:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752534AbeD3Hzb (ORCPT + 99 others); Mon, 30 Apr 2018 03:55:31 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:44003 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752445AbeD3Hz3 (ORCPT ); Mon, 30 Apr 2018 03:55:29 -0400 Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fD3ec-0003cP-7I; Mon, 30 Apr 2018 09:55:22 +0200 Received: from [192.168.43.236] (unknown [109.42.1.113]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "mkl@blackshift.org", Issuer "StartCom Class 1 Client CA" (not verified)) (Authenticated sender: mkl@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id EE75030DD2D; Mon, 30 Apr 2018 07:41:42 +0000 (UTC) Subject: Re: [PATCH net-next] can: dev: use skb_put_zero to simplfy code To: YueHaibing , wg@grandegger.com Cc: netdev@vger.kernel.org, linux-can@vger.kernel.org, davem@davemloft.net, linux-kernel@vger.kernel.org References: <20180428074957.17084-1-yuehaibing@huawei.com> From: Marc Kleine-Budde Openpgp: preference=signencrypt Autocrypt: addr=mkl@pengutronix.de; keydata= xsFNBFFVq30BEACtnSvtXHoeHJxG6nRULcvlkW6RuNwHKmrqoksispp43X8+nwqIFYgb8UaX zu8T6kZP2wEIpM9RjEL3jdBjZNCsjSS6x1qzpc2+2ivjdiJsqeaagIgvy2JWy7vUa4/PyGfx QyUeXOxdj59DvLwAx8I6hOgeHx2X/ntKAMUxwawYfPZpP3gwTNKc27dJWSomOLgp+gbmOmgc 6U5KwhAxPTEb3CsT5RicsC+uQQFumdl5I6XS+pbeXZndXwnj5t84M+HEj7RN6bUfV2WZO/AB Xt5+qFkC/AVUcj/dcHvZwQJlGeZxoi4veCoOT2MYqfR0ax1MmN+LVRvKm29oSyD4Ts/97cbs XsZDRxnEG3z/7Winiv0ZanclA7v7CQwrzsbpCv+oj+zokGuKasofzKdpywkjAfSE1zTyF+8K nxBAmzwEqeQ3iKqBc3AcCseqSPX53mPqmwvNVS2GqBpnOfY7Mxr1AEmxdEcRYbhG6Xdn+ACq Dq0Db3A++3PhMSaOu125uIAIwMXRJIzCXYSqXo8NIeo9tobk0C/9w3fUfMTrBDtSviLHqlp8 eQEP8+TDSmRP/CwmFHv36jd+XGmBHzW5I7qw0OORRwNFYBeEuiOIgxAfjjbLGHh9SRwEqXAL kw+WVTwh0MN1k7I9/CDVlGvc3yIKS0sA+wudYiselXzgLuP5cQARAQABzSZNYXJjIEtsZWlu ZS1CdWRkZSA8bWtsQGJsYWNrc2hpZnQub3JnPsLBlwQTAQoAQQIbAwIeAQIXgAIZAQULCQgH AwUVCgkICwUWAgMBABYhBMFAC6CzmJ5vvH1bXCte4hHFiupUBQJabjnWBQkK/nszAAoJECte 4hHFiupU7IIP/2Pj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9W1wrXuIRxYrqVAUCWm5BPgIbDAUJAeXlcgAKCRArXuIRxYrqVL9ZD/oD+32+N0ij ZQ8p/RaRjPtSnAs6irNRGE1ZKcKpiM76eRFJrN7HvfFiDFmUpSh+8bDyM5kc/Z1AXhXlf0VB T24NZLBXXaFl/M4HKkJTc+PA3yYgb06ChfMWst5h8rfa7htqAhLUby2MTyfJ0xcAptCWTnW0 OCGjEL4ZKr8Ml/fjKYP7hp37iBXwwQF3lSSdjMsEjMT/9/9Ip2+uJ559F8pCmFV5wNgHRH+j nxIIiUILoQMDn42cygozxfh14GwCqUSPW+EqBb7YOWreWA3D3kbXtIwV7/ZXT7L0n/0OTx9p K9K/C2jleQxaep8bHmHqTEEqkrC0rNhocTcrnOYviEO0TkHvSqtNMaM3KnOL3Nsb6rgqDpj2 BVWkrIqMPi0aXfBu/ArZsAios/0QHB56Id3BshIbs1A2VNmFgrxkhKjwJ8A7geD5PXn0cur0 8byy64Kk7ii0iwbJZasPfVLPLmMEVjiSOgZv4hbKyecWVwtlMh3k4rkMuSVDDr+2E9KQXS2R Efe7jTF9WUzFhm0HYiYSiiQyHuZPLc6t/L9OqvrNVTdYaEkBsm/LVv6h6rqpklJLQhU/2KtL bImH8IQK6+7up2rtwyqeehbNdsiqyDA6Sso5eKCoxKKbAFM7PtEYMC2Kv6wAca5SqEOUtRHU /6jKeO1yNpD5UgI9bzazBn1mwg== Message-ID: <0f0a2623-da07-d102-8bed-d2034c41520a@pengutronix.de> Date: Sun, 29 Apr 2018 18:24:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180428074957.17084-1-yuehaibing@huawei.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="h7VF7kDEiHZCpqK4hmtA9O6mLmnTRpLUk" X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --h7VF7kDEiHZCpqK4hmtA9O6mLmnTRpLUk Content-Type: multipart/mixed; boundary="ZT4sclf9KRnlyTZZdDcm5VvmZvDJrrFkk"; protected-headers="v1" From: Marc Kleine-Budde To: YueHaibing , wg@grandegger.com Cc: netdev@vger.kernel.org, linux-can@vger.kernel.org, davem@davemloft.net, linux-kernel@vger.kernel.org Message-ID: <0f0a2623-da07-d102-8bed-d2034c41520a@pengutronix.de> Subject: Re: [PATCH net-next] can: dev: use skb_put_zero to simplfy code References: <20180428074957.17084-1-yuehaibing@huawei.com> In-Reply-To: <20180428074957.17084-1-yuehaibing@huawei.com> --ZT4sclf9KRnlyTZZdDcm5VvmZvDJrrFkk Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable On 04/28/2018 09:49 AM, YueHaibing wrote: > use helper skb_put_zero to replace the pattern of skb_put() && memset()= >=20 > Signed-off-by: YueHaibing Applied to linux-can-next. Tnx, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --ZT4sclf9KRnlyTZZdDcm5VvmZvDJrrFkk-- --h7VF7kDEiHZCpqK4hmtA9O6mLmnTRpLUk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEENrCndlB/VnAEWuH5k9IU1zQoZfEFAlrl8bMACgkQk9IU1zQo ZfGfIAgAw59vA9/t8GsiIehpDjmL+RTT9WQpYqLCQZSnWkYfV1YZ1OiHpbKiPUrI +F+mxDzMPrjQE1Z+uxSzvjxUmdKq2EcEek0zgNetd+kLjzJnifeVCt2dH8/pdtNY fmObXrvvV4xXMf10EBo44CQo7PYpBi2VE0nUVrqSd3PhVMpnV5l6LEkb+7inyftH KLqC/kZsOqT4aj+fFYkMycExqoPT7c0ud+zr4jvqsavRwOZNm62t6gZgMRQPfW1M V3vXDv+aG6UlzCqZu634Eujb55yhHZEgIBRRUDekzGo/3AI+ZzDEatIK+sWNSNvs 3+Rsv2r9J+cfQUFfGdp72bsc3vhpVg== =bZ5U -----END PGP SIGNATURE----- --h7VF7kDEiHZCpqK4hmtA9O6mLmnTRpLUk--