From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5ED0CC54EE9 for ; Thu, 8 Sep 2022 20:26:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229607AbiIHU0N (ORCPT ); Thu, 8 Sep 2022 16:26:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbiIHU0L (ORCPT ); Thu, 8 Sep 2022 16:26:11 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1943ED2B39; Thu, 8 Sep 2022 13:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=FAlGaLlUAtfaE4iIGxhp2DLAFKjHtKdEMLcHmqOjh5I=; b=kMfOI1tvtovnNXqTbT03edDZdd cz+sN/41YnKEThh1ZXkm+/Xz2mQHUnn2P6eejBzjlLbd7GU/MfVCTdTwm3g/5VQDT1AQNIlIVHt/G voV02MS+P5nCo/V8JC+XdyZ+N1xgN+UVmoy0J7RY96ELrrHsaG6LDwrntMCi8eBrbNbo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oWO5e-00G0Yh-NE; Thu, 08 Sep 2022 22:25:34 +0200 Date: Thu, 8 Sep 2022 22:25:34 +0200 From: Andrew Lunn To: Jingyu Wang Cc: steffen.klassert@secunet.com, herbert@gondor.apana.org.au, davem@davemloft.net, yoshfuji@linux-ipv6.org, dsahern@kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: ipv4: Fix some coding style in ah4.c file Message-ID: References: <20220908022118.57973-1-jingyuwang_vip@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220908022118.57973-1-jingyuwang_vip@163.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > @@ -165,7 +165,8 @@ static int ah_output(struct xfrm_state *x, struct sk_buff *skb) > ahp = x->data; > ahash = ahp->ahash; > > - if ((err = skb_cow_data(skb, 0, &trailer)) < 0) > + err = skb_cow_data(skb, 0, &trailer)); I prefer the coding style issue over it not compiling at all. I suggest you don't embarrass yourself any more by compile testing your changes. Andrew