From patchwork Mon Jul 18 09:14:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9234239 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 F2B61607FF for ; Mon, 18 Jul 2016 09:16:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3AFA212CF for ; Mon, 18 Jul 2016 09:16:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8414254F7; Mon, 18 Jul 2016 09:16:50 +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 51412212CF for ; Mon, 18 Jul 2016 09:16:50 +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 1bP4e6-0001Xl-UT; Mon, 18 Jul 2016 09:15:26 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bP4df-0000JP-1F for linux-arm-kernel@lists.infradead.org; Mon, 18 Jul 2016 09:15:02 +0000 Received: by mail-pa0-x22e.google.com with SMTP id dx3so59094245pab.2 for ; Mon, 18 Jul 2016 02:14:38 -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=dM2jbuRNGXccq4Ty+P5rN5Vxr5MbkHFBW/VskOQ1PXPWUQTs0px0MwTPjg9dQwwG8Q PtnnhbBkIrBqKGYCJ8e+Ee7GZHk5QlcWOCF307qJayfwFhee9g9hsTV6WTw/gJ54L2lV VHy4wRxXNFxj2cQ0JZXNe+paARn86cIdEsQjM= 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=JfJp3UKQvud2OequbDaybBWBzBWhU5WA4DGg1vQboOZUMZV1rdycN7E7hEIroe9+7i GRMJdpK4dywraseLw4DIOsFp+v7jIi/KZ4X9G8cnG54btRurzNWcps0S46HeGKTa/rd0 ljBQIEryqKblL975XmcJT0d/f+DJlj4sZuzLB2ptnqOkDQTdbpdDU3t6b1I5x19TzjaD CbW6p8ElGKCh42jiaLV+IJyWTRIC7SwN+GUacn3evMNh1KcW37BvOvtjZcH6WBfndEsA OnmIoGkpexy7HQqR+Xw58NZ1EBKEDzTb/pxCh6xnLY9Xjmd4agjVDt1QkUo95Bw44yUb 9O0g== X-Gm-Message-State: ALyK8tLE8j2QIV/1AnhBIOh93nEriKESF8Mo8yZQO0/lrHGudfez+Gu+EgrslxXC5QUQKEz/ X-Received: by 10.66.27.243 with SMTP id w19mr54342124pag.112.1468833277405; Mon, 18 Jul 2016 02:14:37 -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 z1sm2883269pab.19.2016.07.18.02.14.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Jul 2016 02:14:36 -0700 (PDT) From: Anup Patel To: "Hans J. Koch" , Greg Kroah-Hartman , Jonathan Corbet Subject: [PATCH v2 2/8] uio: code style cleanup Date: Mon, 18 Jul 2016 14:44:14 +0530 Message-Id: <1468833260-5305-3-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1468833260-5305-1-git-send-email-anup.patel@broadcom.com> References: <1468833260-5305-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160718_021459_189644_37A6DFC3 X-CRM114-Status: GOOD ( 12.49 ) 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: Mark Rutland , devicetree@vger.kernel.org, Anup Patel , Scott Branden , linux-doc@vger.kernel.org, Ray Jui , Russell King - ARM Linux , 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; } }