From patchwork Fri Jul 15 09:03:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9231383 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3EDD560574 for ; Fri, 15 Jul 2016 09:06:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CA9425E13 for ; Fri, 15 Jul 2016 09:06:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 213D9280D0; Fri, 15 Jul 2016 09:06:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D61C825E13 for ; Fri, 15 Jul 2016 09:06:14 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bNz3H-0001Sz-Mi; Fri, 15 Jul 2016 09:04:55 +0000 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bNz37-0001GS-3g for linux-arm-kernel@lists.infradead.org; Fri, 15 Jul 2016 09:04:52 +0000 Received: by mail-pa0-x233.google.com with SMTP id ks6so37718624pab.0 for ; Fri, 15 Jul 2016 02:04:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=D9Cbc3Jak65ogF8GvjSPzoxkMARGirdan73KPscUJ2c=; b=h1Gg1feL8bRf/2i46ooednYUHBWlzWVXp2jbmBITJv8CWs1zvomi8Bm8GRl8DGdjqq KEpvC9Wo6hsZ8Jn/UFj9+mkhLs8cc6GPB6UI6yWWrXATRgmRAkviXcTjuSxI67Rh+GY4 UgXEBRAt089ZuXDtQe96hk0+TyKu1wf+8Cgwo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=D9Cbc3Jak65ogF8GvjSPzoxkMARGirdan73KPscUJ2c=; b=HywPd1uVWpVpA39Yz+tBU6FyRhuuvpue/6TqrAaLUzAcClu7jFbkP5+DawAwky2uhy jHe/WctXdFkUzWc+J+cNApJfpmbdKUDTeIVKf6AD63JWTRBDCNhp94FIcfe4BbXXWcvV wBwRLFrPJ+eTsoYHbFkPwiPlhBxODGRFopbJB1QIw9PSowgxjbdNvY465ZXm+wB6LQUz Zso/4DAjClcjWaLxHZNQAVyeO1vTwfP3zYWABgcxrOgUEPfgfO7CEtBJ+AcvQf+H6VMZ j7gpjxc5/ilnSxyk5/xkILqVZAXr5MOfJXSHmzGVOb98aUVdgLREGuIobrAGtvplU7kK yhrA== X-Gm-Message-State: ALyK8tJoXEER36mC4ZDcnhTZWjkqkSI/JRdE/UCUjlIkB273ip5KLRB1SS7Y8zez6eurKqWx X-Received: by 10.66.51.137 with SMTP id k9mr29718581pao.49.1468573463297; Fri, 15 Jul 2016 02:04:23 -0700 (PDT) Received: from anup-HP-Compaq-8100-Elite-CMT-PC.ban.broadcom.com ([202.140.56.34]) by smtp.gmail.com with ESMTPSA id m78sm6811923pfj.66.2016.07.15.02.04.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Jul 2016 02:04:22 -0700 (PDT) From: Anup Patel To: "Hans J. Koch" , Greg Kroah-Hartman , Jonathan Corbet Subject: [PATCH 1/8] uio: code style cleanup Date: Fri, 15 Jul 2016 14:33:56 +0530 Message-Id: <1468573443-4670-2-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1468573443-4670-1-git-send-email-anup.patel@broadcom.com> References: <1468573443-4670-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160715_020445_422823_3AA734D4 X-CRM114-Status: GOOD ( 11.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anup Patel , Scott Branden , linux-doc@vger.kernel.org, Ray Jui , linux-kernel@vger.kernel.org, Rob Herring , bcm-kernel-feedback-list@broadcom.com, Ankit Jindal , linux-arm-kernel@lists.infradead.org, Jan Viktorin MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ankit Jindal This patch fixes the indentation of switch-case block in uio driver. Signed-off-by: Ankit Jindal Signed-off-by: Anup Patel --- drivers/uio/uio.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index fba021f..f2729b7 100644 --- a/drivers/uio/uio.c +++ b/drivers/uio/uio.c @@ -703,13 +703,13 @@ static int uio_mmap(struct file *filep, struct vm_area_struct *vma) } switch (idev->info->mem[mi].memtype) { - case UIO_MEM_PHYS: - return uio_mmap_physical(vma); - case UIO_MEM_LOGICAL: - case UIO_MEM_VIRTUAL: - return uio_mmap_logical(vma); - default: - return -EINVAL; + case UIO_MEM_PHYS: + return uio_mmap_physical(vma); + case UIO_MEM_LOGICAL: + case UIO_MEM_VIRTUAL: + return uio_mmap_logical(vma); + default: + return -EINVAL; } }