From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vmicros1.altlinux.org (vmicros1.altlinux.org [194.107.17.57]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7AD6D13D517; Thu, 23 May 2024 09:23:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.107.17.57 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716456201; cv=none; b=IeOYvQQriOnQpCcrFne6D+Yaf9WQTmFCSo6rcfQn3AVgUzFW06FFbRL5pTUIkKEUw1qUrvuox5Zmed7Bxer6y2X2dnoCboqHAxZLORLcZ2IfwgexUIVy5wm3SLTULVKPbetWunqOMHSIs+V7gHex/0bBN58PSFT6uPKzKCEbNzU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716456201; c=relaxed/simple; bh=sSl4mdMNsQfCaeLKfYHltVf4jsmx6GOt1H4ZYsJwLU4=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=mZSml2izJydfogB7yhzeoIRU2z3uiO8TrtjNJu7VGcUwFKHiNjRS0AXUc/REmf/ZuqKfUulWbpTQlRr9S9cqwrn1B7cOvfRTuQljs2oavdNULJXDhhGKlx1RMxkLYJuZrhUJMGY42OciRwLL+Uu4h1+HH5Lvgl4a5OiuZ5OdkAQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strace.io; spf=pass smtp.mailfrom=altlinux.org; arc=none smtp.client-ip=194.107.17.57 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strace.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=altlinux.org Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 2029972C8F5; Thu, 23 May 2024 12:23:11 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 072C67CCB39; Thu, 23 May 2024 12:23:10 +0300 (IDT) Date: Thu, 23 May 2024 12:23:10 +0300 From: "Dmitry V. Levin" To: Greg Kroah-Hartman Cc: Alexey Gladkov , Jiri Slaby , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] uapi: linux/kd.h: include missing header Message-ID: <20240523092310.GA31777@altlinux.org> Precedence: bulk X-Mailing-List: linux-api@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Given that linux/kd.h now uses macros defined in linux/ioctl.h, do not rely on that header being already included by linux/kd.h users and include linux/ioctl.h explicitly. This bug was found by strace CI. Fixes: 8c467f330059 ("VT: Use macros to define ioctls") Signed-off-by: Dmitry V. Levin --- include/uapi/linux/kd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/kd.h b/include/uapi/linux/kd.h index 8ddb2219a84b..8fcce939ba25 100644 --- a/include/uapi/linux/kd.h +++ b/include/uapi/linux/kd.h @@ -3,6 +3,7 @@ #define _UAPI_LINUX_KD_H #include #include +#include /* 0x4B is 'K', to avoid collision with termios and vt */ #define KD_IOCTL_BASE 'K' -- ldv