Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3361247pxf; Sun, 28 Mar 2021 23:17:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzx0NOhZk8X0wy6USYc4OL9tLH+K06THHneYJpnCtz4D1YvRjokNZ4Fzd4i1ybZDLVIdysj X-Received: by 2002:a05:6402:10c9:: with SMTP id p9mr27154031edu.268.1616998665338; Sun, 28 Mar 2021 23:17:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616998665; cv=none; d=google.com; s=arc-20160816; b=OToelTzGYMo63vHmUM4kdyiMv1WUkP564b0Lq7IeCbtlaasoHH4mUxvecvzRMEc3ox BYY2lOVjc3Aoj1EwvVyc5yqUZ+xSvdZ+q5UUv5hm+gBw6+pnK09GwAyMSYHc+vcQzhFB hEEGe2jgJnYvljJnq7lXJPlLFb6XO/act6qsHXqgvDn1yjCsd2DOsgsQInztsU3ESfVL KvQPFvAcmFYCQzzhveuQylL3D8IUN8/I5yGtN+hgfnowej9wA/VvoJsbfym1KwedH0Mf wM9nGkwYxnPCd+G72LtP+YZudSIx1FzQ8eH/YRlioCk34iDZSBXWR2FqYQOb97TIr+Rx PHaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=kcWXdogmp335G1CcpzZxRZDVY5UI+zhyXcj+rDT8BfM=; b=Cjk/Yf7vYpjMIG+mWrqizRBoUH3kDQPyxtvVlnhYsItVrWTqtu1DQFtf0LXaQiNJ3t eFSTSNLjZjCBJRhAo2uCLNwiObBTKWg/QtGquJ/Ld0n7RFuAhknCS3onhysX00+QgVkK j3RzMKxEuLAACiTplYs8sKP095hH6mt1P+w5mRYKL/evuWFQUEW8Jv9mElVJEKJdU0eD MfpLvdDhpExjTU4iqAHgTZpAUyFZHNbtpsQtzQILbpPdkmAwe+00zrWtlosYivcYPeA/ E7ma+h1PuweCQWmtvznmrhZQ6rVKULlqEjNF/TQcfsXTOxcX1mAut6l0CBAZsp/tA6Ta x+Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm3 header.b=nVfF42qW; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=EYQ6u8kW; 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 n19si11901619edr.388.2021.03.28.23.17.23; Sun, 28 Mar 2021 23:17:45 -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=@kroah.com header.s=fm3 header.b=nVfF42qW; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=EYQ6u8kW; 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 S229861AbhC2GPJ (ORCPT + 99 others); Mon, 29 Mar 2021 02:15:09 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:54353 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbhC2GPA (ORCPT ); Mon, 29 Mar 2021 02:15:00 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 00B8E5C007B; Mon, 29 Mar 2021 02:15:00 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 29 Mar 2021 02:15:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=kcWXdogmp335G1CcpzZxRZDVY5U I+zhyXcj+rDT8BfM=; b=nVfF42qWCSux9egJ+c2GSZik5yM5E9n084/PfLQk+xP +GlGE7MMiflLlm/ZVQ7yPlgZF5U4RHyaXw5hjguuQGP2nkW+HWs+p8ARV2d7zojf f3oI48dBZhXmDfUd5bavG8VYFJ/P3Z0gOX/xqMlIHkvdpN6rkRvpXaNEs65xc53M 0r+7jvqkcmpwU5R0odoo6LPFnpO2eynCqfiv+HH0Vwbz3Oc+JT77MaFFFmfr2QtJ qMCiyFsrbmHtWxNRum0btEzVsOctgboKcC0GQUsLO4zy5nQG2iwpTsWk4kj1WukL 9hY6wwYk9g5WRpGiX3r7HRYyCF28V8GPjx9jcynugfQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=kcWXdo gmp335G1CcpzZxRZDVY5UI+zhyXcj+rDT8BfM=; b=EYQ6u8kWSWfQXwZfWRV8F8 EBApicDpDp1GLlzTT/d6t1/wnQuBS21NSEaqOe8bappmPdZogpBPBrSPvHkHqsIv zJr1OzrETPS2AqSX6uaDdXp1MdEJUyDMZ1kIhFGXmsDvTm2aPBjEIBs1ZF9XNeBi TgKIJgEHDi4FqdRynWFGv4lHcwwFxY0P3eUjItsVoen7LCmyT2MctfBmYRRV5ePz 2TmLI9cDYyTASXMgA5o1M0Yy5z1kwISciVMPSeSfL5nB3upreKZwWbZwR8Nfwy6n FGMNtchVDB3WKUOu/4QnGt1MH81eHJpo1mL/akSRa3mWzAoha6BbH0ECh8DbGxsQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehjedguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepveeuhe ejgfffgfeivddukedvkedtleelleeghfeljeeiueeggeevueduudekvdetnecukfhppeek fedrkeeirdejgedrieegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepghhrvghgsehkrhhorghhrdgtohhm X-ME-Proxy: Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) by mail.messagingengine.com (Postfix) with ESMTPA id D3592240054; Mon, 29 Mar 2021 02:14:57 -0400 (EDT) Date: Mon, 29 Mar 2021 08:14:50 +0200 From: Greg KH To: Stephen Rothwell Cc: Mark Brown , Alexandru Ardelean , Jonathan Cameron , Tomislav Denis , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the staging tree Message-ID: References: <20210329165525.32d51a3a@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210329165525.32d51a3a@canb.auug.org.au> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 29, 2021 at 04:55:25PM +1100, Stephen Rothwell wrote: > 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 member named 'delay_usecs' > 180 | .delay_usecs = 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 member named 'delay_usecs' > 206 | .delay_usecs = st->sdecode_delay_us, > | ^~~~~~~~~~~ > > Caused by commit > > d935eddd2799 ("iio: adc: Add driver for Texas Instruments ADS131E0x ADC family") > > 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 = &st->tx_buf, > .len = 2, > - .delay_usecs = st->sdecode_delay_us, > + .delay = { > + .value = st->sdecode_delay_us, > + .unit = SPI_DELAY_UNIT_USECS, > + }, > }, { > .rx_buf = &st->rx_buf, > .len = 1, > @@ -203,7 +206,10 @@ static int ads131e08_write_reg(struct ads131e08_state *st, u8 reg, u8 value) > { > .tx_buf = &st->tx_buf, > .len = 3, > - .delay_usecs = st->sdecode_delay_us, > + .delay = { > + .value = st->sdecode_delay_us, > + .unit = SPI_DELAY_UNIT_USECS, > + }, > } > }; > > -- > 2.30.0 > Thanks for the fix, looks correct to me. greg k-h