[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <61CC2BC414934749BD9F5BF3D5D940449869BC15@ORSMSX112.amr.corp.intel.com>
Date: Thu, 14 May 2020 22:22:42 +0000
From: "Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>
To: David Miller <davem@...emloft.net>,
"kuba@...nel.org" <kuba@...nel.org>
CC: "Lifshits, Vitaly" <vitaly.lifshits@...el.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"nhorman@...hat.com" <nhorman@...hat.com>,
"sassmann@...hat.com" <sassmann@...hat.com>, lkp <lkp@...el.com>,
"dan.carpenter@...cle.com" <dan.carpenter@...cle.com>,
"Brown, Aaron F" <aaron.f.brown@...el.com>
Subject: RE: [net-next v2 3/9] igc: add support to eeprom, registers and
link self-tests
> -----Original Message-----
> From: David Miller <davem@...emloft.net>
> Sent: Thursday, May 14, 2020 15:08
> To: kuba@...nel.org
> Cc: Kirsher, Jeffrey T <jeffrey.t.kirsher@...el.com>; Lifshits, Vitaly
> <vitaly.lifshits@...el.com>; netdev@...r.kernel.org; nhorman@...hat.com;
> sassmann@...hat.com; lkp <lkp@...el.com>; dan.carpenter@...cle.com;
> Brown, Aaron F <aaron.f.brown@...el.com>
> Subject: Re: [net-next v2 3/9] igc: add support to eeprom, registers and link
> self-tests
>
> From: Jakub Kicinski <kuba@...nel.org>
> Date: Thu, 14 May 2020 14:52:19 -0700
>
> > On Thu, 14 May 2020 14:31:11 -0700 Jeff Kirsher wrote:
> >> diff --git a/drivers/net/ethernet/intel/igc/igc_diag.c
> >> b/drivers/net/ethernet/intel/igc/igc_diag.c
> >> new file mode 100644
> >> index 000000000000..1c4536105e56
> >> --- /dev/null
> >> +++ b/drivers/net/ethernet/intel/igc/igc_diag.c
> >> @@ -0,0 +1,186 @@
> >> +// SPDX-License-Identifier: GPL-2.0
> >> +/* Copyright (c) 2020 Intel Corporation */
> >> +
> >> +#include "igc.h"
> >> +#include "igc_diag.h"
> >> +
> >> +struct igc_reg_test reg_test[] = {
> >> + { IGC_FCAL, 1, PATTERN_TEST, 0xFFFFFFFF, 0xFFFFFFFF },
> >> + { IGC_FCAH, 1, PATTERN_TEST, 0x0000FFFF, 0xFFFFFFFF },
> >> + { IGC_FCT, 1, PATTERN_TEST, 0x0000FFFF, 0xFFFFFFFF },
> >> + { IGC_RDBAH(0), 4, PATTERN_TEST, 0xFFFFFFFF, 0xFFFFFFFF },
> >
> > drivers/net/ethernet/intel/igc/igc_diag.c:7:21: warning: symbol 'reg_test' was
> not declared. Should it be static?
>
> Jeff, you might want to start checking this kind of stuff internally since Jakub is
> going to catch it within minutes of you posting your changes :-)))
[Kirsher, Jeffrey T]
Ugh, I have been compile testing. Since moving to Fedora 32, kernel compiles are now littered with warnings that were not showing up on the older GCC version which is no excuse, I need to work on parsing the logs better.
Powered by blists - more mailing lists