Message ID | 1436514336-2075-3-git-send-email-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 60cb65ebf49e6db114c3efeb3971064a6ddbea0e |
Headers | show
Return-Path: <patchwork-forward+bncBDA7X7F2WUEBBUXQ7WWAKGQEHQMQW6Y@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7CBF0228E5 for <linaro@patches.linaro.org>; Fri, 10 Jul 2015 07:46:27 +0000 (UTC) Received: by lbbei7 with SMTP id ei7sf8190480lbb.3 for <linaro@patches.linaro.org>; Fri, 10 Jul 2015 00:46:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=aOQbLS0Y/QoggisJ56z0W8EjcwOLeI8I1atmjXQJR5I=; b=K+SD3NZQ6vr4CqcLWSTDodem3ewfFngYw+bjYphjYs9yECcPjszWcsov9ebgThsDtt 6rN5hFyrCF8PGY+xpUYs5rzybZwwshWD4Cu8S9pgBlYsSVJ874jy98HO3OnkRB1CClOL rsDvybEslvMIZGyxVZAqgCpdDppgXYwyLzDdlodSo8yNgO9A2TQeR0emDEW042bAwJmD DN/r/sayEnLVhYmkovVFxYqDcudThBFI1B5IYGo8Ngh4mDdR1tyB24zGQAoYQctlJCd8 SaY3cnOTMHYcoh/GzFdabDL/23iG55Ckc31oAjQgSXj+KyZYAD3ivJljtUbq+/JZMuW0 fG5A== X-Gm-Message-State: ALoCoQkCwfVa2Xw2KgK9cXNWn4WMe5ROqBRWuVFbKj8qTFYcHnlE+13Q3Pb65aEIuKpeUqlTmrpz X-Received: by 10.180.87.201 with SMTP id ba9mr1123711wib.3.1436514386446; Fri, 10 Jul 2015 00:46:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.179.171 with SMTP id dh11ls400382lac.47.gmail; Fri, 10 Jul 2015 00:46:26 -0700 (PDT) X-Received: by 10.152.4.98 with SMTP id j2mr18732085laj.42.1436514386255; Fri, 10 Jul 2015 00:46:26 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id lb1si6645940lab.116.2015.07.10.00.46.26 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jul 2015 00:46:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbbpo10 with SMTP id po10so87939713lbb.3 for <patchwork-forward@linaro.org>; Fri, 10 Jul 2015 00:46:26 -0700 (PDT) X-Received: by 10.152.26.163 with SMTP id m3mr18665876lag.86.1436514386164; Fri, 10 Jul 2015 00:46:26 -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.108.230 with SMTP id hn6csp1182077lbb; Fri, 10 Jul 2015 00:46:24 -0700 (PDT) X-Received: by 10.68.69.69 with SMTP id c5mr39796471pbu.160.1436514384251; Fri, 10 Jul 2015 00:46:24 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id es1si13334944pad.58.2015.07.10.00.46.23; Fri, 10 Jul 2015 00:46:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753438AbbGJHqP (ORCPT <rfc822;matthew.hart@linaro.org> + 29 others); Fri, 10 Jul 2015 03:46:15 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:38585 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752880AbbGJHpo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 10 Jul 2015 03:45:44 -0400 Received: by wicmv11 with SMTP id mv11so7079495wic.1 for <linux-kernel@vger.kernel.org>; Fri, 10 Jul 2015 00:45:43 -0700 (PDT) X-Received: by 10.180.37.105 with SMTP id x9mr3539335wij.33.1436514343484; Fri, 10 Jul 2015 00:45:43 -0700 (PDT) Received: from localhost.localdomain (host86-178-207-130.range86-178.btcentralplus.com. [86.178.207.130]) by smtp.gmail.com with ESMTPSA id w8sm5078102wja.15.2015.07.10.00.45.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Jul 2015 00:45:42 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, broonie@kernel.org, lgirdwood@gmail.com, Lee Jones <lee.jones@linaro.org> Subject: [PATCH 3/3] regulator: pwm-regulator: Fix ' comparison between signed and unsigned integer' warning Date: Fri, 10 Jul 2015 08:45:36 +0100 Message-Id: <1436514336-2075-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436514336-2075-1-git-send-email-lee.jones@linaro.org> References: <1436514336-2075-1-git-send-email-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@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.217.173 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/regulator/pwm-regulator.c b/drivers/regulator/pwm-regulator.c index 331b851..fc3166d 100644 --- a/drivers/regulator/pwm-regulator.c +++ b/drivers/regulator/pwm-regulator.c @@ -163,7 +163,7 @@ static int pwm_regulator_init_table(struct platform_device *pdev, { struct device_node *np = pdev->dev.of_node; struct pwm_voltages *duty_cycle_table; - int length = 0; + unsigned int length = 0; int ret; of_find_property(np, "voltage-table", &length);
drivers/regulator/pwm-regulator.c: In function ‘pwm_regulator_init_table’: drivers/regulator/pwm-regulator.c:171:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/regulator/pwm-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)