Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6631754rwr; Tue, 2 May 2023 03:19:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4gutFspGYE1IjBLPmdGrAUYKh4xzMnuRRPJbXSqkkIBJlZv4OwFmpQ8YKQto+h5u81R8+Y X-Received: by 2002:a17:903:41c5:b0:1aa:dd14:da98 with SMTP id u5-20020a17090341c500b001aadd14da98mr12187657ple.50.1683022792568; Tue, 02 May 2023 03:19:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683022792; cv=none; d=google.com; s=arc-20160816; b=09/AlKSQ9F2CaomdNAbftW9osOi2jKtAvr7NluUOWFC+3jKFQwn81+ukBjI3Bc28n8 toQbXj51kDsOxa4fmSK9uVYnOHl1Ta8QkmuCKy2OWrkpVcebcbFtVX661+WFiW2/1+vR 4/HF2u4nUUdOMOWwm7/O3/Zb0IlgBKTp41Gk+cSO99enkBQw5Q9JvoraL75vEM3zsYqv Io/RhKkZi9Y5F5+hJHwpY5t7bLPDNsDV8pT0fIDcH1kQYFHpt7wmt5d27S4ALl0V9+R5 mHNOLl++RqhdXql3rOrPiWYb55EK9PiWhKJw08zdTdXd5iHwG4lKG2EHyCGGhNLw2z96 C5zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=6UncpfgYEfLSyYaTksYn8se/MEGlKNTIJZC1RB9fxqw=; b=SmATdfrTN23BR/0DA3MxgmV+I0LjMlENSju5iVMWtcpYWBNovJn3CTStdTqCi607UF nYbWL/11cLC1W7eB/X5CZYRSRL3SJt8dMitN8mqTEDkhbAyoY0V4eUJqF3m1rwhf7+rz EqMABZACHEFyyYq3Pst3cAebyf9PmuyIdoFw3DYtPOFb66EPUeBlqb8Sf+E4HZsHBLl4 xqRP7neEgMRaHniT1r1kA9jCJ8aUKoux2ffepAbpwY2YZbGEtBsFcxjPY113s8DJH6g6 hwNqFLpbAY7Nl4puPlNe+EVHSgj5uLHpUu3s28Tbc0x5Xkp9y5s7FrXdDxovBc5xPp7m dLZw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b1-20020a170903228100b001a63d07af3csi29135109plh.41.2023.05.02.03.19.38; Tue, 02 May 2023 03:19:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233773AbjEBKR0 (ORCPT + 99 others); Tue, 2 May 2023 06:17:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233373AbjEBKRS (ORCPT ); Tue, 2 May 2023 06:17:18 -0400 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4746830FD for ; Tue, 2 May 2023 03:17:12 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed30:f07a:92a2:297:162b]) by baptiste.telenet-ops.be with bizsmtp id rmHA290065FQxRj01mHA2s; Tue, 02 May 2023 12:17:10 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1ptn4D-000ymU-UK; Tue, 02 May 2023 12:17:10 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1ptn4H-00AtQ3-Sh; Tue, 02 May 2023 12:17:09 +0200 From: Geert Uytterhoeven To: Dmitry Torokhov , Javier Martinez Canillas , Brendan Higgins , David Gow Cc: linux-input@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 0/2] Input: tests - miscellaneous fixes Date: Tue, 2 May 2023 12:17:01 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This patch series fixes a crash in the new input selftest, and makes the test available when the KUnit framework is modular. Unfortunately test 3 still fails for me (tested on Koelsch (R-Car M2-W) and ARAnyM): KTAP version 1 # Subtest: input_core 1..3 input: Test input device as /devices/virtual/input/input1 ok 1 input_test_polling input: Test input device as /devices/virtual/input/input2 ok 2 input_test_timestamp input: Test input device as /devices/virtual/input/input3 # input_test_match_device_id: ASSERTION FAILED at # drivers/input/tests/input_test.c:99 Expected input_match_device_id(input_dev, &id) to be true, but is false not ok 3 input_test_match_device_id # input_core: pass:2 fail:1 skip:0 total:3 # Totals: pass:2 fail:1 skip:0 total:3 not ok 1 input_core Thanks! Geert Uytterhoeven (2): Input: tests - fix use-after-free and refcount underflow in input_test_exit() Input: tests - modular KUnit tests should not depend on KUNIT=y drivers/input/Kconfig | 2 +- drivers/input/tests/input_test.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.34.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds