[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKfmpScApsp7MXRdHS=V3LFVaJTPrhL7qmb4J_EKH=8KVDh-rA@mail.gmail.com>
Date: Wed, 23 Sep 2020 07:29:43 -0400
From: Jarod Wilson <jarod@...hat.com>
To: kernel test robot <lkp@...el.com>
Cc: LKML <linux-kernel@...r.kernel.org>, kbuild-all@...ts.01.org,
Jay Vosburgh <j.vosburgh@...il.com>,
Veaceslav Falico <vfalico@...il.com>,
Andy Gospodarek <andy@...yhouse.net>,
Jakub Kicinski <kuba@...nel.org>,
Thomas Davis <tadavis@....gov>, Netdev <netdev@...r.kernel.org>
Subject: Re: [RFC PATCH] bonding: linkdesc can be static
On Wed, Sep 23, 2020 at 12:15 AM kernel test robot <lkp@...el.com> wrote:
>
> Signed-off-by: kernel test robot <lkp@...el.com>
> ---
> bond_procfs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c
> index 91ece68607b23..9b1b37a682728 100644
> --- a/drivers/net/bonding/bond_procfs.c
> +++ b/drivers/net/bonding/bond_procfs.c
> @@ -8,7 +8,7 @@
> #include "bonding_priv.h"
>
> #ifdef CONFIG_BONDING_LEGACY_INTERFACES
> -const char *linkdesc = "Slave";
> +static const char *linkdesc = "Slave";
> #else
> const char *linkdesc = "Link";
> #endif
Good attempt, robot, but you missed the #else. Will fold a full
version into my set.
--
Jarod Wilson
jarod@...hat.com
Powered by blists - more mailing lists