From patchwork Sun Oct 23 12:02:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Sperling X-Patchwork-Id: 9391077 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 EE8F6607F0 for ; Sun, 23 Oct 2016 12:03:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DFD6528A1B for ; Sun, 23 Oct 2016 12:03:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D4A9128A98; Sun, 23 Oct 2016 12:03:11 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 065CD28A1B for ; Sun, 23 Oct 2016 12:03:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756275AbcJWMDH (ORCPT ); Sun, 23 Oct 2016 08:03:07 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34070 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754033AbcJWMDG (ORCPT ); Sun, 23 Oct 2016 08:03:06 -0400 Received: by mail-wm0-f68.google.com with SMTP id d199so5619173wmd.1; Sun, 23 Oct 2016 05:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=KPeuTTBBsNh/gsUTRmPuq/MZiJ+jdGhnkDH5rYy6Y+Q=; b=Wh34aR4cAEHjlGGV1FkBmhYPqtPnZd2UdgpL6ly3QebBQ+qFaUO+wG7ic1QLPxpFRu TT0fCJvfb/2Ajm8kF0KU75JCx5fSN3xLvWk2GUDgV3np+HU9NryEYHkvHS+P6hfgRRTz tDFtV6NF1mHAj5p2+uwN3QbFMsccuYdsCQagSCnD9E8lbxJHnySIJbJMVLr1s9zidRqq DpUZiDy8vkrapedpk1MuRGBmDjxO2JJXdQaaNbdoevbopY1GyJRjKQ2XmQ6RdqTkHYLH AV/hj16h91UmIFEdI546NTbYnk0rV6PRfgfWp3ie3s4afR5KsBXNm0tu8nVz8Eqqqqjf zECw== 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; bh=KPeuTTBBsNh/gsUTRmPuq/MZiJ+jdGhnkDH5rYy6Y+Q=; b=Oso59Bu4kaDUoBV/soWnlZA5oVvkOm/EG+VXv3m4JiEQrFxR/3cWxf3Fsj/uUrB7ao 0Tv9I+oI/Tq8Ycm7wyM7H1HKVqbLIw92w3JT0EoKkVOkDviCJtF6wF5fxs4HBoQ0rSNm ncA4IjydB8e0ludwS5fSGEk8alO6g8YrWaB2fHWhzG1DFjckiN/nT2TuWu+p3IyYMY71 HFhyoUrozb06qTWQjWXCxgpf2HxR1PdUdQ+D5cbMC298MFGEDWafJjdbYsnoYpZ5SCwG vgg0W/jP/8at60QciLpG2C4V/FU9ifHv2MAyxUofDqpvCZohIh/3KpOFqHPA9e7DXaju AN/w== X-Gm-Message-State: ABUngvcNSyN3GxTy/Xx88BbGhLG1NVdzydX0SSPGJjLqMNh0gOV1ZFMNimZsYzG8mNeTaQ== X-Received: by 10.194.20.3 with SMTP id j3mr8846382wje.30.1477224185081; Sun, 23 Oct 2016 05:03:05 -0700 (PDT) Received: from localhost.localdomain (p5DD04AE1.dip0.t-ipconnect.de. [93.208.74.225]) by smtp.gmail.com with ESMTPSA id e5sm8933266wma.10.2016.10.23.05.03.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 23 Oct 2016 05:03:04 -0700 (PDT) From: Leo Sperling To: mchehab@kernel.org, gregkh@linuxfoundation.org Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Leo Sperling Subject: [PATCH] Staging: media: davinci_vpfe: fix indentation issue in vpfe_video.c Date: Sun, 23 Oct 2016 14:02:23 +0200 Message-Id: <1477224143-22653-1-git-send-email-leosperling97@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is a patch to the vpfe_video.c file that fixes an indentation warning reported by checkpatch.pl Signed-off-by: Leo Sperling Acked-by: Laurent Pinchart --- drivers/staging/media/davinci_vpfe/vpfe_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/davinci_vpfe/vpfe_video.c b/drivers/staging/media/davinci_vpfe/vpfe_video.c index 8be9f85..c34bf46 100644 --- a/drivers/staging/media/davinci_vpfe/vpfe_video.c +++ b/drivers/staging/media/davinci_vpfe/vpfe_video.c @@ -1143,8 +1143,8 @@ static int vpfe_buffer_prepare(struct vb2_buffer *vb) /* Initialize buffer */ vb2_set_plane_payload(vb, 0, video->fmt.fmt.pix.sizeimage); if (vb2_plane_vaddr(vb, 0) && - vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0)) - return -EINVAL; + vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0)) + return -EINVAL; addr = vb2_dma_contig_plane_dma_addr(vb, 0); /* Make sure user addresses are aligned to 32 bytes */