Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3513825pxb; Sun, 24 Oct 2021 04:16:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztpsBlyh5FIgcGfRW0Akc2xqC/fB4txM3ZhlAPLrLDaptjCQh05d5x2KhVjJ3keT6FabmD X-Received: by 2002:a05:6a00:21c6:b0:44c:937:fbf3 with SMTP id t6-20020a056a0021c600b0044c0937fbf3mr11955271pfj.2.1635074203589; Sun, 24 Oct 2021 04:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635074203; cv=none; d=google.com; s=arc-20160816; b=MGVucY9UyKo1od6yN9cUexV1iqFQqRxGI+DD5xktps9lX9h20uPTj2s7cN/wVF88kO 4HMnz2u62BAMcp5mJbFREdQpvXjlaXa4H+7/666cHBpzX72XDoUOcipmp+UQ03KLnvqJ oRDpinynA3YM6HXtf1nz0e4cJlklKGYEngePTUB3PZ/HkH8fXC4++zlTrqLAGywu03JS jmjrOABWDFxtgnncjb4LrzXtjOMYS2UZf87/A601eto88rRw6NFJ5LEXQHtaJ607ZmC3 qwylgtuN0EdhFWBcAl7qGYHz6j8Zo5xKMcEokOJelcbbBcvkwOXts17YHkZKYPheRZZV /XsA== 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; bh=Tj6sNXuCs8jwsrrX1GrB3dDFQOQy71n6fYRuS9jlP88=; b=BzuZC5p7CYLei/Q45z75O7fR5RN7fI+yqm72QJsIq2hGlKJ+s8qHOzApqUmyNgk2w1 qAEirpYubJ1Y0f7R+ZLm4GvaRa0l8oQ3Q2tZqzsnXvbn8WHyrPheaM1usySJwfEsVu6n /RUS6hMsZvtsxkRNle3/PwiGTa5WJlzKIb7RKIzXk3TzJUX6r69IXnO0LkIXy0/uOxAp u4wIBCT+xz8htvWDWT+fnxzkbpeIpkX+EVAjRc5h6Qd17JKCTNZVVDC9QQXytNmLVSf/ t5pXOBNqrtfX5nPOgQdbapaVtynQBo7FiwDZBzFyZ/2h5R+7ec4NR423Q7SJAXAg3w32 RoTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Iz36/38T"; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 17si20696825pgl.243.2021.10.24.04.16.31; Sun, 24 Oct 2021 04:16:43 -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=@linuxfoundation.org header.s=korg header.b="Iz36/38T"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230300AbhJXLRi (ORCPT + 99 others); Sun, 24 Oct 2021 07:17:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:52744 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229867AbhJXLRh (ORCPT ); Sun, 24 Oct 2021 07:17:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 957246101C; Sun, 24 Oct 2021 11:15:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635074117; bh=LawrTZjKX8RHjwzakLGkqtpEnHHyyNhHyCEsGZokAJc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Iz36/38TUM8O+nW4U6+1KTSfGZ0BHY/gqPAWU638wiseGo4DHqnB0Xifs4AI6y+YZ 9711tyWCRipO8Xuz85qWXaqqK4TYdeKEAYIBchi47nsAqTgyhc8+Phgx0JFaMtAts/ 1LRE9uLnqwBPZ/gw0PcWtngBmHrQLi6xL9Viicac= Date: Sun, 24 Oct 2021 13:14:51 +0200 From: Greg KH To: Jonathan Cameron Cc: Nathan Chancellor , Lars-Peter Clausen , Michael Hennerich , Nick Desaulniers , Antoniu Miclaus , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] iio: frequency: adrf6780: Fix adrf6780_spi_{read,write}() Message-ID: References: <20211022195656.1513147-1-nathan@kernel.org> <20211023164333.36b2ea2c@jic23-huawei> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211023164333.36b2ea2c@jic23-huawei> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 23, 2021 at 04:43:33PM +0100, Jonathan Cameron wrote: > On Fri, 22 Oct 2021 12:56:56 -0700 > Nathan Chancellor wrote: > > > Clang warns: > > > > drivers/iio/frequency/adrf6780.c:117:1: error: all paths through this > > function will call itself [-Werror,-Winfinite-recursion] > > { > > ^ > > drivers/iio/frequency/adrf6780.c:138:1: error: all paths through this > > function will call itself [-Werror,-Winfinite-recursion] > > { > > ^ > > 2 errors generated. > > > > The underscore variants should be used here. > > > > Fixes: 63aaf6d06d87 ("iio: frequency: adrf6780: add support for ADRF6780") > > Link: https://github.com/ClangBuiltLinux/linux/issues/1490 > > Signed-off-by: Nathan Chancellor > > Thanks Nathan, (bit embarrassed I missed this in review :( > As you probably guessed I didn't run an llvm test this time - guess I should > start doing that on a regular basis. > > We obviously have plenty of time to get this fix in place but > seeing as I just sent a pull request for the driver a few hours before this > patch: > > Greg, would you mind picking this one up directly on top of > [PULL] 2nd set of IIO new device support, features, cleanup for 5.16 > if you take that pull request? > > Message ID for this one is: > > 20211022195656.1513147-1-nathan@kernel.org > > No problem if you'd rather I just queue this fix up for post merge > window. > > Acked-by: Jonathan Cameron Picked it up now, thanks! greg k-h