Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3815644ybh; Tue, 6 Aug 2019 01:51:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0+M0eV3aPNCFWDhl6+k0emM2IZNJ78uh3kzdvS6af0IQslbRfYdbGOsc7mKBAUs7re9D8 X-Received: by 2002:a63:9e56:: with SMTP id r22mr2038471pgo.221.1565081519047; Tue, 06 Aug 2019 01:51:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565081519; cv=none; d=google.com; s=arc-20160816; b=mTMVrxshhVo9fBFpLZ11lCMmcagE7kt/2B5DERRez+9gglbt0PVkpLr3cgU3HLA/tC Qn4CUglJrG0TASRkwAmmrmE8wq6nf5dyk7ffwcTYaN9IMw8kRxhTjPnL34Tk8dymsVIO xWHyTyXY0EZn77VOza4kEzvvGo2arcXx/fgGsORLayPvJX3waMSj3D9ApbVdvBebyxYt 8nl3LcLpepS4zQI/anmt1jbp/29WafXM/jB6hXWJUT0jNqbzhOfxMNPNW5XpO1xB0uga 2ufsaV2gxzTS+DTBQTQbHRQm85xG1ajkMEcGjJl7OferUe2bIhHarLLW2QSRWz9pCSf5 7ioQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=bhZvJs1ERza5MeXSWs2+3U3/xQMUMrB1yI5lL12OpZE=; b=es1CG+OYtFvmxm+dXBrFTJMF/QaBORfVtcCSmf+bdC6FBQpkEkYAfsmyrsWGwvAgij +LOTeEwEXyVC+fBJMGXVEL0RcMtKOv0KrbFtJVYj5f0Plc7Nf+V7sH5y8kwitcVQGeDF +fbC7CnxycSv4CjnRmvXoGiZc6gYNWKasHsdfcRGY/vKdCJwh+Uc049Dp4mWTzAtBE3H xgwLuF5bPm2/87yu3iusFvW3TYpd3xf8NXXjUeWFO6l+FjgEh/EcoPqy48AVh0a2JouO 7p2lYjo9PVbLEZbzMZmUgxbvWftWePaXJOV8Ny0WTclnCWME2DZRmAwGqgLPMT9U1iMK m5mw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a9si47389385pfn.104.2019.08.06.01.51.44; Tue, 06 Aug 2019 01:51:59 -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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732409AbfHFIux (ORCPT + 99 others); Tue, 6 Aug 2019 04:50:53 -0400 Received: from mga07.intel.com ([134.134.136.100]:5513 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731835AbfHFIux (ORCPT ); Tue, 6 Aug 2019 04:50:53 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 01:36:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="202738275" Received: from mylly.fi.intel.com (HELO [10.237.72.124]) ([10.237.72.124]) by fmsmga002.fm.intel.com with ESMTP; 06 Aug 2019 01:36:22 -0700 Subject: Re: [PATCH] i2c: designware: Fix unused variable warning in i2c_dw_init_recovery_info To: "Gustavo A. R. Silva" , Andy Shevchenko , Mika Westerberg , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190806075054.GA15418@embeddedor> From: Jarkko Nikula Message-ID: <2ddc2077-aefb-2330-3096-7473dc55f19c@linux.intel.com> Date: Tue, 6 Aug 2019 11:36:21 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190806075054.GA15418@embeddedor> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On 8/6/19 10:50 AM, Gustavo A. R. Silva wrote: > Fix the following warning: > > drivers/i2c/busses/i2c-designware-master.c: In function ‘i2c_dw_init_recovery_info’: > drivers/i2c/busses/i2c-designware-master.c:658:6: warning: unused variable ‘r’ [-Wunused-variable] > int r; > ^ > > Fixes: 33eb09a02e8d ("i2c: designware: make use of devm_gpiod_get_optional") > Signed-off-by: Gustavo A. R. Silva > --- This was fixed yesterday, not applied yet though: https://www.spinics.net/lists/linux-i2c/msg41651.html -- Jarkko