Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1584yba; Sat, 30 Mar 2019 12:48:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqw97NMzQ3BiMViQwvX+7YJyUmHdwGmHTFdJ7s9bvhIYFO+wQcxBhEMg9pUeh1dPcRf3b4C9 X-Received: by 2002:a17:902:7e49:: with SMTP id a9mr52692961pln.303.1553975298816; Sat, 30 Mar 2019 12:48:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553975298; cv=none; d=google.com; s=arc-20160816; b=DvWxI1VUyK1QD8k8aPQLKQ5gUOVmhXWRFoVKReHPa4zqow5yYcHrPY9efM8CyGxw0y KQ0/NDvm/D8O3+nabPpMw3VYqNHXYoeyS/YXPnnC+WdIMxeUJaSfFXyoVrE4phiucRBl UrQcG3KE/9qLpyfAuA+/+m16iPENFEuJ1+NucfMeML61MhW/hhpVHp8fxKdCzXqzZnAK u4ImtG/OWtiaTX5CEtz+2zeLrm3mQZ4k4NkDp4egvTaU47gLpbx5r+dUB/CE8M2Mmzww p42in/Oc1jbqiqnPdMKOABa/mQtVdduPzA570Txk1zleXszZcjDIX7n6MuGtf4u4XoDu pDlw== 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:dkim-signature; bh=nKa67LWTPWocUepnhGkFzFeiEdcOUiMiwS8lY32fIMM=; b=wjmZMCYzEqppKAprWqwlYHOvUjcBfXJtb9EbybiGnBDNeHnT70P0ByA/b2/t5f8+P5 ONE5MtEf9zbfY9Td2LvxMWPJof/WM4WilCaH71WvFp1qHXKqCZpSWpwyM91RuqSJCaDU cZ/gHeAkgyfS8yAZ1oybtl5WSCQS/Iw+Ww4mMeZsPMOTVDfUfZ2E4z37j7k3E8uU5c9m 22QTIo3mRqOQyWLG6kBC6m/MA7YHvTHf8bzwkrTHDtRzrnGAHq3f8CVrnqFDQLdNXmqW jBK1EFw22YafmQjalEOdlgXqZ/bZv9ipjrWBz+eMjCyp5a5m6/d0+LQPkofN0hgzfI8r 6Fow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=auAXiptZ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d62si5285734pfc.104.2019.03.30.12.48.01; Sat, 30 Mar 2019 12:48:18 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=auAXiptZ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730959AbfC3Tr0 (ORCPT + 99 others); Sat, 30 Mar 2019 15:47:26 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:35135 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730917AbfC3TrZ (ORCPT ); Sat, 30 Mar 2019 15:47:25 -0400 Received: by mail-ed1-f68.google.com with SMTP id s39so4842946edb.2 for ; Sat, 30 Mar 2019 12:47:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=nKa67LWTPWocUepnhGkFzFeiEdcOUiMiwS8lY32fIMM=; b=auAXiptZJLUV9qTK52GPUAtChEhVii/EmCsMRqd3MH4OQeZFiZ6ddCOToNW6ag337G jR3gG9tj5fjohOQ4cNAxzZcolcMsTVcGCkm8s5bIlAk4F5AA6wGW0YbS5/0bZJA7h0QR EwNeAPIn1Tbxug44zwqZL9jK+ouP1yl9ckFGHcMw6MFLkimcWoD7U8423ch/DNCPb08A GVxVTTEYCOL/zjbQlnQxsrij3MuKRe6OaM5qbJ7LK8mUVqfRi2mfSxQsN4BUYDJTgyV+ ivIoddCGiXo8hmxDPOAx9w4bN3op+lz0B/Dx/tKWhp8ipw8alx+foiGtqL/Y00xhY/LA 2CPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=nKa67LWTPWocUepnhGkFzFeiEdcOUiMiwS8lY32fIMM=; b=mq17XmjqEsnQABORzoHpDIdyGNzXrrhxJ05cMXoffqQCNXeC+F2+g9EHwXmZcYSpoD 4Ck+7J3zIL6tZemqVsiYmCcgsm7tFYPbpYirP75kIO7/nuAuXlfYCdy0EY2kSnLGSaIP t6/fgzVEau4/av1bg9dQtkIuwbbKK5mwwK3A+d4nC717VvTwPNkicHhBVnU8Ym7d5JAH Tts162ParYXWrOa0cYkKibztzQlYqIMGRdftRu+qIaAuBb0g9mR5sU2uVWfYV8TcA0H4 urqJ+Y/A0BkFOwNKlUpT3DURxn1vOfCHm2Tae+7B4JpLfsbT/f08zP479K5KXyQGhNTd W87w== X-Gm-Message-State: APjAAAWo4JbIRPguRIsCFnQo8IYRJCIVwUrM9hCyHqkALKBdg4OB1nNF 16cyM+J//UPTY2hDi+1sLD0= X-Received: by 2002:a50:e61a:: with SMTP id y26mr15364661edm.157.1553975244220; Sat, 30 Mar 2019 12:47:24 -0700 (PDT) Received: from ltop.local ([2a02:a03f:4079:2f00:189c:4b38:83dd:60c6]) by smtp.gmail.com with ESMTPSA id f58sm1726986edd.42.2019.03.30.12.47.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Mar 2019 12:47:23 -0700 (PDT) Date: Sat, 30 Mar 2019 20:47:22 +0100 From: Luc Van Oostenryck To: Hariprasad Kelam Cc: rostedt@goodmis.org, mingo@redhat.com, roopa@cumulusnetworks.com, davem@davemloft.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] trace: events: fix error directive in argument list Message-ID: <20190330194721.5v3r6txftc2zbla5@ltop.local> References: <20190330181823.GA16263@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190330181823.GA16263@hari-Inspiron-1545> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 30, 2019 at 11:48:23PM +0530, Hariprasad Kelam wrote: > This patch fixes below spare errors. > > Sparse error: > make C=2 CF=-D__CHECK_ENDIAN__ M=net/core > ./include/trace/events/neigh.h:73:1: error: directive in argument list > ./include/trace/events/neigh.h:78:1: error: directive in argument list > ./include/trace/events/neigh.h:150:1: error: directive in argument list > ./include/trace/events/neigh.h:155:1: error: directive in argument list > > Changes below two lines to signle line to avoid sparse error > if (n->tbl->family == AF_INET6) { > to if (IS_ENABLED(CONFIG_IPV6) && n->tbl->family == AF_INET6) > > Signed-off-by: Hariprasad Kelam Thanks, Reviewed-by: Luc Van Oostenryck -- Luc