From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD52C474246 for ; Fri, 21 Aug 2026 13:00:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787317236; cv=none; b=UKBSh0sJbIP8HuQABYP/yZofcYFj2puu74Cxb6G5YGOhQcNkxbhoBv6sw/mWzqWOTb/sLmBGIIQcSPKfWQc22h301OaRSYceGLFlGwDlvHMoAWeJpBmEHteyhqTM7ahAzA3Poo75P65XKImx3Bc494ZGF6CEHTkp//fj1Y+QrRM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787317236; c=relaxed/simple; bh=kPCn3dWJ5KuWCcDwJDLBX5t/ODfNjbsOa9E0wKk3/wE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qk/5ujQjh6/5RkYdnjTwFo3wm91382JtjIUkaFN8edfGAwoN9JsmllTM8/Qsvgzu6DRwXeumaOFNBX1j/AUZRDbDFzhAeIbOqtjlgqE5tFsSLlgnp41TuPmTzBL0SeI8v2cdjCZlvimTqrft9+6WSsrRP24+Sse1psL45XJQkmo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=m0k0JUuL; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="m0k0JUuL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CCDF1F000E9; Fri, 21 Aug 2026 13:00:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1787317235; bh=c1NNODPLJBjmpZk10g8VNL5MHjtNiApuUQRI6l6Ai5g=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=m0k0JUuLzeJc5PU/Ghcm15h6F/+jI7tJtKnVtgo2H3ycXqeINkHyJFmMucyPWtBfW GZb+VjcQRkcsmBxShETQ1VO9SJqHs9CwScilxbO7znlV8TwL/AHOVqhLIsUzIplQ98 v5EwMz//rhNqqZ+gNKpblVdfHC7V5yBLvraPJYehCSG89jKhP3BuzxDsLJdFDDLqa9 IJBVI/UZxEBqmFVoWZ0jNe1t2t75/3YlE8VnNV0tykwHEBt5/kEat1HYZ+I9KviNY2 rLd2tXG0oxLa2J/K1+QHargvS60TDqY6xsodqsiWEr5O4cH/obQCKGCoUWZbjs2A6T dKmQDK95dKarQ== Date: Fri, 21 Aug 2026 15:00:31 +0200 From: Benjamin Tissoires To: Jiri Kosina Cc: Michael Bommarito , linux-kernel@vger.kernel.org Subject: Re: [PATCH] HID: hyperv: fix build breakage with certain configs Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Aug 21 2026, Jiri Kosina wrote: > From: Jiri Kosina > > If CONFIG_HID_HYPERV is built-in (=y) while CONFIG_KUNIT is either > disabled (=n) or built as a module (=m), the linker fails to resolve > kunit_mem_assert_format when creating vmlinux. I believe the commit description is wrong here. If CONFIG_KUNIT=n, because HID_HYPERV_MOUSE_KUNIT_TEST `depends on KUNIT`, there is no issue. That being said, this is just the commit description which is wrong, the code looks good to me. With that fixed: Acked-by: Benjamin Tissoires Cheers, Benjamin > > Fix the dependencies in Kconfig. > > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202608190536.d9qCkWWc-lkp@intel.com/ > Fixes: 83df7b5fa6735b5084ecd2 ("HID: hyperv: add KUnit coverage for device info bounds") > Signed-off-by: Jiri Kosina > --- > drivers/hid/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig > index aa7fa11a0197..a81bf51cbcf1 100644 > --- a/drivers/hid/Kconfig > +++ b/drivers/hid/Kconfig > @@ -1253,7 +1253,7 @@ config HID_HYPERV_MOUSE > > config HID_HYPERV_MOUSE_KUNIT_TEST > bool "KUnit tests for Hyper-V mouse driver" if !KUNIT_ALL_TESTS > - depends on KUNIT && HID_HYPERV_MOUSE > + depends on KUNIT && (HID_HYPERV_MOUSE = KUNIT || KUNIT = y) > default KUNIT_ALL_TESTS > help > Builds unit tests for the Hyper-V synthetic HID driver. > -- > Jiri Kosina > SUSE Labs > >