Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1509424yba; Thu, 25 Apr 2019 00:37:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJgiJJDMLJuG4hCICQhfPLXOFfCvdSrtRQKAodQTzZhIXt4BpX94Q2eh3v3cmDZqdXvDYk X-Received: by 2002:a17:902:e48c:: with SMTP id cj12mr36475601plb.93.1556177843341; Thu, 25 Apr 2019 00:37:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556177843; cv=none; d=google.com; s=arc-20160816; b=hHOcKBUWWtMYikvdmNzbz9eDVOiwz8gxhFNHZfJpRrCIel+dquktVS8pb5Lom5Ygbm xeHpHKpPD/C8aCAMhI29ZKs89Mqx+9vstM+cXaAo1pVbTxDmIqybmZWmbIzlqnkDuMek WKetptnwLOb3C9anZxvrXWvHuRwWIn7hpTdkELgZ8PHPYzS1uXL+NrC2Wd5B4O5yKg59 +6WWKjcPQR3U2/rxD/z49f6recgqXWzPHZ8E0Nl/MrBD5xYdx+68nHlSJKOalTb+Syty G0hfdQPgRcU/tz0Hszhze9TguUkd4YT20kV6l92Lc1qs7lwO002jQzmxtxUog7PtFKhC ed8w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=0D/2x3rOwENNU6jQCq04abY6DvWn6VdmuALQ2ie/LYE=; b=iok9vgQ+3fMx9+9g7UsleCuqTssW5QQZnW8DV9aPQ8r0RGSXeUZumlWaFb+dHgai9o cayvkLxXQFHwONkwUcy4saIYDyNvKNbvt57bbcisMw0PKDbCbl1+CZWCfKKTaT2D+3jQ EkrJ3MWrB6o9iEqGTd5f2BE98T8CCIcQjXz7jXsIPlKH3WXEFzDWUkj4Y0leGp8u6AiQ o0uwMZWnUhJJbDZDFbuHg3JilX0jJrUdZroQUdPn4tfr964daDMfBNpO0wJW59LK34yA Vctc/+6M3lOI5uHmmvN3zi4UAlvIJbUOeEKw3u+lFld6txbHKjJYKv0CVwfFJIER+5ro S7BA== ARC-Authentication-Results: i=1; mx.google.com; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si21258361plp.369.2019.04.25.00.37.07; Thu, 25 Apr 2019 00:37: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; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727680AbfDXXNc (ORCPT + 99 others); Wed, 24 Apr 2019 19:13:32 -0400 Received: from mga05.intel.com ([192.55.52.43]:54700 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727636AbfDXXNb (ORCPT ); Wed, 24 Apr 2019 19:13:31 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2019 16:13:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,391,1549958400"; d="scan'208";a="145470908" Received: from linux.intel.com ([10.54.29.200]) by orsmga003.jf.intel.com with ESMTP; 24 Apr 2019 16:13:30 -0700 Received: from pbossart-mac01.local (unknown [10.241.224.79]) by linux.intel.com (Postfix) with ESMTP id 4E31B5803C2; Wed, 24 Apr 2019 16:13:30 -0700 (PDT) Subject: Re: [alsa-devel] [PATCH] ASoC: Intel: bytcht_es8316: fix cast warning To: Anders Roxell , liam.r.girdwood@linux.intel.com, yang.jie@linux.intel.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <20190424114114.27073-1-anders.roxell@linaro.org> From: Pierre-Louis Bossart Message-ID: <13969360-f863-e93e-9d48-d27c0034795a@linux.intel.com> Date: Wed, 24 Apr 2019 16:13:34 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190424114114.27073-1-anders.roxell@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ‘snd_byt_cht_es8316_mc_probe’: > ../sound/soc/intel/boards/bytcht_es8316.c:508:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > quirk = (int)dmi_id->driver_data; > ^ > > Rework to use uintptr_t instead of int. > > Fixes: a8d218f4fe81 ("ASoC: Intel: bytcht_es8316: Add quirk for the Teclast 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.