Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp868507lqp; Thu, 23 May 2024 02:25:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmIsvviG2D3h4enZuCWWhOh/Vfl1NU5sgFmfNE+UYPEw70YMOXL4BcZc+1BO5sta4R4cij1naiY45okuQX6tqYANUvuYnQd962xssxJQ== X-Google-Smtp-Source: AGHT+IEnDAua0ySuMaLrMiqtgjiA5BY0W+O8Ah9zX3pEMXjd5GHq49WdRffS3NocBg7kXRwAyXdb X-Received: by 2002:a17:907:111a:b0:a59:bc75:5000 with SMTP id a640c23a62f3a-a622805e847mr250427266b.12.1716456336628; Thu, 23 May 2024 02:25:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716456336; cv=pass; d=google.com; s=arc-20160816; b=FSnXEE4bXBGC+6qF5KwH0FvBgpnjaP+D6M0sYn3lO8cS/WmJWKSj5WPj7U1IA75kNI +uJjv1g7G77mnnMDJQeyoWAvYBBpjoSZ0gMWuITl8R5LSTZk105FCjgGZMxUHMm3Lr2E jSx91ivSn1UmZJjm3NqLtFeI5RTM5dDnFY8f2n4RRWvRzl56ymfpZd8MrcMmyJ+eAsUs d0mVzUF7ef3qDYRHaqGu/vGERJEYKcA3jIz7ONcl+Pu6RZ48W9kUDw7ELR/Q/KNdhbd1 NmbRPZCxHfiuN6A4r9am2IGrwUMSOxhc6Y8vZe6V3rrftnf8lPNbj8yc+myThagH+bqF Li8A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date; bh=csZHD+MY681uIAIqRhkY0Hc8/9PBmQtMvWTah82XC3g=; fh=7j81s8O5hMy261/O/GgSRi0ag+TG7ZjIi9difmONhZI=; b=V0yAL2OSq1KwtgBRPQrM3PTPxt9iPG/9cGqXd5jtRBUEMHyuznhsEAWZhkRsiPODS2 DNoM9+n/7e68dPABj65RYy2aFeQ50Mx0HRJAzDRrH1SvVbKd/SbdMowcpeqFiTOSUOO1 A2xOFti3rQoTwFM2dKPVzc7mj0RFwEdi4SGSnQSN7Ip3zNCchRtxLBouhMDfp0C1sCbw Hl8Geghz+mCrvpibH8W9Jw8LFO0W/U89990Lx542PAupON4nBfTc2/PfI+WmE+Hdk7Pl D/W/eq3Yt8oXiRTOU0nGpAA+i3aLsbgWGAshiczZMRH9BWr82UuA8efoRZuJvBWwj46R +lrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=altlinux.org); spf=pass (google.com: domain of linux-kernel+bounces-187258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187258-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17be657csi1573834266b.732.2024.05.23.02.25.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 02:25:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=altlinux.org); spf=pass (google.com: domain of linux-kernel+bounces-187258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187258-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5ECC41F23A5C for ; Thu, 23 May 2024 09:25:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DEDE13D60E; Thu, 23 May 2024 09:23:21 +0000 (UTC) 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-kernel@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