Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1301708imm; Thu, 6 Sep 2018 20:21:33 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYblhTNrgMKqSgO2GCz7F9CRxvi5XaQgUkjKxwtLUlhWmE2ahA9bI9jQbJwGT1vOljdNCCV X-Received: by 2002:a17:902:1025:: with SMTP id b34-v6mr5883354pla.291.1536290493052; Thu, 06 Sep 2018 20:21:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536290493; cv=none; d=google.com; s=arc-20160816; b=IKISvRFjsaKouiWtRf9QIzRRvcyYZ3XG7gs4xNSdX8NoArggmR0YFolVc0I1vk30cU NJkIqtqMFxZxLZKnDYIzq00CLy1deOcrSX4CGkbT15S65z0i0HPSxk9i57lRf2CiTd4x L0djBdIPYQja3ZqgODhVtxX6dPuz6oKoLEoAVMshHztDQFS5O64gAG8yp07LDIlaTmgr zXatKO4KUdmZlVx8SJF8SBQdFpJJW46LWKvQVahuNW6bXjIkZyBga0Pdron9Obaru+Xo W+58ZQmimUX9EHM2DFD8Sw3fBNOsYvJGmTpdDOoXq8e6d0BoefWjUE0dxxtFO8sPZfrf WirA== 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=mWmWKJUk6g6McQihajHleedONHT/BVAq9eEl0P0XyWQ=; b=gqRT6nrOB4712cCbnck3n1FM2SuTNqz2HmDbGrm03pgFUajCu1hwkUTjyfNpr9H4r0 Znkqr2+hGXS8gYbXEfPdWZ0l59ymCy3YLoezev413zTkoV5IaT6dep9UnLCGIb3iroIL HzyfxfynMpicUWKHrn6BErk450x2uuXo2fTLKZ7CBma0/+zASAZ5L7WxklMoHW03Ke25 F0IsCvUzDNxebcKVuNboE4TfZmmq3ecErGcJviqanWD+L+XChIekH6dhHJz0YvsVynnZ 5SkZxdg+2Tyaq7zZBHfnoehxrGeFB/V8Zc/z+KFJRwjhJRO+kur7PeyPBbtOSZTVBFxF kAzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=qDGaLOBz; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v61-v6si6381414plb.448.2018.09.06.20.21.17; Thu, 06 Sep 2018 20:21:33 -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=pass header.i=@google.com header.s=20161025 header.b=qDGaLOBz; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726248AbeIGHyO (ORCPT + 99 others); Fri, 7 Sep 2018 03:54:14 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:35353 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725931AbeIGHyO (ORCPT ); Fri, 7 Sep 2018 03:54:14 -0400 Received: by mail-pg1-f195.google.com with SMTP id 7-v6so6253290pgf.2 for ; Thu, 06 Sep 2018 20:15:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=mWmWKJUk6g6McQihajHleedONHT/BVAq9eEl0P0XyWQ=; b=qDGaLOBzDIX/fMoRmP7WVBvKL0tukbI+T43bdJcmA9WvHfbMIr9yI0qYW1VTeYIGmh nICIQ5t1wSodFkuU4AxeHslcuf//6LFCfnbSMIQMJUGRI+vSImt8xygX2vSBVRw29ZQh O1PsGEiL0xcbB0ilpdOLdnGdOLB32ZB3/QMhP5vVMqxXLkPueWyEg0Zkw5LNuLmjQHmv qrsb8la6Rpjj0DDKOtw0ryJmUmq+k0rtAL9U0HXJoiY/3B06dU6Hj/W43SUsltQThZRe CJTFJz8AgxA4FHcE/keO0NrkzD89H0q1Fn077ilJJtZVVFRVtgfTYlCjmgzvzCVMTLLp X7YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mWmWKJUk6g6McQihajHleedONHT/BVAq9eEl0P0XyWQ=; b=aBKzoa2YZ4z6QcUXESnZULloUnmF+dhgX6Ix/63Yj5zqx9NTIlY/WXbGOY3EkdK0d5 I3cgmqlBgd86gdaE1xxEKaaB5Vfs89ek2Zd9BtMq5lQn7KLa0+ndJLutDVnHbanrtB6K iGb2WS+MvkyLJ5Q1UDeYx+mDJBETKWD7MkFcJ38+gSiJEhXEKqFQ1M/xYtx+C5DkGfr6 vSwrVUXdTJIe1xGCm245FxPlB6kc2PFmKN4oeQoIj8n0ZnNLNj3Twd/3n4GEosqtSNMl W5SyCL1cwFL0OfpcZRUE4zWvKgUZo57HG5EVIm+JRZ9myRjhmND0B8eNV+tR/2vEFsE9 V1nA== X-Gm-Message-State: APzg51DWy0YsMD5z/ScURuE4BuC5KLteZmbcjnvluY1Z5yxc8iLaIEss l4PssjS8lqpjwIXhmBuSZQnOFw== X-Received: by 2002:a63:5964:: with SMTP id j36-v6mr5993849pgm.222.1536290132207; Thu, 06 Sep 2018 20:15:32 -0700 (PDT) Received: from rodete-laptop-imager.corp.google.com ([43.252.149.35]) by smtp.gmail.com with ESMTPSA id m21-v6sm8716577pgd.6.2018.09.06.20.15.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Sep 2018 20:15:30 -0700 (PDT) Date: Fri, 7 Sep 2018 11:15:25 +0800 From: Benson Leung To: Grant Grundler Cc: Mark Brown , Ryan Lee , Liam Girdwood , Kuninori Morimoto , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, bleung@chromium.org Subject: Re: [PATCH] ASoC: max98373: usleep_range() needs include/delay.h Message-ID: <20180907031525.GA28772@rodete-laptop-imager.corp.google.com> References: <20180907002728.112770-1-grundler@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <20180907002728.112770-1-grundler@chromium.org> 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 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Grant, 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:7= 34:2: error: implicit declaration of function 'usleep_range' [-Werror,-Wimp= licit-function-declaration] > usleep_range(10000, 11000); > ^ >=20 > Including delay.h "fixes" this. >=20 > Signed-off-by: Grant Grundler Reviewed-by: Benson Leung Thanks! --=20 Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6gYDF28Li+nEiKLaHwn1ewov5lgFAluR7UsACgkQHwn1ewov 5ljaCQ//Vj0U9MYJssR7jVXYrlHFK79ST8WCc4w4xL4ffdrmH9QyTx2dNu/mpwRu v9YAAPTqwCsbuH4tTMbQXLB/gi9bTRhda3auqcYCdpLoJ7SWIScQDjTBSpDU0fe8 MU6IxI5Aq++p/mMo46OVhUwnqfdPXB/zjTPXpHPxB5Z2mGbFmYh8C1uuun1SMxvr iJg0rZRoaABVFXW0pVC20levdAWDh0iax49XbYQswVIrfXQAXf2gSanfL/+SxOeW D/228n9YZ8DUDB3rCs2E0FfhI/XqskgAXtXwHJ1QNTiYpdTTONphUBjPrTiD4Stv bt5YR7A4XUFPhDgcU4Q6I54x3qKYk64i4PcEx9Mlz9XRvqmGrIr0FV3p7fjPklBh WsKmaFStb9jdevEgBT87ZgsIupqGSp9A/FIGl1eI7726Ta6SOllBsVywjQ54k1VN YkkQFfixRZeffUtYzHdDR+Qyoz1mg9zUSG4XdfsI75uRhZYX93Xn0N8SwOA2qwTP CHdYf0NVWMTxxjbNyD7RIz5/j6y4T1PA9ISoRoJCrOZF9s0VYk6MXcJZej9938km touyk4i0HsT88C76JBcuKlwbK9gGJw+4n2RaE/brJuHPZLtHKYDLQoDsDX1aZrPC Gm8lXNDxwmLcdh60S0LObXeq14lYzzDg89kKAHTA/6zPfJ92Yfg= =zIvs -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--