Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1770303imm; Fri, 7 Sep 2018 06:01:23 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbjhKiNwmrH23lIaH6k2p+OiNsrfOcArIhd4AzNv/BE/peGPXhRaXorytIB0MtHfnexvVGs X-Received: by 2002:a17:902:2f84:: with SMTP id t4-v6mr7873916plb.87.1536325283439; Fri, 07 Sep 2018 06:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536325283; cv=none; d=google.com; s=arc-20160816; b=fUZ03wH1L41LPI8ySGB5lmAsxGbbcxusaQj/Kns9xOVBc5aJA7uPjgin/j0vJ21UFL hdHNUI2KjHHQpj7L7PxBKbQqpUVJp90tXeS0LMWjmN0R2B/2gaqhiZW/4O070UmtDHNC awAHOBRNPbKSLlYFW3xRwzymCPIK0zrnKQIHuuAAO9VFsItrKc7uU/7tPMuBv4G9Lwr8 7NT6uE/aeYSaysGr/xOMY3TPnGIldLuYlphFOu0c527vLnH3eqAz+cippw+v3N6yOXqF /sYnVFBlaoicFJlwmzn609cGu5LZPKsAfQsRgGIkl3kiq4CEXSekN9JLaa7znhhpPfre hRlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8NGCb3pGqEispZowrIUMCvxbMfKQRUw/ZFewx9Lt7Bc=; b=w0eZO9rW4xiqI1HUyARthN+JxJKGCpsubCXf25sCjE03YtRdZEq6KwD8PDKWH6D2yz RJ0u2naIGewjlPuky0yZysV3fc5L4vazwYq3nHdfkWvE8E/+ZzEBjmKqnDGjYrbcgyXb P3odsFRgLYyfiBIPL0ejOuHPqDEg++b3SDStq+MOK5Pq72sTLk205SKqegZSR/egZW6y uwFdeQOgw7cpgTc15Hr7W/lRu9QOpBRFOcmk8OKuqcHsp25f2RR8IDRVFmiP9IPxMN4t brGHA5DNqm09Ypy1s0J1hqTip1EhSh+ircsEdt/3YiHbKj7c0K5rDeooxjM/Itt7v+PR z6ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=IjoyoPsC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x24-v6si8595435pgh.295.2018.09.07.06.01.07; Fri, 07 Sep 2018 06:01:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=IjoyoPsC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729056AbeIGQwQ (ORCPT + 99 others); Fri, 7 Sep 2018 12:52:16 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:49826 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727748AbeIGQwQ (ORCPT ); Fri, 7 Sep 2018 12:52:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8NGCb3pGqEispZowrIUMCvxbMfKQRUw/ZFewx9Lt7Bc=; b=IjoyoPsCpYAjy9Hc7bNU+lY1X 2T6RBkelwwF8CYS1LcWcgveCJyiPJNIUgCF1egui7WiQQB68BICbXhBTlzckM80KPi4/m/RHK93EP xP3lH4zoE4WsVnnvG2AjuA1bHLjesNMQ86GavHzHq1eiGkyl2F11UnbGxEZTj6s26bO4E=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1fyFbk-0005P4-U3; Fri, 07 Sep 2018 12:11:28 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id A458D1122A6D; Fri, 7 Sep 2018 13:11:28 +0100 (BST) Date: Fri, 7 Sep 2018 13:11:28 +0100 From: Mark Brown To: Grant Grundler Cc: Ryan Lee , Liam Girdwood , Kuninori Morimoto , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: max98373: usleep_range() needs include/delay.h Message-ID: <20180907121128.GH17459@sirena.org.uk> References: <20180907002728.112770-1-grundler@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jRdC2OsRnuV8iIl8" Content-Disposition: inline In-Reply-To: <20180907002728.112770-1-grundler@chromium.org> X-Cookie: Do not fold, spindle or mutilate. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --jRdC2OsRnuV8iIl8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 06, 2018 at 05:27:28PM -0700, Grant Grundler wrote: > Commit ca917f9fe1a0fab added use of usleep_range() but not > the corresponding "include ". The result is > with Chrome OS won't build because warnings are forced > to be errors: > mnt/host/source/src/third_party/kernel/v4.4/sound/soc/codecs/max98373.c:734:2: error: implicit declaration of function 'usleep_range' [-Werror,-Wimplicit-function-declaration] > usleep_range(10000, 11000); > ^ Note that this isn't causing a warning upstream, presumably due to an implicit inclusion that isn't present in the v4.4 kernel that you appear to be using, or gets missed due to config differences. --jRdC2OsRnuV8iIl8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAluSau8ACgkQJNaLcl1U h9AIfgf/eBKyahPC3KprtZfUSebDBqPYW/eaxZhAHW8tyHkAW2csHeATrxoxVXJl rov2bCkWYqeFZ3yrVS8snqsBcB/43VYbceDgxt9o8c99dQUc5LUpcu6h9H48B3GF 7T4sw8aiLrTcW9jVGoArcIBeEW1LeX8wajm3As5PDzRLqbMrYUfcHVeCPgETQhXN GOlcuzoideXQWyn5saBIZywJCida2WsJJmvKPbW4YlgJ+NdXJQl6MlobnrJg6J94 iShfA+D93hEd1GW8PFAAw1i9r9cs6OKa4AwiUpuJN0gZbIPvFEoMHwjgYI/v9JzY QcFxIze87XrhoQSyjKunUc8cZT+hyw== =jeZ+ -----END PGP SIGNATURE----- --jRdC2OsRnuV8iIl8--