Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5631626pxb; Mon, 28 Mar 2022 15:13:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKPI20h6tbY+uyavxhVvwo6rI2g7UuIioRYHPTlOlqzbpxc7TFaJWNNTYnjfisphZWj/Co X-Received: by 2002:a05:6130:422:b0:359:98ac:abdd with SMTP id ba34-20020a056130042200b0035998acabddmr13315901uab.26.1648505634426; Mon, 28 Mar 2022 15:13:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648505634; cv=none; d=google.com; s=arc-20160816; b=Mz/fRR4RmQvqCM0V1vjmAeylJmPI9928r2aVvmMmTN0NbeB3ilYEyowTd+WmAmLI0P mCLgnJ+BXkH/OWvZjFbstg12X/hZk2oCeNeJP2vCF9pjHJckcbEZPtgKgq6zYFqPmIzi ou/5YKXKCjGEEpXcOEMPZ+r+mjWAQxHVXHvW/a1aYBp6k4C9v7NgCNS5PLX4Mi/PXoLO Za59A6KLGV5RJMh36kuznGIpN4YjiAJhyAwy2EfFHf5m2Fk1ku3lpZqXmPSAZscEJLP2 j7QuuaRGkvwTgKPIGXS4pdB0kEk8qg/6HudWd3E2Z87Qz2XG6DlXpYMmzQ16t7Mc+3qz 1tZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=4ocPIggEgNbhKZGS5mSJpLUGdUWPXJb1uvkari0tv3w=; b=bV7ZzjaYmnRMtMEnE7BteXz0iXab8t/Dg5OFNDoGzfgpxTWS5Xg6OWV+SA/+VR7zGj 2h1gIVkLmBM9g9/xos6l4GD/hFWEVDKCcl1mrG5Pf6onkCmFd3B7uh/bkz89MAvaDWOZ K7hGqws0L3EpVfgtWCN94q7mtRViX15DgeGrW8oQ5le58cwFw01YIL/QFn8FHbukUMOZ i9Kb73sO6cXs6cVvtA1A7iQ6zL4aNBrCJ27x4IO4tlwoDmAW/zlaFQIZ8gv99UwrPwUQ KSYvNx86BZvYD2bIbM/LQy+QZUirtZNueFDKYUuvTRHxXMgPpj9yTJdJ7D5317sfe4Ob DDbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BzkKoipy; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n21-20020ac5c255000000b0033e8317028csi2771418vkk.246.2022.03.28.15.13.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 15:13:54 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BzkKoipy; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CF850170DA8; Mon, 28 Mar 2022 14:33:08 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242287AbiC1MJr (ORCPT + 99 others); Mon, 28 Mar 2022 08:09:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236940AbiC1MJp (ORCPT ); Mon, 28 Mar 2022 08:09:45 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2D02E3192B for ; Mon, 28 Mar 2022 05:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648469284; h=from:from: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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4ocPIggEgNbhKZGS5mSJpLUGdUWPXJb1uvkari0tv3w=; b=BzkKoipyVKA0bn5Ivk9jZ9dObF24DLg9fEFfMs89IHKAlUbABqzAN+Fh6RAcRjuCtex5K6 okxuyba44mhH91KaYF0OU0cfo3zJ2pP419+LyrWVH3j4IG2CUBA0Xa4MIa4TNxaMhFMHqe Fk8D8Vfu7yqj+5q42fNPuPo8ENNa5sk= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-281-vMldH8yRMTahlaPg-QBW3A-1; Mon, 28 Mar 2022 08:08:02 -0400 X-MC-Unique: vMldH8yRMTahlaPg-QBW3A-1 Received: by mail-ej1-f70.google.com with SMTP id nd34-20020a17090762a200b006e0ef16745cso1324984ejc.20 for ; Mon, 28 Mar 2022 05:08:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=4ocPIggEgNbhKZGS5mSJpLUGdUWPXJb1uvkari0tv3w=; b=UThMKoux5QaofqJ1oX3HBnAbzuUntzYcyvkFR+O3c/ilBJJBtwewKpYPYOaFNEuhs0 xH+imcuXpkH/O71bwRwf4UjPimqXoeLgvrA75O+iQR96xrhRMbGQubqv5mhYUZL/nRpQ swFhF1dGTxp6JUDvpamH3S+QQGrSXIfENqEgz7A4rSXtNPf32KLkosN69hXIEemtLCz5 mFAuuwIo7Po4OUYmaHPTUIbv7AplGLtMOoFAefMpqWN4IMj4J2qLg9pAXh2mioZJZBrD 3S1arJxFl+SN9Tl2n2MZScoIxbjwbx7DCeA9S22nqlWvJTPTOBErKTEcnlwDeDdCU4gF DfnQ== X-Gm-Message-State: AOAM53326ft+KElDqJ6XdIIMVW+nj5MjZI/yvAljZI8F1Tm88FnpKo5T SG+EhxygHCpFWx2f/EIapKcxAQ+yreyXBrJ/kqKAgjWnauI3Lf3+y1rQhK6GFKx05Fb2d1o3npy GM2k0IKYXegOCuafRNnVYOqSt X-Received: by 2002:a17:907:3f18:b0:6e0:df2d:c76a with SMTP id hq24-20020a1709073f1800b006e0df2dc76amr12191898ejc.55.1648469281300; Mon, 28 Mar 2022 05:08:01 -0700 (PDT) X-Received: by 2002:a17:907:3f18:b0:6e0:df2d:c76a with SMTP id hq24-20020a1709073f1800b006e0df2dc76amr12191871ejc.55.1648469281024; Mon, 28 Mar 2022 05:08:01 -0700 (PDT) Received: from [10.40.98.142] ([78.108.130.194]) by smtp.gmail.com with ESMTPSA id e22-20020a170906505600b006da7d71f25csm5868400ejk.41.2022.03.28.05.08.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Mar 2022 05:08:00 -0700 (PDT) Message-ID: Date: Mon, 28 Mar 2022 14:08:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH v4 3/4] input/i8042: Add debug output for quirks Content-Language: en-US To: kernel test robot , Werner Sembach , dmitry.torokhov@gmail.com, tiwai@suse.de, mpdesouza@suse.com, arnd@arndb.de, samuel@cavoj.net, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org References: <20220322162125.59838-4-wse@tuxedocomputers.com> <202203230435.z5FH2fWa-lkp@intel.com> From: Hans de Goede In-Reply-To: <202203230435.z5FH2fWa-lkp@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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, On 3/22/22 21:50, kernel test robot wrote: > Hi Werner, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on dtor-input/next] > [also build test ERROR on v5.17 next-20220322] > [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] > > url: https://github.com/0day-ci/linux/commits/Werner-Sembach/input-i8042-Move-__initconst-to-fix-code-styling-warning/20220323-012205 > base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next > config: ia64-defconfig (https://download.01.org/0day-ci/archive/20220323/202203230435.z5FH2fWa-lkp@intel.com/config) > compiler: ia64-linux-gcc (GCC) 11.2.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://github.com/0day-ci/linux/commit/d92be72641d5753be3aa94fe5961e2dbe2b5bdc9 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Werner-Sembach/input-i8042-Move-__initconst-to-fix-code-styling-warning/20220323-012205 > git checkout d92be72641d5753be3aa94fe5961e2dbe2b5bdc9 > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot i8042_dritek is only defined when building on x86, I would solve this by moving the new pr_debug to inside i8042_check_quirks(); The i8042_nopnp not being defined order is slightly tricker, you can more or less cleanly fix this by doing this at the end of i8042_check_quirks() and then put the new pr_debug after this: #ifdef CONFIG_PNP if (quirks & SERIO_QUIRK_NOPNP) i8042_nopnp = true; #else #define i8042_nopnp 0 #endif Regards, Hans > > All errors (new ones prefixed by >>): > > In file included from include/asm-generic/bug.h:22, > from arch/ia64/include/asm/bug.h:17, > from include/linux/bug.h:5, > from include/linux/thread_info.h:13, > from include/asm-generic/preempt.h:5, > from ./arch/ia64/include/generated/asm/preempt.h:1, > from include/linux/preempt.h:78, > from include/linux/rcupdate.h:27, > from include/linux/rculist.h:11, > from include/linux/pid.h:5, > from include/linux/sched.h:14, > from include/linux/delay.h:23, > from drivers/input/serio/i8042.c:12: > drivers/input/serio/i8042-x86ia64io.h: In function 'i8042_platform_init': >>> drivers/input/serio/i8042-x86ia64io.h:1511:17: error: 'i8042_dritek' undeclared (first use in this function); did you mean 'i8042_direct'? > 1511 | i8042_dritek ? " dritek" : "", > | ^~~~~~~~~~~~ > include/linux/printk.h:418:33: note: in definition of macro 'printk_index_wrap' > 418 | _p_func(_fmt, ##__VA_ARGS__); \ > | ^~~~~~~~~~~ > include/linux/printk.h:132:17: note: in expansion of macro 'printk' > 132 | printk(fmt, ##__VA_ARGS__); \ > | ^~~~~~ > include/linux/printk.h:576:9: note: in expansion of macro 'no_printk' > 576 | no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) > | ^~~~~~~~~ > drivers/input/serio/i8042-x86ia64io.h:1497:9: note: in expansion of macro 'pr_debug' > 1497 | pr_debug("Active quirks (empty means none):%s%s%s%s%s%s%s%s%s%s%s%s%s\n", > | ^~~~~~~~ > drivers/input/serio/i8042-x86ia64io.h:1511:17: note: each undeclared identifier is reported only once for each function it appears in > 1511 | i8042_dritek ? " dritek" : "", > | ^~~~~~~~~~~~ > include/linux/printk.h:418:33: note: in definition of macro 'printk_index_wrap' > 418 | _p_func(_fmt, ##__VA_ARGS__); \ > | ^~~~~~~~~~~ > include/linux/printk.h:132:17: note: in expansion of macro 'printk' > 132 | printk(fmt, ##__VA_ARGS__); \ > | ^~~~~~ > include/linux/printk.h:576:9: note: in expansion of macro 'no_printk' > 576 | no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) > | ^~~~~~~~~ > drivers/input/serio/i8042-x86ia64io.h:1497:9: note: in expansion of macro 'pr_debug' > 1497 | pr_debug("Active quirks (empty means none):%s%s%s%s%s%s%s%s%s%s%s%s%s\n", > | ^~~~~~~~ > > > vim +1511 drivers/input/serio/i8042-x86ia64io.h > > 1494 > 1495 i8042_check_quirks(); > 1496 > 1497 pr_debug("Active quirks (empty means none):%s%s%s%s%s%s%s%s%s%s%s%s%s\n", > 1498 i8042_nokbd ? " nokbd" : "", > 1499 i8042_noaux ? " noaux" : "", > 1500 i8042_nomux ? " nomux" : "", > 1501 i8042_unlock ? " unlock" : "", > 1502 i8042_probe_defer ? "probe_defer" : "", > 1503 i8042_reset == I8042_RESET_DEFAULT ? > 1504 "" : i8042_reset == I8042_RESET_ALWAYS ? > 1505 " reset_always" : " reset_never", > 1506 i8042_direct ? " direct" : "", > 1507 i8042_dumbkbd ? " dumbkbd" : "", > 1508 i8042_noloop ? " noloop" : "", > 1509 i8042_notimeout ? " notimeout" : "", > 1510 i8042_kbdreset ? " kbdreset" : "", >> 1511 i8042_dritek ? " dritek" : "", > 1512 i8042_nopnp ? " nopnp" : ""); > 1513 > 1514 retval = i8042_pnp_init(); > 1515 if (retval) > 1516 return retval; > 1517 >