Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp791741rwb; Fri, 23 Sep 2022 04:21:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4/r35bl2Z8NO+lnwkPv13bAWq5fvsUNen84NsX2ZJQSMxQnwTLEM2bwr183HAQYC+BEeKX X-Received: by 2002:a63:1e11:0:b0:41c:d233:31f8 with SMTP id e17-20020a631e11000000b0041cd23331f8mr7194853pge.228.1663932066584; Fri, 23 Sep 2022 04:21:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663932066; cv=none; d=google.com; s=arc-20160816; b=cIdcVy9HuqKt6XkmzJ5GZfZskp+txQuB+t8rPbVT2W9Gkgg0VYcqQoSoQTjNikNdsP QRe2Wq16Xrg8Dng/uabYJK7KP/r+MQiZB8pn2YxMAbfws+ubHe4IBS7S7UU76qwwWDhA g9BOaT9ZuFD1Kx9ynJDDbyfL4zRsuTLqvPkAy7fgDiYgewShfDKatGuQUB0uoD2qzJqO AZW3cj2MQ8ehNIm/Q/1CWJuGr0/z8yXYGfIDpaBj71kBwReDNJEOQCQYGDErrlFMdE7r 4dOdIod01tv9X0oc67bqvAtnKlBdTrXNNtT/9hCbZmw1ralMEaMfN5wsRR/P6WsVWpnh UunA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NuIWeGj+fjK1SREsfc/Jj/2GGF8MVkAS+JuRaqBI7tM=; b=Fq4crxSCLS+E9maw9PbsqZYHbbYPmne/FdR7PYvJP5MQ3QZThgmroYONBRO940yj/K PxQHK/LXTEeg656dtUgL60MlVZB6voaPo142NWC3wyqr5a4iVpTwY3lVmWpwDuwuZg/z 8Ww9hWSG27OKdnP/xWWruAQl1lhoDCd3fJhWa8zuObp9j1B37FWy1CingkDU4bqMWppj h5ZdOqsd3MlzeyWhaE/hrRyQx4QVBo0oPzNuvmClv0ouBBKSTc4zMgSjkPbtkk38V2KY VKTMXtNTWDcFBqjB/Q9eUMgzeb80ZBPakoAuMbxj2iaHuhEZtHUq+qrjxnlQ14M4sk7p yORg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=iQC7OFJ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q21-20020a056a00085500b005363fa9e126si9595973pfk.358.2022.09.23.04.20.53; Fri, 23 Sep 2022 04:21:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=iQC7OFJ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231255AbiIWKRy (ORCPT + 99 others); Fri, 23 Sep 2022 06:17:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229622AbiIWKRw (ORCPT ); Fri, 23 Sep 2022 06:17:52 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D348EBBF6; Fri, 23 Sep 2022 03:17:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663928268; x=1695464268; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=3RF8R4gI3IQLjr5ETA1xsRBMuHXlhbOb1bpBik0p/Cw=; b=iQC7OFJ0SFulET7fr7rRy6p/wsy2ySX2NcObsEVZzqyOVvfeLV/OXDQI AlkWibtQhFBnH8a82Lg14Dx6p0ydBh0JtzUYZmpaDM8TPmrY1ia+rxwTu QK89xLwD5hQ1DptpSuCcYQPQJitgyHGrkTidfwHSeuTdfbjck6AICRcEq v1lI32jJrdLe50L+hm5qxxuWyPgMPCoxJ+1dQe0k/ybqeDc+6KRTNl88+ te0LXQeLio22qpeEV1Q85oB/YGuWxM9t3ymJOmM4FucgoIRJrfEWxe8jU jyPziwisxufXnkzRqM8VjbKQ6KgPvEebzgl+nVoVk0+1HlLxlyGPB66lC g==; X-IronPort-AV: E=McAfee;i="6500,9779,10478"; a="386852591" X-IronPort-AV: E=Sophos;i="5.93,337,1654585200"; d="scan'208";a="386852591" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2022 03:17:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,337,1654585200"; d="scan'208";a="865249540" Received: from lkp-server01.sh.intel.com (HELO c0a60f19fe7e) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 23 Sep 2022 03:17:45 -0700 Received: from kbuild by c0a60f19fe7e with local (Exim 4.96) (envelope-from ) id 1obfke-0005ZE-2K; Fri, 23 Sep 2022 10:17:44 +0000 Date: Fri, 23 Sep 2022 18:17:21 +0800 From: kernel test robot To: Svyatoslav Ryhel , Linus Walleij , Bartosz Golaszewski , Thierry Reding , Jonathan Hunter , Dmitry Osipenko Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-gpio@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/1] gpio: tegra: Convert to immutable irq chip Message-ID: <202209231809.KsxZvnZk-lkp@intel.com> References: <20220922100339.12565-2-clamor95@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220922100339.12565-2-clamor95@gmail.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Svyatoslav, Thank you for the patch! Yet something to improve: [auto build test ERROR on tegra/for-next] [also build test ERROR on brgl/gpio/for-next tegra-drm/drm/tegra/for-next linus/master v6.0-rc6 next-20220921] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Svyatoslav-Ryhel/gpio-tegra-Convert-to-immutable-irq-chip/20220922-180544 base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next config: arm64-randconfig-r013-20220922 (https://download.01.org/0day-ci/archive/20220923/202209231809.KsxZvnZk-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/11723f8236100feb12775c232d66668969dde7fc git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Svyatoslav-Ryhel/gpio-tegra-Convert-to-immutable-irq-chip/20220922-180544 git checkout 11723f8236100feb12775c232d66668969dde7fc # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpio/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/gpio/gpio-tegra.c:616:32: error: use of undeclared identifier 'tegra_gpio_irq_set_wake'; did you mean 'tegra_gpio_irq_set_type'? .irq_set_wake = pm_sleep_ptr(tegra_gpio_irq_set_wake), ^~~~~~~~~~~~~~~~~~~~~~~ tegra_gpio_irq_set_type include/linux/pm.h:439:65: note: expanded from macro 'pm_sleep_ptr' #define pm_sleep_ptr(_ptr) PTR_IF(IS_ENABLED(CONFIG_PM_SLEEP), (_ptr)) ^ include/linux/kernel.h:57:38: note: expanded from macro 'PTR_IF' #define PTR_IF(cond, ptr) ((cond) ? (ptr) : NULL) ^ drivers/gpio/gpio-tegra.c:304:12: note: 'tegra_gpio_irq_set_type' declared here static int tegra_gpio_irq_set_type(struct irq_data *d, unsigned int type) ^ drivers/gpio/gpio-tegra.c:630:32: error: use of undeclared identifier 'tegra_gpio_irq_set_wake'; did you mean 'tegra_gpio_irq_set_type'? .irq_set_wake = pm_sleep_ptr(tegra_gpio_irq_set_wake), ^~~~~~~~~~~~~~~~~~~~~~~ tegra_gpio_irq_set_type include/linux/pm.h:439:65: note: expanded from macro 'pm_sleep_ptr' #define pm_sleep_ptr(_ptr) PTR_IF(IS_ENABLED(CONFIG_PM_SLEEP), (_ptr)) ^ include/linux/kernel.h:57:38: note: expanded from macro 'PTR_IF' #define PTR_IF(cond, ptr) ((cond) ? (ptr) : NULL) ^ drivers/gpio/gpio-tegra.c:304:12: note: 'tegra_gpio_irq_set_type' declared here static int tegra_gpio_irq_set_type(struct irq_data *d, unsigned int type) ^ 2 errors generated. vim +616 drivers/gpio/gpio-tegra.c 609 610 static const struct irq_chip tegra_gpio_irq_chip = { 611 .irq_shutdown = tegra_gpio_irq_shutdown, 612 .irq_ack = tegra_gpio_irq_ack, 613 .irq_mask = tegra_gpio_irq_mask, 614 .irq_unmask = tegra_gpio_irq_unmask, 615 .irq_set_type = tegra_gpio_irq_set_type, > 616 .irq_set_wake = pm_sleep_ptr(tegra_gpio_irq_set_wake), 617 .irq_print_chip = tegra_gpio_irq_print_chip, 618 .irq_request_resources = tegra_gpio_irq_request_resources, 619 .irq_release_resources = tegra_gpio_irq_release_resources, 620 .flags = IRQCHIP_IMMUTABLE, 621 }; 622 -- 0-DAY CI Kernel Test Service https://01.org/lkp