Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751196AbdFSO07 (ORCPT ); Mon, 19 Jun 2017 10:26:59 -0400 Received: from mail.savoirfairelinux.com ([208.88.110.44]:43204 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750911AbdFSO05 (ORCPT ); Mon, 19 Jun 2017 10:26:57 -0400 From: Vivien Didelot To: kbuild test robot Cc: kbuild-all@01.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Florian Fainelli , Andrew Lunn Subject: Re: [PATCH net-next 01/10] net: dsa: mv88e6xxx: add irl_init_all op In-Reply-To: <201706190418.ae0hjBaJ%fengguang.wu@intel.com> References: <201706190418.ae0hjBaJ%fengguang.wu@intel.com> Date: Mon, 19 Jun 2017 10:24:36 -0400 Message-ID: <87bmpk838b.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 580 Lines: 10 kbuild test robot writes: > drivers/net/dsa/mv88e6xxx/serdes.o: In function `mv88e6352_g2_irl_init_all': >>> serdes.c:(.text+0x150): multiple definition of `mv88e6352_g2_irl_init_all' > drivers/net/dsa/mv88e6xxx/chip.o:chip.c:(.text+0x3200): first defined here > drivers/net/dsa/mv88e6xxx/serdes.o: In function `mv88e6390_g2_irl_init_all': >>> serdes.c:(.text+0x160): multiple definition of `mv88e6390_g2_irl_init_all' > drivers/net/dsa/mv88e6xxx/chip.o:chip.c:(.text+0x0): first defined here My bad, missing "static inline" in global2.h, respining.