From patchwork Mon Nov 5 11:39:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Toshiaki Yamane X-Patchwork-Id: 1696511 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 26CD73FCDE for ; Mon, 5 Nov 2012 11:39:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753783Ab2KELjj (ORCPT ); Mon, 5 Nov 2012 06:39:39 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:50610 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753489Ab2KELji (ORCPT ); Mon, 5 Nov 2012 06:39:38 -0500 Received: by mail-pa0-f46.google.com with SMTP id hz1so3872337pad.19 for ; Mon, 05 Nov 2012 03:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=XGzEO2BobBmwNmfZSD5+b9pAvFy4TQ69BuWdMcKgdzQ=; b=xhwe6O4rntpoh3GGbfigRDgno2QqGmPQXrmCY+UPLHMNZhfi/N8Wu0pHMBOVrmLVlq UAA2iEj3bAL5BGwp9yIMJV/8g3Lk0ZkO5UrSdiH494Z9pvmfCvORcyDpjCMcFwl6dt6S UAbA75SXznRnne+OF13+MLxhzKchG/7CghEVK3au2Kb4dO8amQkD5PbVxUIL6Uxdw1f2 7HjYYOmPMx8qqepTWdE1u0cM05ZJ/BNbhogO4vlLgvTJCTt6mcfjD3Rx3rr3InxzNC35 GYS/B1hOI058kduZQbCYef6eF/Y4AtEjXUK/XULbfmA3aGxw+dUvW9oys8X0edozIHXQ MeMg== Received: by 10.66.88.4 with SMTP id bc4mr27516930pab.42.1352115578563; Mon, 05 Nov 2012 03:39:38 -0800 (PST) Received: from localhost (softbank220057059032.bbtec.net. [220.57.59.32]) by mx.google.com with ESMTPS id az8sm10529353pab.24.2012.11.05.03.39.36 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Nov 2012 03:39:38 -0800 (PST) From: YAMANE Toshiaki To: Greg Kroah-Hartman , linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, YAMANE Toshiaki Subject: [PATCH 2/2] staging/media: Fix trailing statements should be on next line in go7007/go7007-fw.c Date: Mon, 5 Nov 2012 20:39:33 +0900 Message-Id: <1352115573-8321-1-git-send-email-yamanetoshi@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1352115526-8287-1-git-send-email-yamanetoshi@gmail.com> References: <1352115526-8287-1-git-send-email-yamanetoshi@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org fixed below checkpatch error. - ERROR: trailing statements should be on next line Signed-off-by: YAMANE Toshiaki --- drivers/staging/media/go7007/go7007-fw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/media/go7007/go7007-fw.c b/drivers/staging/media/go7007/go7007-fw.c index f99c05b..cfce760 100644 --- a/drivers/staging/media/go7007/go7007-fw.c +++ b/drivers/staging/media/go7007/go7007-fw.c @@ -725,7 +725,8 @@ static int vti_bitlen(struct go7007 *go) { unsigned int i, max_time_incr = go->sensor_framerate / go->fps_scale; - for (i = 31; (max_time_incr & ((1 << i) - 1)) == max_time_incr; --i); + for (i = 31; (max_time_incr & ((1 << i) - 1)) == max_time_incr; --i) + ; return i + 1; }