Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752902AbdDJHAD (ORCPT ); Mon, 10 Apr 2017 03:00:03 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:32864 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751442AbdDJHAC (ORCPT ); Mon, 10 Apr 2017 03:00:02 -0400 Message-ID: <58eb2d71.4228ed0a.41ebe.ea26@mx.google.com> X-Google-Original-Message-ID: <20170410065933.GA18449@> Date: Mon, 10 Apr 2017 12:29:56 +0530 From: Varsha Rao To: Arnd Bergmann , Greg Kroah-Hartman , Matthew Wilcox Cc: linux-kernel@vger.kernel.org Subject: [PATCH 2/2] drivers: char: Replace fail_printk with fail_print. References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 716 Lines: 28 As printk is no longer used here, rename the label fail_printk as fail_print. Signed-off-by: Varsha Rao --- drivers/char/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/char/misc.c b/drivers/char/misc.c index 5786281..0fed477 100644 --- a/drivers/char/misc.c +++ b/drivers/char/misc.c @@ -293,11 +293,11 @@ static int __init misc_init(void) err = -EIO; if (register_chrdev(MISC_MAJOR, "misc", &misc_fops)) - goto fail_printk; + goto fail_print; misc_class->devnode = misc_devnode; return 0; -fail_printk: +fail_print: pr_err("unable to get major %d for misc devices\n", MISC_MAJOR); class_destroy(misc_class); fail_remove: -- 2.9.3