Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5993975ybe; Tue, 10 Sep 2019 11:53:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTcBrt+kE1ugMyZs+7NNO5MziwtCMJuZjqlxomWEpPRBEUXiKhjSchQTVGQMwkeo4biC8Z X-Received: by 2002:a17:906:a3d2:: with SMTP id ca18mr26175067ejb.194.1568141592967; Tue, 10 Sep 2019 11:53:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568141592; cv=none; d=google.com; s=arc-20160816; b=xwgKcNNp6thglH2lX7W6LQJUuRCfUQv7oVwv0GDMiL1mN1fgkO18RgayTPlnQkrt8g 8aP3UML4scpk7S5rcsdAsHYspxW3Hm08OnB+Ot+Hoj/WiONvGLhvK8wdc4JwSzYZRnfB Bf0PGEQjuwRQzCacHZ85OuUF3KUOUjDInUlqwtyAV3Usp7yla1IxyOaSV3CHFbnqosAH owqfJ7MtSK9AKDaEqwV5CpArAb7kfWMKgylQy/lwoaxSC+10mGeoGSTCBu2C2v8EUbVD 7SaqOq3XhdyHgCLcOII9tqUK4BUgY8v7iBg++Xwt4IxDMr+MfYflVdBfxPxIiNlQalgm D3UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=l97Dgc6UO+XybIZTHRbhH95m+YBa35xzZTNLVyu64qY=; b=I/gGcPxB3nR3pA69PaxVC8YuTSJF57B1cpVwMtxfM03utaWKx5Bf/NkL7KXydv5T9a 928XR1xi9HBWtP38dhdTivqLJenRQ44uHHxMsRVwK6Q1OpJCSkD3xqp2Z5Qgn0jCYpY2 ZBNxfvo47r/Q4M1NrmirbBOjdlP6SYqWlXbKKi853ezkEZsNhBgOSKvBVfCdHH9Ju/Qk bRdw28FCgkCH5/9Oqlco22vH84ZrANoaBC1oA6BZVaaHZCproGryLG7YXOoBoPmNX6Bq hire9FAnxznh+I87Cr4DxHM3xNeaTSRDpq2WLR9zg3yZfRoWzJDPBcLpnkvzi4mzW8+K GM2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=hazzpvv9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w23si5473787edv.199.2019.09.10.11.52.48; Tue, 10 Sep 2019 11:53:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=hazzpvv9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732537AbfIJIjo (ORCPT + 99 others); Tue, 10 Sep 2019 04:39:44 -0400 Received: from mail.skyhub.de ([5.9.137.197]:60134 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728050AbfIJIjo (ORCPT ); Tue, 10 Sep 2019 04:39:44 -0400 Received: from zn.tnic (p200300EC2F0ABE0090E5501BEA8F5D7A.dip0.t-ipconnect.de [IPv6:2003:ec:2f0a:be00:90e5:501b:ea8f:5d7a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 3B7141EC0688; Tue, 10 Sep 2019 10:39:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1568104782; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=l97Dgc6UO+XybIZTHRbhH95m+YBa35xzZTNLVyu64qY=; b=hazzpvv9pfkJoLEIwtHcJBKqJVCibsEHxikWcNJhrABmf1gxh74nOrHot1KD4xHpnTCR+u v8MPiXBjCOv50dGhM6dNUl2ZXecicj5fSNyL03C7OO/J7kL33rwvcmYM1OszhWYodsPecX k0v9wLTWude61QxhP7U4uN9boVaj8O8= Date: Tue, 10 Sep 2019 10:39:40 +0200 From: Borislav Petkov To: tiantao6 Cc: tony.luck@intel.com, linux-edac@vger.kernel.org, linuxarm@huawei.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ras: debugfs: Fix warning: no previous prototype Message-ID: <20190910083940.GC23931@zn.tnic> References: <1568103739-36667-1-git-send-email-tiantao6@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1568103739-36667-1-git-send-email-tiantao6@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 10, 2019 at 04:22:19PM +0800, tiantao6 wrote: > fixed the fellow warning when building with warnings enabled (W=1) "fellow"? > > drivers/ras/debugfs.c:8:5: warning: no previous prototype for > ‘ras_userspace_consumers’ [-Wmissing-prototypes] > int ras_userspace_consumers(void) > > drivers/ras/debugfs.c:38:12: warning: no previous prototype for > ‘ras_add_daemon_trace’ [-Wmissing-prototypes] > int __init ras_add_daemon_trace(void) > > drivers/ras/debugfs.c:54:13: warning: no previous prototype for > ‘ras_debugfs_init’ [-Wmissing-prototypes] > void __init ras_debugfs_init(void) https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=ras/core&id=0a54b809a3a2c31e1055b45b03708eb730222be1 > > Signed-off-by: tiantao6 Also, if you intend to send more patches in the future, please use your real name. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette