From patchwork Thu Nov 13 07:45:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankit Jindal X-Patchwork-Id: 40708 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1349C240ED for ; Thu, 13 Nov 2014 07:47:30 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id b57sf9053346eek.1 for ; Wed, 12 Nov 2014 23:47:29 -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=DZcSs6LoNzHxhTmIKGj9qHhvtGkqokDrg46rtitiAKdyA758i5fCichFJIItOcT3+v Dxo3wFy1c0agrzaokMoasjeE6cVJteFw/2AzK/2DAd2bNijRqyXIBEYp80wNnhZ0dFw1 tAuhwhFe4ZIh9eQYD64MpDtCRFpy/c2R86UUW4GW4ew3HgJIqQEu4f4UQvy7RotFJA+L sJdwEvid5b4em5r4XJPyIWfLjGobmuEe3G4CzCnvuASP+Uf99DukPtyD9OCMbKNmgX9H /YIUbXJEiQzbyfa+pu3etBh6e65+RZyQLqFY8Utnvvshkl+craO6Dmvczqpmh/w48SfU fWQw== X-Gm-Message-State: ALoCoQmFrzTiGp6G3682GCpImPRW4vp0WZziRMg+CqWCluHbixA7iPOLmXtCFuEZ8/f2PDO5WLjZ X-Received: by 10.181.27.135 with SMTP id jg7mr7618501wid.5.1415864849344; Wed, 12 Nov 2014 23:47:29 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.197 with SMTP id q5ls849630lal.39.gmail; Wed, 12 Nov 2014 23:47:28 -0800 (PST) X-Received: by 10.112.56.134 with SMTP id a6mr741438lbq.25.1415864848707; Wed, 12 Nov 2014 23:47:28 -0800 (PST) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id lt11si16503578lac.40.2014.11.12.23.47.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Nov 2014 23:47:28 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by mail-la0-f41.google.com with SMTP id gf13so772393lab.14 for ; Wed, 12 Nov 2014 23:47:28 -0800 (PST) X-Received: by 10.112.52.37 with SMTP id q5mr798348lbo.32.1415864848380; Wed, 12 Nov 2014 23:47:28 -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 ew9csp551184lbc; Wed, 12 Nov 2014 23:47:27 -0800 (PST) X-Received: by 10.68.69.6 with SMTP id a6mr185569pbu.163.1415864846522; Wed, 12 Nov 2014 23:47:26 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ha3si24779438pbc.225.2014.11.12.23.47.25 for ; Wed, 12 Nov 2014 23:47:26 -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 S932090AbaKMHrJ (ORCPT + 25 others); Thu, 13 Nov 2014 02:47:09 -0500 Received: from mail-pd0-f174.google.com ([209.85.192.174]:53039 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753838AbaKMHrE (ORCPT ); Thu, 13 Nov 2014 02:47:04 -0500 Received: by mail-pd0-f174.google.com with SMTP id p10so13902709pdj.19 for ; Wed, 12 Nov 2014 23:47:03 -0800 (PST) X-Received: by 10.70.89.101 with SMTP id bn5mr890645pdb.134.1415864823936; Wed, 12 Nov 2014 23:47:03 -0800 (PST) Received: from pnqlab023.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id ev8sm24087271pdb.28.2014.11.12.23.46.59 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Nov 2014 23:47:03 -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 , Ankit Jindal Subject: [PATCH v4 1/6] uio: code style cleanup Date: Thu, 13 Nov 2014 13:15:17 +0530 Message-Id: <1415864722-2800-2-git-send-email-ankit.jindal@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1415864722-2800-1-git-send-email-ankit.jindal@linaro.org> References: <1415864722-2800-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.215.41 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; } }