Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp5052420imm; Mon, 14 May 2018 18:40:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrMvE0GCUH2dG5036uVe50TPRXW7/gxywYWjb4ZRhH51E/YsRYuXA/Dnjj0suAoiC7Y+0Xo X-Received: by 2002:a63:6ac6:: with SMTP id f189-v6mr10472530pgc.308.1526348447277; Mon, 14 May 2018 18:40:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526348447; cv=none; d=google.com; s=arc-20160816; b=xfsI5b7fbPWOsCtiEDt5LVNM85/Y8laZhWWIYFKviXYYtLJDTeMB7twGZqmRWYdYZp jAKmaE/Pzj96o8xgA5ktFTE7Kl2dBgeI27j2pbROn3Hka8eRuh73gV0kLmAZDQrfxOiw pFWR3S263U7BYhIu6l4Zs9i2cVm6QIbRctuR7uRFjA8nmb/b/vZri47yj475/upuCgYf s7RRHfDraEny4awSHI3BVWG2d57cOZLw0Mlic7GAR2AzvLTTTLtPYB9KTK4Xcxx38fBm Nwnx3B7veuTStSyL1kOFzrkBDZ9c1AsiZAySPmMddvTAFe/yJoRQLFmo6GuJmWVix3dF 3zTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=/f+3nVsvoJ2wUQixMJZ0KTghFZ8ARu9sqhuAEWQZM44=; b=Yok/QMVCMiRzm7mlotOT74yVN895hHpVYTNjQYoCqFiFz+lZM5shGIVVnYzmtDpQ+i M1PmrfaLBDY4luZJYzxx4MxZ6oCbXu+ku8fkSQ6sO3MxjqmbIMteB9J9/Swqr0ZQuU7A kpYszfbsmBY73oSOLI7bfZXGrZS59o6OTLkFm5UOMa4YBN6rKkLGQFNTh+AIjho+lvOC 63ELs0EZSmBov2HLLFBCkRNw32rPKMHl8uSQi5BwZbEY3Q9BnFQ1Y6H0yHpBD1Fbuf/5 cUeOGT1EHsJkiRp7wX0L45jTJu7KKS0d/Z5Vz0u3dLIG+E3D0l9gXunQpSzpy4K+vXyf h9NQ== 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 e1-v6si8514764pgr.167.2018.05.14.18.40.33; Mon, 14 May 2018 18:40:47 -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 S1752337AbeEOBid (ORCPT + 99 others); Mon, 14 May 2018 21:38:33 -0400 Received: from mga01.intel.com ([192.55.52.88]:57617 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752237AbeEOBib (ORCPT ); Mon, 14 May 2018 21:38:31 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 May 2018 18:38:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,402,1520924400"; d="scan'208";a="50855182" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga003.jf.intel.com with ESMTP; 14 May 2018 18:38:27 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fIOv4-000KIy-J9; Tue, 15 May 2018 09:38:26 +0800 Date: Tue, 15 May 2018 09:38:20 +0800 From: kbuild test robot To: Vlad Buslov Cc: kbuild-all@01.org, netdev@vger.kernel.org, davem@davemloft.net, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, pablo@netfilter.org, kadlec@blackhole.kfki.hu, fw@strlen.de, ast@kernel.org, daniel@iogearbox.net, edumazet@google.com, vladbu@mellanox.com, keescook@chromium.org, linux-kernel@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, kliteyn@mellanox.com Subject: Re: [PATCH 05/14] net: sched: always take reference to action Message-ID: <201805150914.qi3ndJdl%fengguang.wu@intel.com> References: <1526308035-12484-6-git-send-email-vladbu@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1526308035-12484-6-git-send-email-vladbu@mellanox.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vlad, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net/master] [also build test WARNING on v4.17-rc5 next-20180514] [cannot apply to net-next/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Vlad-Buslov/Modify-action-API-for-implementing-lockless-actions/20180515-025420 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) net/sched/act_api.c:71:15: sparse: incorrect type in initializer (different address spaces) @@ expected struct tc_cookie [noderef] *__ret @@ got [noderef] *__ret @@ net/sched/act_api.c:71:15: expected struct tc_cookie [noderef] *__ret net/sched/act_api.c:71:15: got struct tc_cookie *new_cookie net/sched/act_api.c:71:13: sparse: incorrect type in assignment (different address spaces) @@ expected struct tc_cookie *old @@ got struct tc_cookie [noderef] *[assigned] __ret >> net/sched/act_api.c:287:6: sparse: symbol '__tcf_idr_check' was not declared. Should it be static? net/sched/act_api.c:144:48: sparse: dereference of noderef expression Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation