From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752830AbcEGGgW (ORCPT ); Sat, 7 May 2016 02:36:22 -0400 Received: from terminus.zytor.com ([198.137.202.10]:44238 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752087AbcEGGgV (ORCPT ); Sat, 7 May 2016 02:36:21 -0400 Date: Fri, 6 May 2016 23:35:19 -0700 From: tip-bot for Peter Jones Message-ID: Cc: tglx@linutronix.de, matt@codeblueprint.co.uk, luto@amacapital.net, linux-kernel@vger.kernel.org, ard.biesheuvel@linaro.org, mingo@kernel.org, pjones@redhat.com, torvalds@linux-foundation.org, brgerst@gmail.com, peterz@infradead.org, hpa@zytor.com, bp@alien8.de, dvlasenk@redhat.com Reply-To: linux-kernel@vger.kernel.org, tglx@linutronix.de, matt@codeblueprint.co.uk, luto@amacapital.net, ard.biesheuvel@linaro.org, torvalds@linux-foundation.org, brgerst@gmail.com, pjones@redhat.com, mingo@kernel.org, dvlasenk@redhat.com, peterz@infradead.org, bp@alien8.de, hpa@zytor.com In-Reply-To: <1462570771-13324-6-git-send-email-matt@codeblueprint.co.uk> References: <1462570771-13324-6-git-send-email-matt@codeblueprint.co.uk> To: linux-tip-commits@vger.kernel.org Subject: [tip:efi/core] efivarfs: Make efivarfs_file_ioctl() static Git-Commit-ID: 6c5450ef66816216e574885cf8d3ddb31ef77428 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 6c5450ef66816216e574885cf8d3ddb31ef77428 Gitweb: http://git.kernel.org/tip/6c5450ef66816216e574885cf8d3ddb31ef77428 Author: Peter Jones AuthorDate: Fri, 6 May 2016 22:39:31 +0100 Committer: Ingo Molnar CommitDate: Sat, 7 May 2016 07:06:13 +0200 efivarfs: Make efivarfs_file_ioctl() static There are no callers except through the file_operations struct below this, so it should be static like everything else here. Signed-off-by: Peter Jones Signed-off-by: Matt Fleming Cc: Andy Lutomirski Cc: Ard Biesheuvel Cc: Borislav Petkov Cc: Brian Gerst Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/1462570771-13324-6-git-send-email-matt@codeblueprint.co.uk Signed-off-by: Ingo Molnar --- fs/efivarfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/efivarfs/file.c b/fs/efivarfs/file.c index d48e0d2..5f22e74 100644 --- a/fs/efivarfs/file.c +++ b/fs/efivarfs/file.c @@ -157,7 +157,7 @@ efivarfs_ioc_setxflags(struct file *file, void __user *arg) return 0; } -long +static long efivarfs_file_ioctl(struct file *file, unsigned int cmd, unsigned long p) { void __user *arg = (void __user *)p;