Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4350709ioa; Wed, 27 Apr 2022 01:35:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAN6qRNFPQgmEtqbE81EZ06R6FCY0grh5KkUjGrGK49RrWw56zoM5MOEGxtf8MLHFXPATR X-Received: by 2002:aa7:cd42:0:b0:423:e9c4:fff7 with SMTP id v2-20020aa7cd42000000b00423e9c4fff7mr29420099edw.399.1651048552219; Wed, 27 Apr 2022 01:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651048552; cv=none; d=google.com; s=arc-20160816; b=Q48gA3UmuBu3GJJmJZrvjOmjOZi1D9D83xEDVXeCnaTFFw74GoCdca3VZVJ906IN8k KdUGF4lgpoOIj+Nj/0NMPt2RR9D6cd27482hzq1TI7V7BOVO39eetz8xNdzGQhsGCZ+E peafxEDgSmczL7f01mY/9LA1rKntqUQvjKw/cFCElnF7z1kAVfyQscphRPmKae4wFFxB X76WQl5NXeRZyM/rx0TWTuVCuhmnwftwkXGzHVuRTpJ+tF3NwmBxnixouHRTotE552b2 9nqHWHNgEXmVQT10Tim+gqRXOwYHjIy/sOLT9oRIY5dHN2eDWCypXQMVNnn1+QazfBoz 74fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:subject:from:user-agent:mime-version:date:message-id; bh=UVX9ZrS2xZyntz+JeOmlmWeC8oghE3XethMZ3LsVaoY=; b=NHCtGsFk6hr9HrIggiVw8hTJx6FjXbrwpoxbesisjV8ieQkpI2fFaN8U3tnjo/2t0j rkysKbBcYyM0NaM68XVLLf1c+hSbn4jx3nReeiBp+ifJK1s6c323I/9MKy43GSm77l1Z mQ0wDNVptIXzrIcVESmk4PdJ3+HeJSAk8N6lbTLyP1hMDKtlGZDBd+5nIhIrfB1U1aP3 CBFA8Q1k9dLhGI7eT9K8V0gMWOABieyb2Kb54ddcg8m1EPXDpP+U2SJJOOLLMU571gjf B3ke1Nwlv75V5SP11TURjWG16xgLaWACJso5ejlQuovLToOgnykc6rogpexbNBvnwzJ5 80hQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s13-20020a170906454d00b006df76385e7csi581415ejq.796.2022.04.27.01.35.27; Wed, 27 Apr 2022 01:35:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348641AbiDZKW5 (ORCPT + 99 others); Tue, 26 Apr 2022 06:22:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348801AbiDZKWb (ORCPT ); Tue, 26 Apr 2022 06:22:31 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BD56B24968; Tue, 26 Apr 2022 02:52:23 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 7194C1E80D56; Tue, 26 Apr 2022 17:49:09 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lx14sW9fD0dM; Tue, 26 Apr 2022 17:49:06 +0800 (CST) Received: from [18.165.124.109] (unknown [101.228.255.56]) (Authenticated sender: yuzhe@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id 26C751E80CE6; Tue, 26 Apr 2022 17:49:06 +0800 (CST) Message-ID: Date: Tue, 26 Apr 2022 17:52:19 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 From: yuzhe Subject: Re: [PATCH] batman-adv: remove unnecessary type castings To: Sven Eckelmann , mareklindner@neomailbox.ch, sw@simonwunderlich.de, a@unstable.cc, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com Cc: b.a.t.m.a.n@lists.open-mesh.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, liqiong@nfschina.com, kernel-janitors@vger.kernel.org References: <20220421154829.9775-1-yuzhe@nfschina.com> <20220425113635.1609532-1-yuzhe@nfschina.com> <2133162.nbW41nx31j@ripper> In-Reply-To: <2133162.nbW41nx31j@ripper> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I agree, this patch is better. And I have tested, no sparse warning anymore. Thank your for your help. 在 2022/4/25 20:50, Sven Eckelmann 写道: > > On Monday, 25 April 2022 13:36:35 CEST Yu Zhe wrote: > >> >> remove unnecessary void* type castings. >> >> Signed-off-by: Yu Zhe >> --- >> net/batman-adv/translation-table.c | 8 ++++---- >> 1 file changed, 4 insertions(+), 4 deletions(-) >> > > If you send a second version then please use `git format-patch -v2 ...` to > format the patch. Now it looks in patchworks like you've resent the first > version again. And please also add a little changelog after "---" which > explains what you've changed. It is trivial in this little patch but still > might be useful. > > Regarding the patch: Now you've removed bridge_loop_avoidance.c + > batadv_choose_tt instead of fixing your patch. I would really prefer this > patch version: > > https://git.open-mesh.org/linux-merge.git/commitdiff/8864d2fcf04385cabb8c8bb159f1f2ba5790cf71 > > Kind regards, > Sven >