Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3351764pxf; Sun, 28 Mar 2021 22:57:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8F1X//fAAHoMB7K9O3FoT+MBYB77/92bShm1CdtNdQb5Dj8yJvxMeoSSsDquvkB6lCejt X-Received: by 2002:a50:fd83:: with SMTP id o3mr27705322edt.90.1616997443097; Sun, 28 Mar 2021 22:57:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616997443; cv=none; d=google.com; s=arc-20160816; b=xIIKk44apuk0F2ch8Wx/O2Xv+JegeX3zpZlP2Rx8HrysRGBfrpt//aZ0Oq4HKZh2J5 lezj1mfFeAxitDtduGmWF+SekSgfFO/Xi3cqn5YErKe/byTPSv39EtqT+Rc5QMbUZ7xx T1vQAJkEkgos/sb0lGpUPQASnFZP3fFByogwZSJG1cqhVp1ajTyD17AzmBXC+J5k4uis 7TJVM9FPjJUured5ZiUGSnpXbgaPVDD/zqIdFbEatFhLUT+xz3j8B4B+nq+Z1jReQXwW 2z+lhAkyQtQ+zFyl1G5inkk7k9VMKNsZ1QHlk3ZpWN/XgeBBfa9oSb1vO7xcQdoDi1El FE5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=N4wvrt/Yi8KQpIf7TpRsMxFBgfVsYvMyPnnEhoMlUXs=; b=BQpm4UduuPeF8k7ZRxgYq3Z/AsQ297dlKco8ztK5Z2zw6inzieeVrPwqonlqnmyvFy Jk07j8hluHQGEeUKhSi++kHyh2crp0X3Gyv18fyZblTSmB0QqX3YimY7i5mNGsOf9/mY 6zLZw7KSQxewjiV8yrO4D0tgwGyLnxfwYCT3621Aw1gHiPP5jSuwrxdQ0AJZuKIUI9hy hudeiS97DzhDliqT1kKQ/FcFYxGZHNF9sVuQO0HxCIzGmH+yDs0YqVysmSniMF/SlbBz kEf7I5sLV33cpu3/an4w8ueA0TXbMjvoEQvI0135q/LMLi58Jm4BV6/4Gr4Sqf9aTzrK sfjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=n53CIR8r; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cy16si12429522edb.105.2021.03.28.22.57.00; Sun, 28 Mar 2021 22:57:23 -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; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=n53CIR8r; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230122AbhC2Fzj (ORCPT + 99 others); Mon, 29 Mar 2021 01:55:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229706AbhC2Fzb (ORCPT ); Mon, 29 Mar 2021 01:55:31 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78252C061574; Sun, 28 Mar 2021 22:55:30 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4F81yQ5GS5z9sRf; Mon, 29 Mar 2021 16:55:26 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1616997328; bh=ssHqwp0jYzHAWbJb8XxvEzWUtgIJXXwjvOfaG7LTtOw=; h=Date:From:To:Cc:Subject:From; b=n53CIR8rKEvMDuYW+6+OQ0sAenTmu7jf+hyeZ2Hn4BK1ALcbwRtcrZP/2iyrxFj+0 wfBuMYuDSCfrXbNWkjwX8D6ukBouf77EhPDuoGeBuUgmfaqiNVvbqgxH1k/Tm4PvnL JotjtNGsLcdExBzA2Yr04/+FaIcZ8alR/t2JGieT192HrdiOF4qPnTMjO9kyEYtYW6 L2fAn54RdCCsD/xPIlN9UQ7Ctwm4bvGSuiP0x4Vk5FrLYbIdZ0D+CMS71sip3IsxV+ upNrSwjDjhxzqi+HLQkgyXUxABOIp6nYiIzCN0fYKS/xckQGFngDo5w8olxEAexk3V s7kKYXsdZzlQQ== Date: Mon, 29 Mar 2021 16:55:25 +1100 From: Stephen Rothwell To: Greg KH , Mark Brown Cc: Alexandru Ardelean , Jonathan Cameron , Tomislav Denis , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the staging tree Message-ID: <20210329165525.32d51a3a@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/gfXdZzMKzQTdW83QzkqYuyL"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/gfXdZzMKzQTdW83QzkqYuyL Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the staging tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/iio/adc/ti-ads131e08.c: In function 'ads131e08_read_reg': drivers/iio/adc/ti-ads131e08.c:180:5: error: 'struct spi_transfer' has no m= ember named 'delay_usecs' 180 | .delay_usecs =3D st->sdecode_delay_us, | ^~~~~~~~~~~ drivers/iio/adc/ti-ads131e08.c: In function 'ads131e08_write_reg': drivers/iio/adc/ti-ads131e08.c:206:5: error: 'struct spi_transfer' has no m= ember named 'delay_usecs' 206 | .delay_usecs =3D st->sdecode_delay_us, | ^~~~~~~~~~~ Caused by commit d935eddd2799 ("iio: adc: Add driver for Texas Instruments ADS131E0x ADC f= amily") interacting with commit 3ab1cce55337 ("spi: core: remove 'delay_usecs' field from spi_transfer") from the spi tree. I have applied the following merge fix patch. From: Stephen Rothwell Date: Mon, 29 Mar 2021 16:51:22 +1100 Subject: [PATCH] iio: adc: merge fix for "spi: core: remove 'delay_usecs' field from spi_transfer" Signed-off-by: Stephen Rothwell --- drivers/iio/adc/ti-ads131e08.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/iio/adc/ti-ads131e08.c b/drivers/iio/adc/ti-ads131e08.c index 0060d5f0abb0..764dab087b41 100644 --- a/drivers/iio/adc/ti-ads131e08.c +++ b/drivers/iio/adc/ti-ads131e08.c @@ -177,7 +177,10 @@ static int ads131e08_read_reg(struct ads131e08_state *= st, u8 reg) { .tx_buf =3D &st->tx_buf, .len =3D 2, - .delay_usecs =3D st->sdecode_delay_us, + .delay =3D { + .value =3D st->sdecode_delay_us, + .unit =3D SPI_DELAY_UNIT_USECS, + }, }, { .rx_buf =3D &st->rx_buf, .len =3D 1, @@ -203,7 +206,10 @@ static int ads131e08_write_reg(struct ads131e08_state = *st, u8 reg, u8 value) { .tx_buf =3D &st->tx_buf, .len =3D 3, - .delay_usecs =3D st->sdecode_delay_us, + .delay =3D { + .value =3D st->sdecode_delay_us, + .unit =3D SPI_DELAY_UNIT_USECS, + }, } }; =20 --=20 2.30.0 --=20 Cheers, Stephen Rothwell --Sig_/gfXdZzMKzQTdW83QzkqYuyL Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmBha80ACgkQAVBC80lX 0GwDzAf5AXnUHssuIz730WHkg4wjQLKpbGeUxZfnnUk56mLnFSNN5XUb7/Y7f3Qo h0Un8B55Dn67yPbE1g0b6iHSNZMpwY4CGI2tykI2xoJTMJwK1xlJznCtKp5/BJBH TlOVFxX0XORRIqA1WFBsqxbx7aK6EaPjEP0WEIFWu4dtWLjBe8IU92V1C22aKqug KuOeKNNKXtrTYLxGlHJv2U8RVGfHX5MDDdCnaW+GPYi4vWBE3NfNd5X10iDC4PQH gHXapHdGmfn9d8bvQUs/bfiPcLYMEH1mqlpfzqK24QFJIM5KJW2CNQJU15d7j5W2 79JlfovnEgi+qpQNc9kl/5X1ZkXSng== =vbrZ -----END PGP SIGNATURE----- --Sig_/gfXdZzMKzQTdW83QzkqYuyL--