From patchwork Tue Oct 21 05:56:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankit Jindal X-Patchwork-Id: 39096 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5AD6D203C5 for ; Tue, 21 Oct 2014 05:58:25 +0000 (UTC) Received: by mail-la0-f71.google.com with SMTP id gi9sf299129lab.10 for ; Mon, 20 Oct 2014 22:58:24 -0700 (PDT) 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=dffzLiis2wfveU5YGLBQDFBiYvY/4xUyRE/ACt7LTRN6OQh7vQIK1eSod9cpUwW6GX xES6WqxMH8mtE/jKn7JOeOdrNhyUrGCJgOJou0vCENFH0TY1XNizhUS0+kBfs0VJ5NEg QLtEAxNai3cIrHYfyCVsMPT3kqmccJgBdz0BqPKIoF4Qe+6UE9ja2t0z5nCB9/4z90Ms aGYFK1VDm0y+vhCcKw9rn+Kz7Rv6MlELdaSDbagrt/zvZrHBPZbOQw5PZoeN31/lLxC1 aoiYK3N+5LB/SvIq3wUSU4t0og9z9D9OZllJ5H57qqbgSddW1dqBZajosiECuC+GsP0h Zc0g== X-Gm-Message-State: ALoCoQk0wLAJWCfxRi6uuErczFdVYBHqxhj6YBTABKuSUwEePjOM6R1jZknrbGq1PJNvdDSiaNyB X-Received: by 10.181.27.135 with SMTP id jg7mr3169885wid.5.1413871103932; Mon, 20 Oct 2014 22:58:23 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.26.72 with SMTP id j8ls14187lag.105.gmail; Mon, 20 Oct 2014 22:58:23 -0700 (PDT) X-Received: by 10.152.243.39 with SMTP id wv7mr31344254lac.48.1413871103743; Mon, 20 Oct 2014 22:58:23 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id m8si17159805lam.108.2014.10.20.22.58.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Oct 2014 22:58:23 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by mail-la0-f54.google.com with SMTP id gm9so387073lab.13 for ; Mon, 20 Oct 2014 22:58:23 -0700 (PDT) X-Received: by 10.112.167.38 with SMTP id zl6mr31991475lbb.34.1413871103606; Mon, 20 Oct 2014 22:58:23 -0700 (PDT) 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.84.229 with SMTP id c5csp438435lbz; Mon, 20 Oct 2014 22:58:22 -0700 (PDT) X-Received: by 10.66.165.8 with SMTP id yu8mr1215157pab.128.1413871102095; Mon, 20 Oct 2014 22:58:22 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oe6si9821573pbc.156.2014.10.20.22.58.20 for ; Mon, 20 Oct 2014 22:58:22 -0700 (PDT) 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 S932092AbaJUF6P (ORCPT + 27 others); Tue, 21 Oct 2014 01:58:15 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:51815 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754318AbaJUF6L (ORCPT ); Tue, 21 Oct 2014 01:58:11 -0400 Received: by mail-pa0-f50.google.com with SMTP id kx10so646556pab.23 for ; Mon, 20 Oct 2014 22:58:11 -0700 (PDT) X-Received: by 10.67.30.232 with SMTP id kh8mr228659pad.149.1413871091118; Mon, 20 Oct 2014 22:58:11 -0700 (PDT) Received: from pnqlab023.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id fz1sm3945569pbb.80.2014.10.20.22.58.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Oct 2014 22:58:10 -0700 (PDT) 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 , Ankit Jindal Subject: [PATCH v3 1/6] uio: code style cleanup Date: Tue, 21 Oct 2014 11:26:45 +0530 Message-Id: <1413871011-4101-2-git-send-email-ankit.jindal@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1413871011-4101-1-git-send-email-ankit.jindal@linaro.org> References: <1413871011-4101-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.54 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; } }