From nobody Mon Sep 28 13:19:47 2026 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 EFB0A3D5652 for ; Fri, 21 Aug 2026 09:29:55 +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=1787304604; cv=none; b=Uzfr2g0Y2svL9IsrYHAiWFNPZSCecjqLxCPsXM1cSjc3AJvkf6aNFSZW0SwOtRs4hn913NmMiJ7lHXumo9fkPkxLIJjpOhS17HBSpShbWLJ6imDCIKPAI2B1bkgsuhU3HNWnLDqbRxG/MMoXZcY6I/MIX8rFXVl0NfDqvMDgU+Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787304604; c=relaxed/simple; bh=vrr1+b6dYSxQu8LoK7cD7xtSGCIEyYm4Bek2/2Rgma4=; h=Date:From:To:cc:Subject:Message-ID:MIME-Version:Content-Type; b=e/aaCrWbhbFLsnXNbvOyHq2T9FFa2lO8xSExQkBmIiOMJRQtvRyO3JO3Ff5fDSltW9OCc/6ybFozReqNONrRyU1CsdFn1tU79evJPGFSjZRE6mAcNjFrjpQNRfgDrXTE5i5ZnuJW8lhkYcARwtWXBixYRdkGZHOm3/GzIlSAHZQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UkHP1I67; 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="UkHP1I67" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 555E41F00A3A; Fri, 21 Aug 2026 09:29:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1787304593; bh=StL6cfgj3gZ9ry563IrySbM5CUGWh6HbslEmSSZmo+s=; h=Date:From:To:cc:Subject; b=UkHP1I67KltDk/wBXqj6OSFcfkve7AvqMdszgxusqU4XgeRdnZVrWPyfiPM/5MQU/ EmQDqTk1glGAgw6RDGYZv9bQ58BhxKoaceS7zV8zzUF3bDeYcnppSJXGPBxsBo7EIN pn2ivKo80S+TRlKTFjntBviFiSY191x/RJZuyC1qMx9wv9GnK5Mw11oxOQolJa3vfk 7wg44uqvGEHC7j1GSkBM0fid0v3WwCWr9YIO4MzSMe0h/Sd52/N8B5ri6+4YTpdCkC rTQrr3ifjZWkYscaT3HfMV9hijKxsiMVMjmuUo2E+OfHKaiLO0IwmHY83SKRhXTgCA uvNvUfE9Xad2A== Date: Fri, 21 Aug 2026 11:29:51 +0200 (CEST) From: Jiri Kosina To: Benjamin Tissoires , Michael Bommarito cc: linux-kernel@vger.kernel.org Subject: [PATCH] HID: hyperv: fix build breakage with certain configs Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Jiri Kosina If CONFIG_HID_HYPERV is built-in (=3Dy) while CONFIG_KUNIT is either=20 disabled (=3Dn) or built as a module (=3Dm), the linker fails to resolve=20 kunit_mem_assert_format when creating vmlinux. Fix the dependencies in Kconfig. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202608190536.d9qCkWWc-lkp@int= el.com/ Fixes: 83df7b5fa6735b5084ecd2 ("HID: hyperv: add KUnit coverage for device = info bounds") Signed-off-by: Jiri Kosina Acked-by: Benjamin Tissoires --- 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 =20 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 =3D KUNIT || KUNIT =3D y) default KUNIT_ALL_TESTS help Builds unit tests for the Hyper-V synthetic HID driver. --=20 Jiri Kosina SUSE Labs