Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1556770yba; Thu, 25 Apr 2019 01:39:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwir2t1ItAQH+QK6bJAibPasNPZLzrNCjWIWI9XAtKY4VAJjd/SUHWDHB34whr+sx4jA8dh X-Received: by 2002:a63:f809:: with SMTP id n9mr35050747pgh.201.1556181552257; Thu, 25 Apr 2019 01:39:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556181552; cv=none; d=google.com; s=arc-20160816; b=ZJS0b0maJMFx/Y7VF/1mjNRBhnYr1zU6h3i2tIi4toNv1k7bA7Zq/9mGTLmFFcYyTU R0ks0sPSVwGrguyI/xNE37UZ/NS4WD8h6xr5WcDFW0dYC40kmhER2Q6pX+1hKFVtHhjD rvdhInvqtWyEe6tuYoZhrswniSUiFWUj+gW+fQUI9IdDVgZqGku+GbKGyD7IKYyvHYNF ARzCvSCE0yvvJM8rqZBjnwE9pf2TmQuwA1BqWAMNTSgy5k0+UzQ8Nt9yMnCaGdzXHAFj dETo482AIQcjQzban16k0kCQn0BmriwMjemCKAy6ghnMhB7GN+tjPXvsqN0BEoiiBzNi 1xCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=tiwQQD0bmTZ/iR7pMI5uZ9dZcUGO6BCQnQb0GwZQxYA=; b=vkJT4p85E2yGiyH6dx4EFHJPDafJFu0/9eXPAp9tp1sgSa58GpGYRXDCNT/EeBmA7z Fv5OjKBxx65mARlRNQ0PIWqFDTvfR61YYXspvaytQFMezzdCSiSumhDoLh3GmdlISR9z AnaeB1Kz4PadAt/RajDckC5nhymsW3iUBWQ4m5trEwIzwjQwXD4JsPjfcr99C2R68x9p 5mnP6IF+WdsqW3Lt29Y7BNrlzooZgIPnEDUpelFPrejmr9dpqtfSx7CGVF7wQGLSY7sU o61QWnpgHo0CiblQYRJVXE51obmFwLYE3xrWjPI1cleAO6g1kQE0TLhlv21uGf+E14eU olvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uN7kEvu7; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r198si20988383pgr.153.2019.04.25.01.38.55; Thu, 25 Apr 2019 01:39:12 -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=@linaro.org header.s=google header.b=uN7kEvu7; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389179AbfDYHI5 (ORCPT + 99 others); Thu, 25 Apr 2019 03:08:57 -0400 Received: from mail-yb1-f196.google.com ([209.85.219.196]:38108 "EHLO mail-yb1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388042AbfDYHI5 (ORCPT ); Thu, 25 Apr 2019 03:08:57 -0400 Received: by mail-yb1-f196.google.com with SMTP id a13so1894272ybm.5 for ; Thu, 25 Apr 2019 00:08:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=tiwQQD0bmTZ/iR7pMI5uZ9dZcUGO6BCQnQb0GwZQxYA=; b=uN7kEvu75syS2tsfrGmrZIV3MxBGydxBZvo/9oWEWhq/SXvVNdM2dwTH+nrTeyu3Kx DpbBRw+7YVlWsbiFvlkHqFHn+W9AjaZf/yRyACjZsWvsPcRRRpT/kiaoOnPmxPD0AMj1 AeI/NduTJTnpP5njJ3+t9kEhchmcvcldDYyvqj2VP+r9VR7f2CIm9sbWyL1kTbMEB6Ih XqK9U0XJ1yVK1yzomwKMX6KZxKL06nkAa3eknapMebYBps0gxSfJF+FXpe7boUwdsor0 ueFCeJlgOlxidFx+q4vglUgAVV5DCZ7cRsLEJ5HABD8eAXVpqdgtomFXJbnRfa2q12Nl OA5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=tiwQQD0bmTZ/iR7pMI5uZ9dZcUGO6BCQnQb0GwZQxYA=; b=pX53H+F/0bD2AxQf1gyQvsuf6mU2M3HPh0jHOxpxP/p/mG83Ek6vo3KYQU3GzKXh8+ CbM8vJMQIgbnvzntI6HZwEQF7LGydSII31WI5sih1UCu0nxENi13r2EXyIs6vFwn1bKx G3FOgnklrtXyYeoJrBuXeCmq9LwWkwiRgOcgULjNQIU1tG/2dfqCKgc+ww8yK7d1Mu1E z894+gnG5YePk8K6TnILC0J2FispSaBRvSPkDBOjC8EJA5wjYNHLyouVoy79/joslM8B RfBXOU90Rk35wyKZmPccNjZttBgPVg5zQ2uU/QDiV1JbjC8FTPo7Gx88za4z7oabjEG8 kn6w== X-Gm-Message-State: APjAAAX2Q+AS0mwIQhEwDJGQTSEkeUL6Zz8dxH30ZJXthn4mQinfRNpX OQgT1kaOl8+SzoYLCV+A78C38Qfy3pcwmMqmGM62eQ== X-Received: by 2002:a25:dc8e:: with SMTP id y136mr29522833ybe.195.1556176136581; Thu, 25 Apr 2019 00:08:56 -0700 (PDT) MIME-Version: 1.0 References: <20190424114114.27073-1-anders.roxell@linaro.org> <13969360-f863-e93e-9d48-d27c0034795a@linux.intel.com> In-Reply-To: <13969360-f863-e93e-9d48-d27c0034795a@linux.intel.com> From: Anders Roxell Date: Thu, 25 Apr 2019 09:08:45 +0200 Message-ID: Subject: Re: [alsa-devel] [PATCH] ASoC: Intel: bytcht_es8316: fix cast warning To: Pierre-Louis Bossart Cc: liam.r.girdwood@linux.intel.com, yang.jie@linux.intel.com, Mark Brown , perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Apr 2019 at 01:13, Pierre-Louis Bossart wrote: > > On 4/24/19 6:41 AM, Anders Roxell wrote: > > When building bytcht_es8316 the following warning shows up: > > > > ../sound/soc/intel/boards/bytcht_es8316.c: In function =E2=80=98snd_byt= _cht_es8316_mc_probe=E2=80=99: > > ../sound/soc/intel/boards/bytcht_es8316.c:508:11: warning: cast from po= inter to integer of different size [-Wpointer-to-int-cast] > > quirk =3D (int)dmi_id->driver_data; > > ^ > > > > Rework to use uintptr_t instead of int. > > > > Fixes: a8d218f4fe81 ("ASoC: Intel: bytcht_es8316: Add quirk for the Tec= last X98+ II") > > Signed-off-by: Anders Roxell > > I submitted an alternate fix last Friday to alsa-devel, along with 2 > additional patches to handle the quirk_override in the same way between > machine drivers. OK, yes your patch address the problem. Cheers, Anders