linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Octeon: Remove unused MIO types and macros.

To: "Steven J. Hill" <steven.hill@cavium.com>
Subject: Re: [PATCH] MIPS: Octeon: Remove unused MIO types and macros.
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 24 Mar 2017 11:59:24 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <20170316160219.GL5512@linux-mips.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1489068885-9711-1-git-send-email-steven.hill@cavium.com> <20170316160219.GL5512@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.8.0 (2017-02-23)
On Thu, Mar 16, 2017 at 05:02:19PM +0100, Ralf Baechle wrote:

> Thanks, queued for 4.12.

And dropped again:

[...]
  CC      drivers/net/ethernet/cavium/octeon/octeon_mgmt.o
drivers/net/ethernet/cavium/octeon/octeon_mgmt.c: In function 
‘octeon_mgmt_ioctl_hwtstamp’:
drivers/net/ethernet/cavium/octeon/octeon_mgmt.c:707:20: error: 
‘CVMX_MIO_PTP_CLOCK_COMP’ undeclared (first use in this function)
     cvmx_write_csr(CVMX_MIO_PTP_CLOCK_COMP, clock_comp);
                    ^
drivers/net/ethernet/cavium/octeon/octeon_mgmt.c:707:20: note: each undeclared 
identifier is reported only once for each function it appears in
scripts/Makefile.build:294: recipe for target 
'drivers/net/ethernet/cavium/octeon/octeon_mgmt.o' failed
make[5]: *** [drivers/net/ethernet/cavium/octeon/octeon_mgmt.o] Error 1
make[5]: Target '__build' not remade because of errors.
scripts/Makefile.build:553: recipe for target 
'drivers/net/ethernet/cavium/octeon' failed
make[4]: *** [drivers/net/ethernet/cavium/octeon] Error 2
make[4]: Target '__build' not remade because of errors.
scripts/Makefile.build:553: recipe for target 'drivers/net/ethernet/cavium' 
failed
make[3]: *** [drivers/net/ethernet/cavium] Error 2
make[3]: Target '__build' not remade because of errors.
scripts/Makefile.build:553: recipe for target 'drivers/net/ethernet' failed
make[2]: *** [drivers/net/ethernet] Error 2
make[2]: Target '__build' not remade because of errors.
scripts/Makefile.build:553: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2
  CC      drivers/watchdog/octeon-wdt-main.o
drivers/watchdog/octeon-wdt-main.c: In function ‘octeon_wdt_init’:
drivers/watchdog/octeon-wdt-main.c:585:18: error: ‘CVMX_MIO_BOOT_LOC_ADR’ 
undeclared (first use in this function)
   cvmx_write_csr(CVMX_MIO_BOOT_LOC_ADR, i * 8);
                  ^
drivers/watchdog/octeon-wdt-main.c:585:18: note: each undeclared identifier is 
reported only once for each function it appears in
drivers/watchdog/octeon-wdt-main.c:586:18: error: ‘CVMX_MIO_BOOT_LOC_DAT’ 
undeclared (first use in this function)
   cvmx_write_csr(CVMX_MIO_BOOT_LOC_DAT, ptr[i]);
                  ^
drivers/watchdog/octeon-wdt-main.c:588:17: error: implicit declaration of 
function ‘CVMX_MIO_BOOT_LOC_CFGX’ [-Werror=implicit-function-declaration]
  cvmx_write_csr(CVMX_MIO_BOOT_LOC_CFGX(0), 0x81fc0000);
                 ^
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target 
'drivers/watchdog/octeon-wdt-main.o' failed
make[2]: *** [drivers/watchdog/octeon-wdt-main.o] Error 1
make[2]: Target '__build' not remade because of errors.
scripts/Makefile.build:553: recipe for target 'drivers/watchdog' failed
make[1]: *** [drivers/watchdog] Error 2
make[1]: Target '__build' not remade because of errors.
Makefile:1002: recipe for target 'drivers' failed
make: *** [drivers] Error 2
make: Target '_all' not remade because of errors.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>