Message ID | 20131211060921.GA4772@ubuntu (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <davinci-linux-open-source-bounces+patchwork-davinci=patchwork.kernel.org@linux.davincidsp.com> X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8DB829F372 for <patchwork-davinci@patchwork.kernel.org>; Sun, 22 Dec 2013 13:31:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C2DC1205EC for <patchwork-davinci@patchwork.kernel.org>; Sun, 22 Dec 2013 13:31:41 +0000 (UTC) Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A3897205E9 for <patchwork-davinci@patchwork.kernel.org>; Sun, 22 Dec 2013 13:31:40 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id rBMDVddN026419 for <patchwork-davinci@patchwork.kernel.org>; Sun, 22 Dec 2013 07:31:39 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id rBMDVdex026768 for <patchwork-davinci@patchwork.kernel.org>; Sun, 22 Dec 2013 07:31:39 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Sun, 22 Dec 2013 07:31:39 -0600 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id rBMDVdQs005079 for <patchwork-davinci@patchwork.kernel.org>; Sun, 22 Dec 2013 07:31:39 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 8E2F780626 for <patchwork-davinci@patchwork.kernel.org>; Sun, 22 Dec 2013 07:31:39 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dlelxv84.itg.ti.com (dlelxv84.itg.ti.com [172.17.0.246]) by linux.omap.com (Postfix) with ESMTP id 6DFC480626 for <davinci-linux-open-source@linux.davincidsp.com>; Wed, 11 Dec 2013 00:09:26 -0600 (CST) Received: from medina.ext.ti.com (medina.ext.ti.com [192.91.81.31]) by dlelxv84.itg.ti.com (8.14.3/8.13.8) with ESMTP id rBB69QGD010641 for <davinci-linux-open-source@linux.davincidsp.com>; Wed, 11 Dec 2013 00:09:26 -0600 Received: from mail6.bemta7.messagelabs.com (mail6.bemta7.messagelabs.com [216.82.255.55]) by medina.ext.ti.com (8.13.7/8.13.7) with ESMTP id rBB69PfO017994 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <davinci-linux-open-source@linux.davincidsp.com>; Wed, 11 Dec 2013 00:09:26 -0600 Received: from [216.82.253.67:47426] by server-4.bemta-7.messagelabs.com id 39/2C-25484-59108A25; Wed, 11 Dec 2013 06:09:25 +0000 X-Env-Sender: lisa@xenapiadmin.com X-Msg-Ref: server-14.tower-158.messagelabs.com!1386742164!4387884!1 X-Originating-IP: [209.85.192.178] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.9.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 11750 invoked from network); 11 Dec 2013 06:09:25 -0000 Received: from mail-pd0-f178.google.com (HELO mail-pd0-f178.google.com) (209.85.192.178) by server-14.tower-158.messagelabs.com with RC4-SHA encrypted SMTP; 11 Dec 2013 06:09:25 -0000 Received: by mail-pd0-f178.google.com with SMTP id y10so8830039pdj.23 for <davinci-linux-open-source@linux.davincidsp.com>; Tue, 10 Dec 2013 22:09:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=wHYbEkELNh5sdl/hUIjBH+jKh62+kYOgZi/mo/nMqkk=; b=ga3ePgJrAQFrAn7vq99WF8mfnCZkO4feAV0EyV6uOSkNLn+XzvfdDXUGzkOGu1Ow6o Ol+wwE9KkNsSIjxo2dtJzCi1DxikufhuH+gNpsv08gUypwqLKWh8BB6VJ1slbhcjwSb0 bIuKx6Rv7Wbd3ehZxhsArYNC/VY0mnnLI7OpwPqNQYIjj6jk2ZDutmd2cBR+5ik0HTbY F96nLCAwxYmXOGUBFnntNtiqJoVXrbuzfkToE5LoeWtYoRscbeOJ8RBdPXmSY/8WrbdL t2dMaKPlXDy7k1Wq4xZn+VP6XlBmYYIvrNrfIggIxWOqjylq1hHrjqBYYS5qxOD2Efcv 5HHw== X-Gm-Message-State: ALoCoQkYo/tTj8XVXdADe9ISDStz5tDg/PaRPPAQknY5ZYxls7XH0lN8k1O/G3sQlqjxk0kLCX+o X-Received: by 10.68.233.33 with SMTP id tt1mr7666489pbc.64.1386742164313; Tue, 10 Dec 2013 22:09:24 -0800 (PST) Received: from ubuntu (50-47-9-157.evrt.wa.frontiernet.net. [50.47.9.157]) by mx.google.com with ESMTPSA id ja5sm29978686pbc.14.2013.12.10.22.09.23 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Dec 2013 22:09:23 -0800 (PST) Date: Tue, 10 Dec 2013 22:09:22 -0800 From: Lisa Nguyen <lisa@xenapiadmin.com> To: <prabhakar.csengg@gmail.com> Subject: [PATCH v3] staging: media: davinci_vpfe: Rewrite return statement in vpfe_video.c Message-ID: <20131211060921.GA4772@ubuntu> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Sun, 22 Dec 2013 07:30:06 -0600 CC: <davinci-linux-open-source@linux.davincidsp.com>, <m.chehab@samsung.com>, <laurent.pinchart@ideasonboard.com>, <linux-media@vger.kernel.org> X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: <davinci-linux-open-source.linux.davincidsp.com> List-Unsubscribe: <http://linux.davincidsp.com/mailman/options/davinci-linux-open-source>, <mailto:davinci-linux-open-source-request@linux.davincidsp.com?subject=unsubscribe> List-Archive: <http://linux.davincidsp.com/pipermail/davinci-linux-open-source> List-Post: <mailto:davinci-linux-open-source@linux.davincidsp.com> List-Help: <mailto:davinci-linux-open-source-request@linux.davincidsp.com?subject=help> List-Subscribe: <http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source>, <mailto:davinci-linux-open-source-request@linux.davincidsp.com?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: <davinci-linux-open-source-bounces+patchwork-davinci=patchwork.kernel.org@linux.davincidsp.com> Errors-To: davinci-linux-open-source-bounces+patchwork-davinci=patchwork.kernel.org@linux.davincidsp.com X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/staging/media/davinci_vpfe/vpfe_video.c b/drivers/staging/media/davinci_vpfe/vpfe_video.c index 24d98a6..3b036be 100644 --- a/drivers/staging/media/davinci_vpfe/vpfe_video.c +++ b/drivers/staging/media/davinci_vpfe/vpfe_video.c @@ -346,7 +346,7 @@ static int vpfe_pipeline_disable(struct vpfe_pipeline *pipe) } mutex_unlock(&mdev->graph_mutex); - return (ret == 0) ? ret : -ETIMEDOUT ; + return ret ? -ETIMEDOUT : 0; } /*
Rewrite the return statement in vpfe_video.c. This will prevent the checkpatch.pl script from generating a warning saying to remove () from this particular return statement. Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com> --- Changes since v3: - Removed () from return statement per Laurent Pinchart's suggestion drivers/staging/media/davinci_vpfe/vpfe_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)