From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D75AAC433EF for ; Mon, 27 Jun 2022 01:47:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 52BE86B0072; Sun, 26 Jun 2022 21:47:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4DC8C8E0002; Sun, 26 Jun 2022 21:47:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3A3A28E0001; Sun, 26 Jun 2022 21:47:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 2A9556B0072 for ; Sun, 26 Jun 2022 21:47:10 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id E7874349D6 for ; Mon, 27 Jun 2022 01:47:09 +0000 (UTC) X-FDA: 79622327778.23.B655665 Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) by imf25.hostedemail.com (Postfix) with ESMTP id 81D18A001C for ; Mon, 27 Jun 2022 01:47:09 +0000 (UTC) Received: by mail-oi1-f174.google.com with SMTP id h65so11029472oia.11 for ; Sun, 26 Jun 2022 18:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W3K87HnC/AC1tkmUZ8xwxUxlVvWsFZy1XO3Ep2ElSN8=; b=FpZpXa8e7IHggCiROU7IPEcsYK9X8EmVHTBwZtJ89ZMB3u7y7WpnB/GGhitoL+oBF9 xMKwR+EjIhhVroMJaB1F7sd5rXh4dCYbdrJ4gN2aVhPGhnUDEXh/hWKWOqELE5DP9jMW Qgy5Nc+4xwN2u2vQUKOkIar0cmOZ2g6bBLWflAaxRJ5ocR9cjX6HwhcQIpoL87mUMjGa AepFkBcT+qd3BOoQltlIKoICOJ9p9AAqPdvge0BuHn3+Q5QGlpl5TSbqbns2cwvVxKna 8XmHja0bJ/+GAczlQXrSfxqa2lTmsJdZlXOoyQs7L1d6V1vCATKK+zhTGIjgjcesFt5q ltUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W3K87HnC/AC1tkmUZ8xwxUxlVvWsFZy1XO3Ep2ElSN8=; b=D4jiY8jb21AhLeKkNO/IWvNKhy299nqe+dqG8yptumW/6utg8QusNK4y4y/Roju1Q3 zwaE32zaculVRiMideSiKnbTrzaKmDzyN5ss8LoxIHfwW33ACEGCWDe9vVrYi1j8JD3t IVrZfg6dXL4c6ga4I9Rajt5czveoLSrwGlz8yfEQhyZlkm9Hvb88uGORM1Wqzny6dqvQ CM3uDDDkDDFCLFmbt5cyaRuTxjtDEOm/waZES2TZZDc60JG5w6Bg8SdAm7v0XTy3/S+A O64TO2Vq+9w9pDT704rMtDbU5Fq8NhbbGqwEmBJU0VWWWO2QISOtqIoN0XHRBxqT2iXO 9D6Q== X-Gm-Message-State: AJIora+zyzTU7pPBPRVt1lwv1VEO6fkksFOXyPkcMRYcFV2cxQAmXGQZ H01vY5rQnTGVaWmT9gxP1isnZ8UmzL5wkOtw+ac= X-Google-Smtp-Source: AGRyM1sar/aNldKk+kuQkjguMY8XvpOOwbBgN4cnrVcb5r1e9nMW5cAxxUQhqiHJJB2mfHNneuq6cYRGnqs2cQO9Jhc= X-Received: by 2002:a05:6808:ed0:b0:331:9af7:e69c with SMTP id q16-20020a0568080ed000b003319af7e69cmr9507817oiv.76.1656294428616; Sun, 26 Jun 2022 18:47:08 -0700 (PDT) MIME-Version: 1.0 References: <202206270521.Eam09vo4-lkp@intel.com> In-Reply-To: <202206270521.Eam09vo4-lkp@intel.com> From: Souptick Joarder Date: Mon, 27 Jun 2022 07:16:56 +0530 Message-ID: Subject: Re: [linux-next:master 802/5720] sound/soc/samsung/s3c24xx-i2s.c:173:14: error: 'SND_SOC_DAIFMT_BC_CFC' undeclared; did you mean 'SND_SOC_DAIFMT_BC_FC'? To: kernel test robot Cc: Charles Keepax , kbuild-all@lists.01.org, Linux Memory Management List , Mark Brown Content-Type: text/plain; charset="UTF-8" ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FpZpXa8e; spf=pass (imf25.hostedemail.com: domain of jrdr.linux@gmail.com designates 209.85.167.174 as permitted sender) smtp.mailfrom=jrdr.linux@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1656294429; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=W3K87HnC/AC1tkmUZ8xwxUxlVvWsFZy1XO3Ep2ElSN8=; b=eVwjoygg+3nRQd/glen8fu6tpCms/pBIjR5iNG2R+s3CjCpYwoFm06Px4oh0V9ZcAkLddQ y4T8Qj6jprE2dbPh41kpQxlkftcLWGJK8GHldSZq/HSHRDSquSz/TRrp4rO9qZGWHCIXbx K231/EqxP7PGOLGIMkIJ24M9cX1C+D8= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1656294429; a=rsa-sha256; cv=none; b=rKmSv/knfBf0P1z4UzarWqWZNbiMTIpNxmc71RbVTC6e1xSHFkTFy23p2wmnnnt6Mdwpb+ vpFGKeq/DEP5jbhXAxRd3+CVa/AZmSiLaI6o4/MmRUDPQOlMMmyxLDx8mK8inbzwTYf9wr cl/+bkYAybS+s7aCgL14bVK7wKte8tU= X-Stat-Signature: 7nkrbw7h7yf4gekot69kscr118hfkmpx X-Rspamd-Queue-Id: 81D18A001C X-Rspam-User: Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FpZpXa8e; spf=pass (imf25.hostedemail.com: domain of jrdr.linux@gmail.com designates 209.85.167.174 as permitted sender) smtp.mailfrom=jrdr.linux@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-Rspamd-Server: rspam02 X-HE-Tag: 1656294429-478995 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Jun 27, 2022 at 3:03 AM kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 2f9cb3d3bd73fc2225d66aa8fcffb632ed3eb235 > commit: 0b491c7c1b2555ef08285fd49a8567f2f9f34ff8 [802/5720] ASoC: samsung: Update to use set_fmt_new callback > config: arm-randconfig-r003-20220627 > compiler: arm-linux-gnueabi-gcc (GCC) 11.3.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=0b491c7c1b2555ef08285fd49a8567f2f9f34ff8 > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 0b491c7c1b2555ef08285fd49a8567f2f9f34ff8 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash sound/soc/samsung/ > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > sound/soc/samsung/s3c24xx-i2s.c: In function 's3c24xx_i2s_set_fmt': > >> sound/soc/samsung/s3c24xx-i2s.c:173:14: error: 'SND_SOC_DAIFMT_BC_CFC' undeclared (first use in this function); did you mean 'SND_SOC_DAIFMT_BC_FC'? > 173 | case SND_SOC_DAIFMT_BC_CFC: > | ^~~~~~~~~~~~~~~~~~~~~ > | SND_SOC_DAIFMT_BC_FC > sound/soc/samsung/s3c24xx-i2s.c:173:14: note: each undeclared identifier is reported only once for each function it appears in Looking into linux-next - File Function Line 0 s3c24xx-i2s.c s3c24xx_i2s_set_fmt 173 case SND_SOC_DAIFMT_BC_CFC: There is only one reference of SND_SOC_DAIFMT_BC_CFC. Not sure how it is defined ? SND_SOC_DAIFMT_BC_CFC is not defined inside soc-dai.h as well. > > > vim +173 sound/soc/samsung/s3c24xx-i2s.c > > 160 > 161 /* > 162 * Set S3C24xx I2S DAI format > 163 */ > 164 static int s3c24xx_i2s_set_fmt(struct snd_soc_dai *cpu_dai, > 165 unsigned int fmt) > 166 { > 167 u32 iismod; > 168 > 169 iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD); > 170 pr_debug("hw_params r: IISMOD: %x \n", iismod); > 171 > 172 switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { > > 173 case SND_SOC_DAIFMT_BC_CFC: > 174 iismod |= S3C2410_IISMOD_SLAVE; > 175 break; > 176 case SND_SOC_DAIFMT_BP_FP: > 177 iismod &= ~S3C2410_IISMOD_SLAVE; > 178 break; > 179 default: > 180 return -EINVAL; > 181 } > 182 > 183 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { > 184 case SND_SOC_DAIFMT_LEFT_J: > 185 iismod |= S3C2410_IISMOD_MSB; > 186 break; > 187 case SND_SOC_DAIFMT_I2S: > 188 iismod &= ~S3C2410_IISMOD_MSB; > 189 break; > 190 default: > 191 return -EINVAL; > 192 } > 193 > 194 writel(iismod, s3c24xx_i2s.regs + S3C2410_IISMOD); > 195 pr_debug("hw_params w: IISMOD: %x \n", iismod); > 196 > 197 return 0; > 198 } > 199 > > -- > 0-DAY CI Kernel Test Service > https://01.org/lkp > From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5338154018620257105==" MIME-Version: 1.0 From: Souptick Joarder To: kbuild-all@lists.01.org Subject: Re: [linux-next:master 802/5720] sound/soc/samsung/s3c24xx-i2s.c:173:14: error: 'SND_SOC_DAIFMT_BC_CFC' undeclared; did you mean 'SND_SOC_DAIFMT_BC_FC'? Date: Mon, 27 Jun 2022 07:16:56 +0530 Message-ID: In-Reply-To: <202206270521.Eam09vo4-lkp@intel.com> List-Id: --===============5338154018620257105== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Mon, Jun 27, 2022 at 3:03 AM kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.g= it master > head: 2f9cb3d3bd73fc2225d66aa8fcffb632ed3eb235 > commit: 0b491c7c1b2555ef08285fd49a8567f2f9f34ff8 [802/5720] ASoC: samsung= : Update to use set_fmt_new callback > config: arm-randconfig-r003-20220627 > compiler: arm-linux-gnueabi-gcc (GCC) 11.3.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next= .git/commit/?id=3D0b491c7c1b2555ef08285fd49a8567f2f9f34ff8 > git remote add linux-next https://git.kernel.org/pub/scm/linux/ke= rnel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 0b491c7c1b2555ef08285fd49a8567f2f9f34ff8 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.3.0 make.cro= ss W=3D1 O=3Dbuild_dir ARCH=3Darm SHELL=3D/bin/bash sound/soc/samsung/ > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > sound/soc/samsung/s3c24xx-i2s.c: In function 's3c24xx_i2s_set_fmt': > >> sound/soc/samsung/s3c24xx-i2s.c:173:14: error: 'SND_SOC_DAIFMT_BC_CFC'= undeclared (first use in this function); did you mean 'SND_SOC_DAIFMT_BC_F= C'? > 173 | case SND_SOC_DAIFMT_BC_CFC: > | ^~~~~~~~~~~~~~~~~~~~~ > | SND_SOC_DAIFMT_BC_FC > sound/soc/samsung/s3c24xx-i2s.c:173:14: note: each undeclared identifi= er is reported only once for each function it appears in Looking into linux-next - File Function Line 0 s3c24xx-i2s.c s3c24xx_i2s_set_fmt 173 case SND_SOC_DAIFMT_BC_CFC: There is only one reference of SND_SOC_DAIFMT_BC_CFC. Not sure how it is defined ? SND_SOC_DAIFMT_BC_CFC is not defined inside soc-dai.h as well. > > > vim +173 sound/soc/samsung/s3c24xx-i2s.c > > 160 > 161 /* > 162 * Set S3C24xx I2S DAI format > 163 */ > 164 static int s3c24xx_i2s_set_fmt(struct snd_soc_dai *cpu_dai, > 165 unsigned int fmt) > 166 { > 167 u32 iismod; > 168 > 169 iismod =3D readl(s3c24xx_i2s.regs + S3C2410_IISMOD); > 170 pr_debug("hw_params r: IISMOD: %x \n", iismod); > 171 > 172 switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { > > 173 case SND_SOC_DAIFMT_BC_CFC: > 174 iismod |=3D S3C2410_IISMOD_SLAVE; > 175 break; > 176 case SND_SOC_DAIFMT_BP_FP: > 177 iismod &=3D ~S3C2410_IISMOD_SLAVE; > 178 break; > 179 default: > 180 return -EINVAL; > 181 } > 182 > 183 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { > 184 case SND_SOC_DAIFMT_LEFT_J: > 185 iismod |=3D S3C2410_IISMOD_MSB; > 186 break; > 187 case SND_SOC_DAIFMT_I2S: > 188 iismod &=3D ~S3C2410_IISMOD_MSB; > 189 break; > 190 default: > 191 return -EINVAL; > 192 } > 193 > 194 writel(iismod, s3c24xx_i2s.regs + S3C2410_IISMOD); > 195 pr_debug("hw_params w: IISMOD: %x \n", iismod); > 196 > 197 return 0; > 198 } > 199 > > -- > 0-DAY CI Kernel Test Service > https://01.org/lkp > --===============5338154018620257105==--