Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1128894pxj; Sat, 8 May 2021 08:24:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJ+/JpsYIEqDb0H8GIwLxiEEnnwFOOynwCiGnJ4d4q6zpZfne7unTpDNHYb59Igtlvrbfs X-Received: by 2002:a05:6602:1222:: with SMTP id z2mr5359467iot.120.1620487493823; Sat, 08 May 2021 08:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620487493; cv=none; d=google.com; s=arc-20160816; b=qaPwGU95O5EcLl29AJPSjd1a2HHmlLX0kNQJbmmWNHxYBTLcNUn5P2cSwAi+T94uRw HhVf0sGhh4BEAmCza4lKBrnbREy945lpybFw0zSCNtB6sD+VnfBTQxoSntatoEMM3nnR cvkSmPLbN76ZA3yWWkaIQBWXwdUicATV4psD3ldJffz9K6X/SxP7jkHva/Cw+WFsEH3w v+Ma9qbJ3x02BqxuIGn3FDf1a1L2vnBDZ0GMJBRz96HUFdupxYMiSqDgya19xbw+4yeR 8v2fD1wfK2xfkFbsQjclgluDLc2x167uQZXA5p36VN9Vf2Pv90Q9v+3eoJHogYbZ9zAR c0mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=LIZ5q8Ols1YPSasg1DJlavjzyuaHqQiLzl74ZTakx4g=; b=mapi9RJ3VmyTKV1nxa4QrZfUTddNPY/m1aXSrgCHk9G3H4JIp3W9bMvmO5iaTa94GC dng1cACmD2ftyHev5P6QWarLmxDodutOgLC2cbTbDtejTBPhp0z3h/auU0gDm2w+mcA3 W3cCjpS+OjCSgqFRnSBhmh4ETAy9O2RZ2I5tDrYe98Cb4uajwG+C7m3iGAJdHXUPmt0L hXJ2Vz5rtk5GSxKnCKgx+8TNzNKwzPGvpfxg0RZKUJaHQNVvCXCr3h0Ej7x4CEFrmzQf 0pLioI9SI80H+TAnQhqybDlWuGL9vk89DFWy7vShVee92VShaZBPCrN7H5nPoFNfnicD cstQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r7si12602155jad.72.2021.05.08.08.24.40; Sat, 08 May 2021 08:24:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229637AbhEHPVg (ORCPT + 99 others); Sat, 8 May 2021 11:21:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:54284 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbhEHPVg (ORCPT ); Sat, 8 May 2021 11:21:36 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4ECB661026; Sat, 8 May 2021 15:20:33 +0000 (UTC) Date: Sat, 8 May 2021 16:21:29 +0100 From: Jonathan Cameron To: Alexandru Ardelean Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, kernel test robot Subject: Re: [PATCH] iio: adc: mxs-lradc-adc: use iio_device_id() helper Message-ID: <20210508162129.76a93ad1@jic23-huawei> In-Reply-To: <20210504075304.148516-1-aardelean@deviqon.com> References: <20210504075304.148516-1-aardelean@deviqon.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 4 May 2021 10:53:04 +0300 Alexandru Ardelean wrote: > The @id field was moved in commit e58bb7a74dca ("iio: core: move @id from > struct iio_dev to struct iio_dev_opaque"), however this driver was omitted > by accident, because the name of the IIO device is 'iio'. > > This was caught by the lkp bot. > > Fixes: e58bb7a74dca ("iio: core: move @id from struct iio_dev to struct iio_dev_opaque") > Reported-by: kernel test robot > Signed-off-by: Alexandru Ardelean Thanks. I applied this as a fixup as that branch hadn't yet gone out as non rebasing and I don't want to break bisection. Also chased down how I'd missed this on in my test .config. Jonathan > --- > drivers/iio/adc/mxs-lradc-adc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/adc/mxs-lradc-adc.c b/drivers/iio/adc/mxs-lradc-adc.c > index 30e29f44ebd2..1d99170d3328 100644 > --- a/drivers/iio/adc/mxs-lradc-adc.c > +++ b/drivers/iio/adc/mxs-lradc-adc.c > @@ -455,7 +455,7 @@ static int mxs_lradc_adc_trigger_init(struct iio_dev *iio) > struct mxs_lradc_adc *adc = iio_priv(iio); > > trig = devm_iio_trigger_alloc(&iio->dev, "%s-dev%i", iio->name, > - iio->id); > + iio_device_id(iio)); > if (!trig) > return -ENOMEM; >