From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-181.mta0.migadu.com (out-181.mta0.migadu.com [91.218.175.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7CF7D2E62B5 for ; Sat, 6 Jun 2026 21:29:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780781359; cv=none; b=hx6af//OaQ4/qYMeq9HD2C5vdG8dsjkuIqIRY4szW9m0thqPAI+tstu3Jdyz4BlkcYnAAICsRPMWiRoceIFrEXc2921/q14SywRZJzLH1e5AcxvSC8HP34qUJVe8EbzbZfv4/VCS43LmqN5b1aIjhPDMNp4tcAyqa6sAPP9j5JE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780781359; c=relaxed/simple; bh=FTmX/zHdSjmapZ9MehuNKN4nMRgIsqXaDnS609ZCza8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GvsT0TfUO6kc0nSc/sP38HcMy9qQ17WOvo8a9q1EPkk8otV6ayNnEEyYAbVFeGFZXloyRshVGQWyTeEkzSBoQA/ZvQSfsx0oUPeFAiXw13ObfRNMhw+3G88GNjAZXO4Kg61R5/Q2rA+XEppLgnnlA/Q0x6BrBGTTUqyCkt/MBZA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=UOrk+TTC; arc=none smtp.client-ip=91.218.175.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="UOrk+TTC" Date: Sat, 6 Jun 2026 23:29:10 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1780781356; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VbBZ+IaEUawcL/PoReTCmRBgP4y4OIsbSC0U0HiGDbg=; b=UOrk+TTCrgWYZ8PnaBKxp9ncECQb1EXNtZyMET6YapFgWc/Bsc81e5F4CbUxVHuwm+NVkn xrTrBuEKUluKZzNtnVR+W6C+D2k2wrFZC6gd/ZfSuaFkWT8BC7SRNLAbucKw8lO35ZWIXw N6KTFJXUlrvSOwMSQuWmiPQFGw0fHeE= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Thorsten Blum To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND] i2c: change return type to bool for i2c_check_functionality Message-ID: References: <20260421161607.61314-3-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT Hi Wolfram, On Mon, May 04, 2026 at 11:15:19AM +0200, Wolfram Sang wrote: > On Tue, Apr 21, 2026 at 06:16:09PM +0200, Thorsten Blum wrote: > > i2c_check_functionality() returns a bool - change the return type from > > int to bool and update the comment accordingly. > > > > Signed-off-by: Thorsten Blum > > Basically OK but you need to fix the in-tree user first using the 'int' > behaviour [1]. I'd think you can send it with this patch as one series > and have it go in via the I2C tree, but Lee has to agree then. > > [1] $ git grep 'i2c_check_functionality.*=' In linux-next [1] shows no more results and I believe all have been converted. Thanks, Thorsten