From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50023C10F14 for ; Thu, 3 Oct 2019 19:08:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1AC2D20873 for ; Thu, 3 Oct 2019 19:08:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570129691; bh=5rCxKyu3RiZEwRfpsf3N4QH4gAu/zVk4UGOmUo+YyYE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=m0MWAMB5/9PCifNxuosKmjQfikPPlW1Yq0+ZrzMgoXUod/gcVtBlrmir+vMeZuMRp ZRH6gTWC+XXmwbL4CWvXpP4YA2H5v3zXGZhZgsVFqNlOz32snDs3C8gymEtTg5cKOi yZbB5dbAR/BwmkvD9yUgfeWLaBmjjQGyGWBAryRk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730071AbfJCTIK (ORCPT ); Thu, 3 Oct 2019 15:08:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:44394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729702AbfJCTIK (ORCPT ); Thu, 3 Oct 2019 15:08:10 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2D40A20873; Thu, 3 Oct 2019 19:08:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570129689; bh=5rCxKyu3RiZEwRfpsf3N4QH4gAu/zVk4UGOmUo+YyYE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NHJKVcjsBPYrplAkRtd42nfCvc0yON94Seu1MxmsvRB3hKgJ4UuSScE8aw1rYq8oJ 5+zvoW2mE5EzPPWtqzTcQBF6KmMaJqoVuQzuRK2TpC6kk8UdnC21X1rdVjpDr2+nSu IZMF+5crJBJyy4qy4YxBJ++XsoDWjtuHFxMBsAyg= Date: Thu, 3 Oct 2019 21:08:07 +0200 From: Greg Kroah-Hartman To: =?iso-8859-1?Q?Fran=E7ois?= Valenduc Cc: stable@vger.kernel.org Subject: Re: [PATCH 4.19 000/211] 4.19.77-stable review Message-ID: <20191003190807.GA3585751@kroah.com> References: <20191003154447.010950442@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Thu, Oct 03, 2019 at 09:02:23PM +0200, François Valenduc wrote: > This does not compile. I get this error: > > CC drivers/ras/debugfs.o > drivers/ras/debugfs.c:9:5: error: redefinition of 'ras_userspace_consumers' > int ras_userspace_consumers(void) > ^~~~~~~~~~~~~~~~~~~~~~~ > In file included from drivers/ras/debugfs.c:2: > ./include/linux/ras.h:14:19: note: previous definition of > 'ras_userspace_consumers' was here > static inline int ras_userspace_consumers(void) { return 0; } > ^~~~~~~~~~~~~~~~~~~~~~~ > drivers/ras/debugfs.c:39:12: error: redefinition of 'ras_add_daemon_trace' > int __init ras_add_daemon_trace(void) > ^~~~~~~~~~~~~~~~~~~~ > In file included from drivers/ras/debugfs.c:2: > ./include/linux/ras.h:16:19: note: previous definition of > 'ras_add_daemon_trace' was here > static inline int ras_add_daemon_trace(void) { return 0; } > ^~~~~~~~~~~~~~~~~~~~ > drivers/ras/debugfs.c:55:13: error: redefinition of 'ras_debugfs_init' > void __init ras_debugfs_init(void) > ^~~~~~~~~~~~~~~~ > In file included from drivers/ras/debugfs.c:2: > ./include/linux/ras.h:15:20: note: previous definition of > 'ras_debugfs_init' was here > static inline void ras_debugfs_init(void) { } > ^~~~~~~~~~~~~~~~ > make[2]: *** [scripts/Makefile.build:304: drivers/ras/debugfs.o] Error 1 > make[1]: *** [scripts/Makefile.build:544: drivers/ras] Error 2 > make: *** [Makefile:1046: drivers] Error 2 > zsh: exit 2 LANG="C" make > > > Does somebody have an idea about this ? Do you have a .config that causes this? thanks, greg k-h