From patchwork Tue Oct 16 13:38:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shaik Ameer Basha X-Patchwork-Id: 1598541 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id BBB6E3FD86 for ; Tue, 16 Oct 2012 03:36:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752426Ab2JPDgS (ORCPT ); Mon, 15 Oct 2012 23:36:18 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:31961 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751094Ab2JPDgR (ORCPT ); Mon, 15 Oct 2012 23:36:17 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MBY003VRVCFNEA0@mailout4.samsung.com> for linux-media@vger.kernel.org; Tue, 16 Oct 2012 12:36:16 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.124]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id A7.30.07865.F26DC705; Tue, 16 Oct 2012 12:36:15 +0900 (KST) X-AuditID: cbfee61a-b7f976d000001eb9-b2-507cd62ffc2b Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 37.30.07865.F26DC705; Tue, 16 Oct 2012 12:36:15 +0900 (KST) Received: from localhost.localdomain ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MBY009V0VBXI640@mmp2.samsung.com> for linux-media@vger.kernel.org; Tue, 16 Oct 2012 12:36:15 +0900 (KST) From: Shaik Ameer Basha To: linux-media@vger.kernel.org Cc: s.nawrocki@samsung.com, shaik.samsung@gmail.com Subject: [PATCH] [media] exynos-gsc: fix variable type in gsc_m2m_device_run() Date: Tue, 16 Oct 2012 19:08:34 +0530 Message-id: <1350394714-29826-1-git-send-email-shaik.ameer@samsung.com> X-Mailer: git-send-email 1.7.0.4 DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrELMWRmVeSWpSXmKPExsWyRsSkRlf/Wk2AweXfVhY9G7ayOjB6fN4k F8AYxWWTkpqTWZZapG+XwJUx58d65oIzbBU/lvSwNzAeZu1i5OSQEDCRONP9nBHCFpO4cG89 G4gtJLCUUeLmJM8uRg6wmk33SroYuYDC0xklWi6/YYNwljNJbDjXxgzSwCZgKLH93hWwoSIC 8hJPem+ADWIWMJbYvvM6O4gtLOAnMf/XdrBlLAKqEtuf/wOr4RVwl7h08h/UEQoSrcsOsUPU CEh8m3yIBeIIWYlNB5hB9koI7GCTaJ79hAmiXlLi4IobLBMYBRcwMqxiFE0tSC4oTkrPNdQr TswtLs1L10vOz93ECAyo0/+eSe1gXNlgcYhRgINRiYc3w7kmQIg1say4MvcQowQHs5IIr8dE oBBvSmJlVWpRfnxRaU5q8SFGH6BLJjJLiSbnA4M9ryTe0NjE3NTY1NLIyMzUFIewkjhvs0dK gJBAemJJanZqakFqEcw4Jg5OqQbGTJ7zNaWRIdvOlTS/vHp46mmFdZc+da2O0LvIFij4Zc60 nmjTGQ1nZOZnbjL0zZz2dlur8js91umpHxyeP/3NETiheOPeVa+uftq7Pyjr0gW97ydcts1P 3/5BKeTp996OdcmvZGd9ibge+2NSg8HRPstUX62Nu7cqi+ZwvrY8wv063ujA0xRHWSWW4oxE Qy3mouJEAOo6xBhVAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrELMWRmVeSWpSXmKPExsVy+t9jQV39azUBBifO6Vv0bNjK6sDo8XmT XABjVAOjTUZqYkpqkUJqXnJ+SmZeuq2Sd3C8c7ypmYGhrqGlhbmSQl5ibqqtkotPgK5bZg7Q VCWFssScUqBQQGJxsZK+HaYJoSFuuhYwjRG6viFBcD1GBmggYQ1jxpwf65kLzrBV/FjSw97A eJi1i5GDQ0LARGLTvZIuRk4gU0ziwr31bF2MXBxCAtMZJVouv4FyljNJbDjXxgxSxSZgKLH9 3hVWEFtEQF7iSe8NNhCbWcBYYvvO6+wgtrCAn8T8X9sZQWwWAVWJ7c//gdXwCrhLXDr5jxFi m4JE67JD7BMYuRcwMqxiFE0tSC4oTkrPNdQrTswtLs1L10vOz93ECA7YZ1I7GFc2WBxiFOBg VOLhzXCuCRBiTSwrrsw9xCjBwawkwusxESjEm5JYWZValB9fVJqTWnyI0Qdo+0RmKdHkfGA0 5ZXEGxqbmJsam1qaWJiYWeIQVhLnbfZICRASSE8sSc1OTS1ILYIZx8TBKdXAmCz420+04Iy4 zsVfa+uf2hjqnHVdUHht1v5dzKp/d8zdeKxbaMLl+88m5quJz8xbddOuxVFK/SafaX2Cbcey axXWTDE652KXRJ76eCf0bVes/pQLQgVX79m9endCZ+dHXvYiy83b4y1+nDpu7sX8h7tuw7bb 839871P+ajQ5REa2S8L/dHbkHSWW4oxEQy3mouJEALkCsaWFAgAA X-CFilter-Loop: Reflected Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org In gsc_m2m_device_run(), variable "ret" is accepting signed integer values. But currently it is defined as u32. This patch will modify the type of "ret" variable to "int". Signed-off-by: Shaik Ameer Basha --- drivers/media/platform/exynos-gsc/gsc-m2m.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/platform/exynos-gsc/gsc-m2m.c b/drivers/media/platform/exynos-gsc/gsc-m2m.c index 3c7f005..047f0f0 100644 --- a/drivers/media/platform/exynos-gsc/gsc-m2m.c +++ b/drivers/media/platform/exynos-gsc/gsc-m2m.c @@ -122,7 +122,7 @@ static void gsc_m2m_device_run(void *priv) struct gsc_ctx *ctx = priv; struct gsc_dev *gsc; unsigned long flags; - u32 ret; + int ret; bool is_set = false; if (WARN(!ctx, "null hardware context\n"))