Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4793823img; Tue, 26 Mar 2019 17:30:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7rsOGHuxCyl1gKkwQjxEcHtN9FkdUDZ2T2C3iT1HhVufjAW7xJiaR1f5LCDbclXqqHx/F X-Received: by 2002:a63:fd10:: with SMTP id d16mr31326831pgh.306.1553646601214; Tue, 26 Mar 2019 17:30:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553646601; cv=none; d=google.com; s=arc-20160816; b=L0+xPj9ng3iMfO4ORfoVNT2so8mqQjnoVkv5i9qPz3GCfbIjrA6eJgsKyAJcopirGy pEAB9/1hTXZXM8s3eey8i4GYU2+HwsH2uxAqj/UxAmg3tTZMo9NjqpcbbVm8Fzl5xlhZ cYsSutsxYFiYpyPSK8jmlxH0K9uH3vup6ZjmWkoPh4k0dU4kcoJ0YffUkNbKIvMFLVKw VTrpKABqr0A9DIeoFlC2YUB8TaSt9zrkww7+XIVNoXoklpQbKpsVjzaoLpxOR8WFXEFs q2MjT8UzvaQPBPNAfNoCrZdokRQ53cHI892Eg6wlTaugmfcsNNpAdteUanSI0iO/YxCu p7aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=YDqu+Ouv/jl8NEtNJ0T0hvBn+9NllYh3HrlwRLOokxM=; b=v6Ff1heWCahQsPI/kO7PTU+auK3fLEmILNlE2xWkfMVbNAy28N4VkgOsI71sDuFnQ7 geuj6d7vMmBmv+7sBT3sV0im6u80bKzfAbR6fDiUBKeKjJpYE0o6YwGEHcojzNUI9jwD 1hUBaV4+mWLHEK8T1U1t6BkbBaAlbfmJwJzEDy5+zSaXvsnSevA311j7VmurTqH6ACxs wyThM1jfRSO18eT8AiMWLstmt/+IZIuuzufOILFaFT11HdiSO0L0b47on4OYgSpz6KHc mk3fbSmuJcFAdRgKA+eJeEJPFfaLxPJ1X3Cv/YsX1/yBpucTe21rMlBri7CRTZ0ZywIQ 9QFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cumulusnetworks.com header.s=google header.b=g+182DMR; 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=NONE dis=NONE) header.from=cumulusnetworks.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32si17848883plb.278.2019.03.26.17.29.45; Tue, 26 Mar 2019 17:30:01 -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=@cumulusnetworks.com header.s=google header.b=g+182DMR; 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=NONE dis=NONE) header.from=cumulusnetworks.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732838AbfC0A1q (ORCPT + 99 others); Tue, 26 Mar 2019 20:27:46 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:35494 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732137AbfC0A1p (ORCPT ); Tue, 26 Mar 2019 20:27:45 -0400 Received: by mail-ed1-f67.google.com with SMTP id s39so6950085edb.2 for ; Tue, 26 Mar 2019 17:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cumulusnetworks.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YDqu+Ouv/jl8NEtNJ0T0hvBn+9NllYh3HrlwRLOokxM=; b=g+182DMR7q0J5PKKhrHzD/BXtbW/CX/xwuEH7+blEmSyjP8xSokuQDYFGeushH1yKV Hzn2WmbL5vQw4dC5bYW1Mrhl8/UkIGFQSwqWWDH7SA/dZra5HGZUx+mXqDwP4ySMzNkg 1+VjJ2S9hyNyHgT11xxT5tL2Y8eRm85CRunUs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YDqu+Ouv/jl8NEtNJ0T0hvBn+9NllYh3HrlwRLOokxM=; b=jEcR/Bt8vn5fYlHCfsZUcTqdOUI8BKjiA8dpEC5D/ngS34wcRnFx/TpKGJIoA8uDJi kPd7EvhtMXuuDHcherV2ENsbOTSvGLf5D1BU2Ls2vzDSglvjRCAEZ8E2euUqJRXIop69 IykyTRmy5kYLiCnnzKMJhlhLj7rS3jfy1Ivl5fpnDHuhrCHROQcaL0FrF2X4F31w3dm3 FpXIdt78z+KakG4z0Ez+NQHc/lNgaezLHg9NZROFv5kmuJOGsn+0PzFiM9NYBFsY1Bw2 S8qBdyngGH70TbHJEoxTF3Wo4CIeTO2ZuvJySfypotc8VpQIU9N/pG01z/490ScXKzRC hflg== X-Gm-Message-State: APjAAAXgSNjncJpLcOW3mlZVRoFATv60+zwm2iH/pUlLoDzJmZ1qPYeG PpF+GRSxMpBn34OA4rc6XnViiZQgDxWl9xhlZVDW4g== X-Received: by 2002:a17:906:48c7:: with SMTP id d7mr19074902ejt.225.1553646000143; Tue, 26 Mar 2019 17:20:00 -0700 (PDT) MIME-Version: 1.0 References: <20190325195303.GA20629@hari-Inspiron-1545> In-Reply-To: <20190325195303.GA20629@hari-Inspiron-1545> From: Roopa Prabhu Date: Tue, 26 Mar 2019 17:19:48 -0700 Message-ID: Subject: Re: [PATCH] trace: events: fix error directive in argument list To: Hariprasad Kelam Cc: rostedt@goodmis.org, mingo@redhat.com, David Miller , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 25, 2019 at 12:53 PM 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 IS_ENABLED(CONFIG_IPV6) > if (n->tbl->family == AF_INET6) { > to if (IS_ENABLED(CONFIG_IPV6) && n->tbl->family == AF_INET6) > > and removes reassigning pin6 pointer when IPV6 is enabled > > Signed-off-by: Hariprasad Kelam Acked-by: Roopa Prabhu Thanks!