Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp683668rwe; Thu, 1 Sep 2022 06:15:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR7rnDbkhNVcZqnr9dcEU1gkgC3dFHfn/TELDi/gidsO0ZZ3jVVtp/R4b3FoeYm/gbHxPMMR X-Received: by 2002:a17:907:97d5:b0:733:1ce:9572 with SMTP id js21-20020a17090797d500b0073301ce9572mr24506283ejc.220.1662038104992; Thu, 01 Sep 2022 06:15:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662038104; cv=none; d=google.com; s=arc-20160816; b=Po6Yig1LkFGHgaznonJ3xhi4chW6ZJZboBlssL19Qo/g6p/DCKhQcj4CQABOe9/RAT CyJN6T04zMpBekixiwuHbxRhORuX5y6uBI5nAsRPhSkZ8lGAxFzcYi+BLQLh2JUNFkue xJsYslEYUQa9Li68HpcPKt32jByVSRnMr4jXQlhbWz+pG4AyHCxFi2RiDvyxfY7WpteG h3enUp1jVLVcspBkXYetJQK0LeHywWlmgrMKbCf08Vms5sfqjnikLF9M1UdG2b1kyl/H JbM5tfjmayzjTAA9/Wor6ec9QclqqStxyApFTm0xW5hCQozKLK4hT9oYCQ18uDXfEXqe gsgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=cWFRUAd0VVHwNo1mO8cKRrLOLzpdE46fPaCXb2frSvs=; b=vyTlqWAB5ytspry/YSxxtPktG/fAqW2SAyjlJIEqDYp4g0nUmfgF4gQzcz/NtdZqIW lSJdtusjxa5BS20mOErhCMBOJCkw5pXkTtbtFZH9u6Lo3nNjYeUc98+4aRBq9ndtGvKA NtRFZ9hP/HxZF9fdDxqf9JiHZ7aLejqEdDwB2cRKovWPWV6NiE3H+8WQyKH1O61pAyU/ 2dfo2/OO/NRWt1ZaKcFYkFcAxv/6h1vuAiV4WJvvaZSxBSGDLcE/LuxcVvAGKx3U2nB3 pcRpeS+bAdek/j4aOBnVIne22nSU8mFa5OEaWJmKog17goIFIw8tL0+Q4fmkMcCFnAXY qISQ== 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 mp30-20020a1709071b1e00b007414e53fb47si10545230ejc.180.2022.09.01.06.14.37; Thu, 01 Sep 2022 06:15:04 -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 S233053AbiIAMm0 (ORCPT + 99 others); Thu, 1 Sep 2022 08:42:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233033AbiIAMmZ (ORCPT ); Thu, 1 Sep 2022 08:42:25 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ED6C115E for ; Thu, 1 Sep 2022 05:42:23 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1oTjWP-0002Jj-Ao; Thu, 01 Sep 2022 14:42:13 +0200 Date: Thu, 1 Sep 2022 14:42:13 +0200 From: Florian Westphal To: kernel test robot Cc: Florian Westphal , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: [netfilter-nf-next:testing 1/6] net/netfilter/nf_conntrack_proto_tcp.c:592:32: warning: implicit conversion from 'enum ' to 'enum nf_ct_tcp_action' Message-ID: <20220901124213.GB7349@breakpoint.cc> References: <202209012010.OWTXJac6-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202209012010.OWTXJac6-lkp@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 kernel test robot wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git testing > head: 655d797bf5e11676f7ef9e68af3e9700404f8695 > commit: 83d3b17508cc0f1a53b73080c51e57054ddf3499 [1/6] netfilter: conntrack: prepare tcp_in_window for ternary return value > config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20220901/202209012010.OWTXJac6-lkp@intel.com/config) > compiler: m68k-linux-gcc (GCC) 12.1.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git/commit/?id=83d3b17508cc0f1a53b73080c51e57054ddf3499 > git remote add netfilter-nf-next git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git > git fetch --no-tags netfilter-nf-next testing > git checkout 83d3b17508cc0f1a53b73080c51e57054ddf3499 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash net/netfilter/ > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > net/netfilter/nf_conntrack_proto_tcp.c: In function 'tcp_in_window': > >> net/netfilter/nf_conntrack_proto_tcp.c:592:32: warning: implicit conversion from 'enum ' to 'enum nf_ct_tcp_action' [-Wenum-conversion] > 592 | return true; > | ^~~~ I'll squash this fix: if (dir == IP_CT_DIR_REPLY && !tcph->ack) - return true; + return NFCT_TCP_ACCEPT;