Received: by 2002:a05:7412:4e10:b0:e2:908c:2ebd with SMTP id gb16csp3573rdb; Mon, 6 Nov 2023 21:20:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqZtWMo3FbzEG4SRvwTuCNUxmgwv4+ObWKLM/FpIqzo55ocwBmfmOw6EMXZ7RT9Q1z87m8 X-Received: by 2002:a17:903:2282:b0:1cc:5671:8d9 with SMTP id b2-20020a170903228200b001cc567108d9mr2811788plh.27.1699334405027; Mon, 06 Nov 2023 21:20:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699334405; cv=none; d=google.com; s=arc-20160816; b=G0k+549sZ3CaHWbq6w/hM+/Rq++dhYCDEJ3/B03M+o5bbzTQCW4N+5cUJtVrfRnnsJ 6k1qyaGAos9pcKn5ticL6Jiu0WKg06ocG/u/bZLTs500NPnGi9oO+xoFf+o2BSaJ45gp jIQyU/nw2OCiHJPtctaMcha5XI2+lCJmO50XvKot6iG4z4pQjdAzQ4UixaVp1RbHRV5L 4Hk1oM2RJY/TTTbcl9WQbNbd3rExGHxXYL0QJiaO6IBw+cogfwB1WEHYQH5qLw7vTs3Z FYve+f9hSX9mHgnNdJWnGNK+/QKAmazRUUe1waWq4al8ouLma2we2BAMjXhibgb+Oxde dZVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=/wOb2UGNs/McxXKchiF/ll4ceLMkhqTA0wLCWguE2ao=; fh=V2oAt+GbCn9d6r9GimRlkTajsvKoQTOm6H/B2txk4Lo=; b=xVkNhjHCAvLA0NqIK2LwK6Hb07ZL7+QXT5Uf8rlrbKfiSymkATauyAsPNSm9xkOJJk kxw5A4YD+imyM/9rH0rZ73Ku+UIotGe3vQQrvQ07GGpGd6E6mZiKBsaD04oG9hBzPyWS vu2n3Vs9dMmsMSEJu+8v/i4QV1Lszon3DzsyTeQcKPZ4sIvkeF1MfYZnvAspFfkJ1xUG xN3TOVExYciAn6Bs5mjr6g4d+m4I76iIlvGKri6+s95SQwi7BO/7BY0BXpa5adIn5Qxh U3UoHSzkBWhuTUqZH9M3sc0sRHZqtXUZuwGdNUcvdks3eHSS9ZRIj6um3lt1jw5N02LP 9h1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eLaCMtYp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id j12-20020a170903024c00b001cc330e48e6si10261008plh.80.2023.11.06.21.19.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 21:20:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eLaCMtYp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 27AA580BB529; Mon, 6 Nov 2023 21:19:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233448AbjKGFTZ (ORCPT + 99 others); Tue, 7 Nov 2023 00:19:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229559AbjKGFTX (ORCPT ); Tue, 7 Nov 2023 00:19:23 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1747810D for ; Mon, 6 Nov 2023 21:19:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699334360; x=1730870360; h=date:from:to:cc:subject:message-id:mime-version; bh=oADdWft+c+fJAacTcqaU/BhGI3DMHOCU/vGv3xW4hlQ=; b=eLaCMtYpCq+t0ZbWPh3PCwkQ1LgW/A9DqiVsV+c7pnRS1zoLu0E2RCVg oLRO5HabfJfeEDRHRQrnD8vcBcdF9BOKoe7gNXfm9feu7xrD38ZK6jOrU AefI3C7oqFYx/RUZK5a+x+mZuUw3RN4CCuiRY5p/lqXoPm8bBhhDHkT/Z bcfNVGLuNKVAm5iyegGV33alXgNdEK/WPyECp6ofHTHSy+rko8jzmcC/Q We+JcTGk1eXNpqkn3lQCMBta3x5Zlxk/eNGCH+WH9aulTTZK/HwRgampM uxTuxNirpcbvanfZTuBYzE7osvxmVM+VPZR4lyvNb9SaGF4K6cTqe0R6Y w==; X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="2356412" X-IronPort-AV: E=Sophos;i="6.03,282,1694761200"; d="scan'208";a="2356412" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2023 21:19:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,282,1694761200"; d="scan'208";a="3691354" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 06 Nov 2023 21:19:18 -0800 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1r0EUd-0006wW-1l; Tue, 07 Nov 2023 05:19:15 +0000 Date: Tue, 7 Nov 2023 13:18:21 +0800 From: kernel test robot To: Charles Keepax Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Linus Walleij Subject: drivers/pinctrl/cirrus/pinctrl-lochnagar.c:52:53: error: pasting "LOCHNAGAR1_" and "(" does not give a valid preprocessing token Message-ID: <202311071303.JJMAOjy4-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 06 Nov 2023 21:19:37 -0800 (PST) tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: be3ca57cfb777ad820c6659d52e60bbdd36bf5ff commit: 0548448b719ac78fa18fdbcd03856952ba6cc7dc pinctrl: lochnagar: Add support for the Cirrus Logic Lochnagar date: 4 years, 7 months ago config: mips-buildonly-randconfig-r006-20220821 (https://download.01.org/0day-ci/archive/20231107/202311071303.JJMAOjy4-lkp@intel.com/config) compiler: mipsel-linux-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231107/202311071303.JJMAOjy4-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202311071303.JJMAOjy4-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/pinctrl/cirrus/pinctrl-lochnagar.c:52:53: error: pasting "LOCHNAGAR1_" and "(" does not give a valid preprocessing token 52 | .name = NAME, .type = LN_PTYPE_GPIO, .reg = LOCHNAGAR##REV##_##REG, \ | ^~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:67:9: note: in expansion of macro 'LN_PIN_GPIO' 67 | LN_PIN_GPIO(1, ID, NAME, REG, SHIFT, INVERT) | ^~~~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:200:1: note: in expansion of macro 'LN1_PIN_GPIO' 200 | LN1_PIN_GPIO(CDC_RESET, "codec-reset", RST, CDC_RESET, 1); | ^~~~~~~~~~~~ >> drivers/pinctrl/cirrus/pinctrl-lochnagar.c:52:53: error: implicit declaration of function 'LOCHNAGAR1_'; did you mean 'LOCHNAGAR1_RST'? [-Werror=implicit-function-declaration] 52 | .name = NAME, .type = LN_PTYPE_GPIO, .reg = LOCHNAGAR##REV##_##REG, \ | ^~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:67:9: note: in expansion of macro 'LN_PIN_GPIO' 67 | LN_PIN_GPIO(1, ID, NAME, REG, SHIFT, INVERT) | ^~~~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:200:1: note: in expansion of macro 'LN1_PIN_GPIO' 200 | LN1_PIN_GPIO(CDC_RESET, "codec-reset", RST, CDC_RESET, 1); | ^~~~~~~~~~~~ >> drivers/pinctrl/cirrus/pinctrl-lochnagar.c:52:53: error: initializer element is not constant 52 | .name = NAME, .type = LN_PTYPE_GPIO, .reg = LOCHNAGAR##REV##_##REG, \ | ^~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:67:9: note: in expansion of macro 'LN_PIN_GPIO' 67 | LN_PIN_GPIO(1, ID, NAME, REG, SHIFT, INVERT) | ^~~~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:200:1: note: in expansion of macro 'LN1_PIN_GPIO' 200 | LN1_PIN_GPIO(CDC_RESET, "codec-reset", RST, CDC_RESET, 1); | ^~~~~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:52:53: note: (near initialization for 'lochnagar1_CDC_RESET_pin.reg') 52 | .name = NAME, .type = LN_PTYPE_GPIO, .reg = LOCHNAGAR##REV##_##REG, \ | ^~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:67:9: note: in expansion of macro 'LN_PIN_GPIO' 67 | LN_PIN_GPIO(1, ID, NAME, REG, SHIFT, INVERT) | ^~~~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:200:1: note: in expansion of macro 'LN1_PIN_GPIO' 200 | LN1_PIN_GPIO(CDC_RESET, "codec-reset", RST, CDC_RESET, 1); | ^~~~~~~~~~~~ >> drivers/pinctrl/cirrus/pinctrl-lochnagar.c:52:53: error: pasting "LOCHNAGAR1_" and "(" does not give a valid preprocessing token 52 | .name = NAME, .type = LN_PTYPE_GPIO, .reg = LOCHNAGAR##REV##_##REG, \ | ^~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:67:9: note: in expansion of macro 'LN_PIN_GPIO' 67 | LN_PIN_GPIO(1, ID, NAME, REG, SHIFT, INVERT) | ^~~~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:201:1: note: in expansion of macro 'LN1_PIN_GPIO' 201 | LN1_PIN_GPIO(DSP_RESET, "dsp-reset", RST, DSP_RESET, 1); | ^~~~~~~~~~~~ >> drivers/pinctrl/cirrus/pinctrl-lochnagar.c:52:53: error: initializer element is not constant 52 | .name = NAME, .type = LN_PTYPE_GPIO, .reg = LOCHNAGAR##REV##_##REG, \ | ^~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:67:9: note: in expansion of macro 'LN_PIN_GPIO' 67 | LN_PIN_GPIO(1, ID, NAME, REG, SHIFT, INVERT) | ^~~~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:201:1: note: in expansion of macro 'LN1_PIN_GPIO' 201 | LN1_PIN_GPIO(DSP_RESET, "dsp-reset", RST, DSP_RESET, 1); | ^~~~~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:52:53: note: (near initialization for 'lochnagar1_DSP_RESET_pin.reg') 52 | .name = NAME, .type = LN_PTYPE_GPIO, .reg = LOCHNAGAR##REV##_##REG, \ | ^~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:67:9: note: in expansion of macro 'LN_PIN_GPIO' 67 | LN_PIN_GPIO(1, ID, NAME, REG, SHIFT, INVERT) | ^~~~~~~~~~~ drivers/pinctrl/cirrus/pinctrl-lochnagar.c:201:1: note: in expansion of macro 'LN1_PIN_GPIO' 201 | LN1_PIN_GPIO(DSP_RESET, "dsp-reset", RST, DSP_RESET, 1); | ^~~~~~~~~~~~ cc1: some warnings being treated as errors vim +52 drivers/pinctrl/cirrus/pinctrl-lochnagar.c 49 50 #define LN_PIN_GPIO(REV, ID, NAME, REG, SHIFT, INVERT) \ 51 static const struct lochnagar_pin lochnagar##REV##_##ID##_pin = { \ > 52 .name = NAME, .type = LN_PTYPE_GPIO, .reg = LOCHNAGAR##REV##_##REG, \ 53 .shift = LOCHNAGAR##REV##_##SHIFT##_SHIFT, .invert = INVERT, \ 54 } 55 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki