Received: by 10.223.185.116 with SMTP id b49csp3235559wrg; Sun, 25 Feb 2018 17:38:02 -0800 (PST) X-Google-Smtp-Source: AH8x225trFAf6rgaMR1Ftvr/guAFstW7MYRiG/Vh2KS2/9W8lB+6iWEQ1I2dFwafZR//J5BY8Wn8 X-Received: by 2002:a17:902:22cc:: with SMTP id o12-v6mr9077490plg.280.1519609082801; Sun, 25 Feb 2018 17:38:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519609082; cv=none; d=google.com; s=arc-20160816; b=Kl7MOBeW9EhNlOF9O2z5w2fbhFj4RcOO3Z4SU1e3nX51LrNDW3Zrj1yOlM0yQ6BZ7C MwdwV1IpNORjqRqyZUwQoCFbAVNPb+5Mqs16gE37EERrlCCVrLWmKXg/PQL54wWY/TDM 4pyCO8vV2uJw3IdAAdi6DtdD+HTZl4C6mcN1eSRpVqsYiRTtUce8PdgwwQSZ+1E+X6TT w7e5aiW6INTUcqUScFu3N+6yxamNloU3fCtz0Au+cPKMpdo0+GpOu/thinWPJ3nGUBqO cF3b5MsRTl1ym9fOmE6VyDe2Pt7uhRLeqHHx8RZp+Zj9nhhBRmSAToiy6dIDtzr52o9m uCQg== 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:arc-authentication-results; bh=4xtO4vSq7RV8oJ7i5BsKWibsM7BjZtE4g+Ex6JX/NFw=; b=PHKnqHAc4cCQAhyjMJNR6MKG/VLHFvZGuquPFMzlUbIcSjz4hbQvSaXgOvfHLAdusn SCHPnCbPsLU1AC05pGESp3zfbIC98a03UXnf8jjfK4Xrg5LcLMmlSKXC+q4wFvAmkOSR bQpFdiZhC+j2GPxNEd8JgnUdnNzns5Aq3F63AET2f1RKnNz6hmnntAQl2ODdUPTZeM7O QfdiKgoKigaxBlCCFQMePSRxwp002UHAZ+tWfZ7x/1LgHAlc4lZcH6zf/5csXC7/CJ3A ELsGfrcR0FNZeGgBi5x/hG9dujkiErh2BLEiZAQSgDGbwUSrN1Np6F15xty6NyTBPaD7 JCyQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a33-v6si1369347plc.101.2018.02.25.17.37.48; Sun, 25 Feb 2018 17:38:02 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751981AbeBZBhH (ORCPT + 99 others); Sun, 25 Feb 2018 20:37:07 -0500 Received: from mga05.intel.com ([192.55.52.43]:37648 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751918AbeBZBhF (ORCPT ); Sun, 25 Feb 2018 20:37:05 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Feb 2018 17:37:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,395,1515484800"; d="scan'208";a="20249928" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga007.jf.intel.com with ESMTP; 25 Feb 2018 17:37:02 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1eq7j4-0000Ev-HP; Mon, 26 Feb 2018 09:37:10 +0800 Date: Mon, 26 Feb 2018 09:36:42 +0800 From: kbuild test robot To: Sebastian Reichel Cc: kbuild-all@01.org, Sebastian Reichel , Liam Girdwood , Mark Brown , Rob Herring , Tony Lindgren , Lee Jones , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, kernel@collabora.com, Takashi Iwai , linux-kernel@vger.kernel.org, Sebastian Reichel , linux-omap@vger.kernel.org Subject: Re: [alsa-devel] [PATCHv5 2/5] ASoC: codec: cpcap: new codec Message-ID: <201802260921.u5yCEY8U%fengguang.wu@intel.com> References: <20180223200254.25685-3-sebastian.reichel@collabora.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180223200254.25685-3-sebastian.reichel@collabora.co.uk> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sebastian, I love your patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on v4.16-rc2 next-20180223] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Sebastian-Reichel/Motorola-Droid-4-Audio-Support/20180226-063007 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> sound/soc/codecs/cpcap.c:1406:54: sparse: restricted snd_pcm_format_t degrades to integer vim +1406 sound/soc/codecs/cpcap.c 1396 1397 static struct snd_soc_dai_driver cpcap_dai[] = { 1398 { 1399 .id = 0, 1400 .name = "cpcap-hifi", 1401 .playback = { 1402 .stream_name = "HiFi Playback", 1403 .channels_min = 2, 1404 .channels_max = 2, 1405 .rates = SNDRV_PCM_RATE_8000_48000, > 1406 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FORMAT_S24_LE, 1407 }, 1408 .ops = &cpcap_dai_hifi_ops, 1409 }, 1410 { 1411 .id = 1, 1412 .name = "cpcap-voice", 1413 .playback = { 1414 .stream_name = "Voice Playback", 1415 .channels_min = 1, 1416 .channels_max = 1, 1417 .rates = SNDRV_PCM_RATE_8000_48000, 1418 .formats = SNDRV_PCM_FMTBIT_S16_LE, 1419 }, 1420 .capture = { 1421 .stream_name = "Voice Capture", 1422 .channels_min = 1, 1423 .channels_max = 2, 1424 .rates = SNDRV_PCM_RATE_8000_48000, 1425 .formats = SNDRV_PCM_FMTBIT_S16_LE, 1426 }, 1427 .ops = &cpcap_dai_voice_ops, 1428 }, 1429 }; 1430 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation