Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933374AbdDGLcs (ORCPT ); Fri, 7 Apr 2017 07:32:48 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:36231 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932528AbdDGLck (ORCPT ); Fri, 7 Apr 2017 07:32:40 -0400 Message-ID: <58e778d7.15dc630a.e6375.3c3a@mx.google.com> X-Google-Original-Message-ID: <20170407113232.GA2806@> Date: Fri, 7 Apr 2017 17:02:32 +0530 From: Varsha Rao To: Arnd Bergmann , Greg Kroah-Hartman , Matthew Wilcox Cc: linux-kernel@vger.kernel.org Subject: [PATCH 3/5] drivers: char: Add blank line after declaration. 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: 536 Lines: 21 Add a blank line after declaration, to fix the checkpatch issue. Signed-off-by: Varsha Rao --- drivers/char/misc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/misc.c b/drivers/char/misc.c index 3a19fa3..1312e29 100644 --- a/drivers/char/misc.c +++ b/drivers/char/misc.c @@ -194,6 +194,7 @@ int misc_register(struct miscdevice *misc) if (is_dynamic) { int i = find_first_zero_bit(misc_minors, DYNAMIC_MINORS); + if (i >= DYNAMIC_MINORS) { err = -EBUSY; goto out; -- 2.9.3