From nobody Wed Feb 11 06:30:19 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 C65671DE4E0 for ; Sat, 17 Jan 2026 21:58:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768687110; cv=none; b=SSuhFvvFyVO0PtxW9R5xadGUZRlGahc1SFSRUf/PMnCAFsYqtLksPy5P9UqrISzKpcUVk6ZVYaaTJSV8U40cdlpAVu1VEOM7lqEy78IF/COzJu+9TG6pSWzUIWAaVFDJ6IgfJwkZaQLVItvZN0p3SABe/wDESSJzsJgv6txq1eg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768687110; c=relaxed/simple; bh=R6EpA7CRalMI4+pz3jwoYrOluQFMJzl9jBx4z6nGCCA=; h=Date:Message-ID:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=TeA5abQW6vVs0XAQcgux5SX4bG0am4QmxgVNxsgKcDImvaQ+1hp6AwqqzVYF0m4LaadA6t4vMg8VWy/iKUk5nK8lXoXHQiQKp9uN0sG6Rv6i6zoEiMrwna4/pIx8uVOJICF44dLT4CeMteDnbXk3zIu4H2N/O0KSec4NkP9lsbg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=linutronix.de; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Sat, 17 Jan 2026 22:58:27 +0100 Message-ID: <20260117215542.405790227@kernel.org> From: Thomas Gleixner To: LKML Cc: x86@kernel.org, =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Subject: [patch 2/2] x86/vdso: Prevent empty switch case warning References: <20260117215257.601937692@kernel.org> 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" Sparse complains rightfully when CONFIG_PARAVIRT_CLOCK and CONFIG_HYPERV_TIMER are both not set: arch/x86/entry/vdso/vma.c:94:9: warning: switch with no cases Add a default case to fix that. Signed-off-by: Thomas Gleixner --- arch/x86/entry/vdso/vma.c | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/x86/entry/vdso/vma.c +++ b/arch/x86/entry/vdso/vma.c @@ -114,6 +114,8 @@ static vm_fault_t vvar_vclock_fault(cons break; } #endif /* CONFIG_HYPERV_TIMER */ + default: + break; } =20 return VM_FAULT_SIGBUS;