Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2462977rwl; Fri, 6 Jan 2023 06:49:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXs16OJMJRik6whUN4TKYw+Volhqh3KCfOhkKcTOQdd6wYgwjsZStWfBjObIF0eXUqzU2dY/ X-Received: by 2002:a05:6402:685:b0:46c:e558:ce60 with SMTP id f5-20020a056402068500b0046ce558ce60mr48051280edy.22.1673016578787; Fri, 06 Jan 2023 06:49:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673016578; cv=none; d=google.com; s=arc-20160816; b=jGphh8zTMx7byuxt8Vj3LtUvbkQdl+BqjVUSJRxEJVxB0lIxfyWfVpC7MGEJJlMeqt O+RZ4icA/7R9eNxEGV5uc4bBiR+O7uo86cDFqc/B09avr3kBLLhVofKydfRwDYZ3nPfr CqrcWohaqsmgyaCntyT/ofPUYrRGW8qBFXqIVgmUrGsc8Rw1ea1ggTdzQBKVYKVkMaRi Nv6Llxvz7SeoFwRdNiVp9R0H3BIU+ZKf6iRSKAysaWR72iz82kewywSME9fSWskEitxe ZjCGGaIN5FDdgshrjS4oMaVo0MzguxP1JMqOSs5Q7Tta3QG/CcjMb+YWaPnpz48y32kx BSjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=P/zfGuEErfx9YxOb8v5xGvNVY0pRdOYDG3xC/nVLZ30=; b=pbDsxji7kzBnCC1/xalVsx1YgrBIoNsKAW7D1vx3BL1JlLtisZbHNuJVaqLgAs+gNK BHpwRCxwGNl9+pUsxY3AuzTE+ev4e0ZeuaYjBdrIxKMYYsgfsd2pRPifEfXOAnpEv6sZ /dS2YS+QyialRqx/gkiuctsILt405IHYdPamD+m1wyQCy3kpo5qItuKyDxR45pZAlj6S ySliVuYqXLrSvZmbQXvDnFBprE7pyzR95ysC7gEUERuoGDb53zfSPky4zIrB1YDnrDMK LVI6a/QMUEZiqe9t3SZQceoNqXvUyQQ+laRm7LqlZoWy9mV+YIJIeaKSFQOy9w+DMj3X 8KRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LzahyLOi; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m16-20020a056402051000b00494239f76f0si1547166edv.558.2023.01.06.06.49.25; Fri, 06 Jan 2023 06:49:38 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=LzahyLOi; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233870AbjAFOiP (ORCPT + 54 others); Fri, 6 Jan 2023 09:38:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229969AbjAFOiM (ORCPT ); Fri, 6 Jan 2023 09:38:12 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8B538099B for ; Fri, 6 Jan 2023 06:37:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673015846; 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: in-reply-to:in-reply-to:references:references; bh=P/zfGuEErfx9YxOb8v5xGvNVY0pRdOYDG3xC/nVLZ30=; b=LzahyLOiYxfBw8+iz6KJdvbXLzxyGKM38tJXuvZ99jWXkRaa/pWiyWxnw96ad3VDUa2eXu 7q4jlekkasA/LqLYg9M/U5fpDBPx9jLNVaQku8V76TftuHrNV3w7hQrjxJbj82bVr65Szq yH27ihWZYsAqqHcHol1SvEh7iCg56mw= Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-47-Ev5Tegd2NiyPhZHz0KIywQ-1; Fri, 06 Jan 2023 09:37:25 -0500 X-MC-Unique: Ev5Tegd2NiyPhZHz0KIywQ-1 Received: by mail-il1-f197.google.com with SMTP id s2-20020a056e02216200b0030bc3be69e5so1207253ilv.20 for ; Fri, 06 Jan 2023 06:37:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=P/zfGuEErfx9YxOb8v5xGvNVY0pRdOYDG3xC/nVLZ30=; b=Ittx8lueZuOf1ruxV8ko5FEG5fcjTtslW10gizTJrb9n8QsFeamnQjYSG/ScfdQWCE oFLK7VlVyZks75/zve1mIizNz//iQs0rR9pOu33LbOuvx5E7nwbuwlvD9zEfSpz0Mkvc NmhsBK2yUn104q3ok/pdvUgU8Sz+CTj4v5t+aOzApptWnxrjXJ7rtykzI7hwGS2FSh4z Vfy455nss6BKWdnmACrA5T9yZUFTnnd9NfOZhKf5OcwPxhYDMyO++9vgACscOCzcGaVD FW/Y9+DusqJAreaJRQr8PYwgwiAzz2L/gSiG2ePQwjyX144QqnX4BwKlYr3gWsm6aQmV 6L2A== X-Gm-Message-State: AFqh2kqxuK7U/E/cSBplvVPpNdzGHBNvdqFtShZLlGxHSbh0p/MQXTHK P0PgezFesGYxOgpSnuHiz4Co2rHnqR4Ionmhg8ev3zevC7NZBjoZPw24ym2Flfl42bRipKn81QD UcUuua8J9YZTTAUt1SXkxAnJh6HQD2vaMdK8xxzaC X-Received: by 2002:a02:54c7:0:b0:38a:757f:dac9 with SMTP id t190-20020a0254c7000000b0038a757fdac9mr4442640jaa.84.1673015844320; Fri, 06 Jan 2023 06:37:24 -0800 (PST) X-Received: by 2002:a02:54c7:0:b0:38a:757f:dac9 with SMTP id t190-20020a0254c7000000b0038a757fdac9mr4442635jaa.84.1673015844043; Fri, 06 Jan 2023 06:37:24 -0800 (PST) MIME-Version: 1.0 References: <20230106102332.1019632-9-benjamin.tissoires@redhat.com> <202301062140.zfdqzE9b-lkp@intel.com> In-Reply-To: <202301062140.zfdqzE9b-lkp@intel.com> From: Benjamin Tissoires Date: Fri, 6 Jan 2023 15:37:12 +0100 Message-ID: Subject: Re: [PATCH HID for-next v1 8/9] HID: bpf: clean up entrypoint To: kernel test robot Cc: Greg KH , Jiri Kosina , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Dmitry Torokhov , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Tero Kristo , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,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 On Fri, Jan 6, 2023 at 2:42 PM kernel test robot wrote: > > Hi Benjamin, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on hid/for-next] > [also build test WARNING on next-20230106] > [cannot apply to shuah-kselftest/next shuah-kselftest/fixes char-misc/char-misc-testing char-misc/char-misc-next char-misc/char-misc-linus linus/master v6.2-rc2] > [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/Benjamin-Tissoires/selftests-hid-add-vmtest-sh/20230106-182823 > base: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-next > patch link: https://lore.kernel.org/r/20230106102332.1019632-9-benjamin.tissoires%40redhat.com > patch subject: [PATCH HID for-next v1 8/9] HID: bpf: clean up entrypoint > config: i386-randconfig-a013 > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > 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/intel-lab-lkp/linux/commit/46336953b47885c5111b7c1a92403b3d94cf3d41 > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review Benjamin-Tissoires/selftests-hid-add-vmtest-sh/20230106-182823 > git checkout 46336953b47885c5111b7c1a92403b3d94cf3d41 > # 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=i386 olddefconfig > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/hid/bpf/ > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> drivers/hid/bpf/hid_bpf_jmp_table.c:502:6: warning: no previous prototype for function 'call_hid_bpf_prog_put_deferred' [-Wmissing-prototypes] > void call_hid_bpf_prog_put_deferred(struct work_struct *work) > ^ > drivers/hid/bpf/hid_bpf_jmp_table.c:502:1: note: declare 'static' if the function is not intended to be used outside of this translation unit > void call_hid_bpf_prog_put_deferred(struct work_struct *work) > ^ > static > 1 warning generated. > > > vim +/call_hid_bpf_prog_put_deferred +502 drivers/hid/bpf/hid_bpf_jmp_table.c > > f5c27da4e3c8a2 Benjamin Tissoires 2022-11-03 501 > 0baef37335dd4d Benjamin Tissoires 2022-11-03 @502 void call_hid_bpf_prog_put_deferred(struct work_struct *work) > f5c27da4e3c8a2 Benjamin Tissoires 2022-11-03 503 { > ade9207f04dc40 Benjamin Tissoires 2023-01-06 504 /* kept around for patch readability, to be dropped in the next commmit */ > f5c27da4e3c8a2 Benjamin Tissoires 2022-11-03 505 } > f5c27da4e3c8a2 Benjamin Tissoires 2022-11-03 506 > Oops, this function should have been dropped in 8/9 "HID: bpf: clean up entrypoint". It's now dead code. I'll fix it in v2. Cheers, Benjamin > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests