From patchwork Mon Nov 17 10:36:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankit Jindal X-Patchwork-Id: 40898 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 55D1824035 for ; Mon, 17 Nov 2014 10:38:17 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id l18sf385881wgh.2 for ; Mon, 17 Nov 2014 02:38:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=VjaGZN5AYeR4+DG8kZnbVABy+BchZpVb1F5TMNqZFLo=; b=NIiRDDNm3DPlVxFZzE/d5WTwFDfYKYoYOrw4j1xyhp3Vp5GlFWdkWQGRsjSugnZlCP f41nDKfraV2gtC47cWiMB1o4bbEya78DwUlbTxZH1YZzfkt+tnVuRnkgN6FdCVSjh7s6 my2UV80l5aXv0TaU5oHdc5PIT/wz6xi5B3MjKKScRLXliXbN/qD2rrVXg8OCbLmesFhK zyesIb6gj7sPstE3pmXDi+WjEniYjWCWVL6nLWdD5UNJgfgHap3YtFEM4pYaj1QQW2IP 48BikDIsU1c2n48mEfRMZk4Pnagj8rE3n3vp4x0majzlxxqYv9Pb4hnxBSQqUmDH5HgH Bs8w== X-Gm-Message-State: ALoCoQkS2c6U1vmr9MCgQ4RBLLC5PV4XUJuO2ceeIkLv5VgZGOSrcCrRz5Fb5MSHqndolhMfICXA X-Received: by 10.180.82.34 with SMTP id f2mr3251738wiy.1.1416220695464; Mon, 17 Nov 2014 02:38:15 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.2.200 with SMTP id 8ls754489law.102.gmail; Mon, 17 Nov 2014 02:38:15 -0800 (PST) X-Received: by 10.112.73.39 with SMTP id i7mr26288213lbv.8.1416220695148; Mon, 17 Nov 2014 02:38:15 -0800 (PST) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id ew1si51146496lbc.134.2014.11.17.02.38.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Nov 2014 02:38:14 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by mail-lb0-f178.google.com with SMTP id f15so17587248lbj.9 for ; Mon, 17 Nov 2014 02:38:14 -0800 (PST) X-Received: by 10.112.64.200 with SMTP id q8mr84914lbs.46.1416220694740; Mon, 17 Nov 2014 02:38:14 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp1132622lbc; Mon, 17 Nov 2014 02:38:13 -0800 (PST) X-Received: by 10.68.69.1 with SMTP id a1mr763311pbu.162.1416220693003; Mon, 17 Nov 2014 02:38:13 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zf8si34894874pab.93.2014.11.17.02.38.12 for ; Mon, 17 Nov 2014 02:38:12 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752655AbaKQKiG (ORCPT + 26 others); Mon, 17 Nov 2014 05:38:06 -0500 Received: from mail-pa0-f49.google.com ([209.85.220.49]:40481 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751834AbaKQKiD (ORCPT ); Mon, 17 Nov 2014 05:38:03 -0500 Received: by mail-pa0-f49.google.com with SMTP id eu11so252094pac.36 for ; Mon, 17 Nov 2014 02:38:02 -0800 (PST) X-Received: by 10.68.227.104 with SMTP id rz8mr28779475pbc.4.1416220682517; Mon, 17 Nov 2014 02:38:02 -0800 (PST) Received: from pnqlab023.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id od9sm8945685pbb.96.2014.11.17.02.37.57 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Nov 2014 02:38:01 -0800 (PST) From: Ankit Jindal To: linux-kernel@vger.kernel.org Cc: "Hans J. Koch" , Greg Kroah-Hartman , patches@apm.com, linux-arm-kernel@lists.infradead.org, Rob Herring , Tushar Jagad , Russell King - ARM Linux , devicetree@vger.kernel.org, Guenter Roeck , Varka Bhadram , Kumar Gala , Anup Patel , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Ankit Jindal Subject: [PATCH v5 1/6] uio: code style cleanup Date: Mon, 17 Nov 2014 16:06:07 +0530 Message-Id: <1416220572-13381-2-git-send-email-ankit.jindal@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1416220572-13381-1-git-send-email-ankit.jindal@linaro.org> References: <1416220572-13381-1-git-send-email-ankit.jindal@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ankit.jindal@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch fixes the indentation of switch-case block in uio driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- 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 a673e5b..97e6444 100644 --- a/drivers/uio/uio.c +++ b/drivers/uio/uio.c @@ -706,13 +706,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; } }