[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJieiUgwikFOcgyk-zht+Z_D8rqjpbcVGVFunzv=nNoxVrKcvg@mail.gmail.com>
Date: Tue, 26 Mar 2019 17:19:48 -0700
From: Roopa Prabhu <roopa@...ulusnetworks.com>
To: Hariprasad Kelam <hariprasad.kelam@...il.com>
Cc: rostedt@...dmis.org, mingo@...hat.com,
David Miller <davem@...emloft.net>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] trace: events: fix error directive in argument list
On Mon, Mar 25, 2019 at 12:53 PM Hariprasad Kelam
<hariprasad.kelam@...il.com> 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 <hariprasad.kelam@...il.com>
Acked-by: Roopa Prabhu <roopa@...ulusnetworks.com>
Thanks!
Powered by blists - more mailing lists