Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp869947lqp; Thu, 23 May 2024 02:29:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVzF2LIwZuUGNwMvT35wi7+6Pgi0UYy5sUdjEpbd1urM8taV8PHRPVjsnkDr67ZyCFGSJ7cbZMO7iGQWUaKFAelqm1DVDhMuH7vO34qGw== X-Google-Smtp-Source: AGHT+IGza+Ak3THix36Xe/e4xcgIHverr8bQyc/B0pz/h+UV7W6T35aHzFrvKxic2qbTEE1Zy/Di X-Received: by 2002:aca:1106:0:b0:3c9:6783:e238 with SMTP id 5614622812f47-3cdb60f0b4bmr4366380b6e.13.1716456573645; Thu, 23 May 2024 02:29:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716456573; cv=pass; d=google.com; s=arc-20160816; b=mBHShY0yTwSsQA1JNk8qxC6MHjAHZCuvwLtiW0RFPR+bjiGOOpXyXlYng9EHiEWe3R 6NonSTIajMZLzqo9yYl1N8mRGH2tlcJe+BA1q0zClL9njhLIOk6y76ksrppwkFE8RTu+ osKKsqgfizkRTCM86NQ8INKhIFqzjG2+I9/QaKl3pQ3k+FSLoV4bw7MCLnOwzHfyrtfN InWjBuJ4G5kMP22qpGVLWkgMMIRWtGsL0oxVRYyG5bzZIKAMpF0x+/ZrxRkFZBP4KK2A lrsNhcdtce/SXI+iyYpevEi7Pw8z86vDdchZCIowQ364301Gj2kDosdpZRBJvuIbR5DW 4DnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=C+2qHWixpZjTLIp4LTUrdxV5G5auVWd3Yv0QJjiNEEY=; fh=IJ9rw8TpyzidCPgaQowLpLsPncTQmWnum9dTGTEpYA0=; b=iXrruT63bCa9qXbjZCMprAiWG8P5RDSqWqKVaiwbU4eV/pCleJ8O9zbon5arVdv2hX 49mZfRYPpB7bDSJxNzHbcLca/stdnTU/pa6FNQQrvQ9O5II3nOPRFM2xwvCu+EGkzapD erbCZF5Mv/hYbhiS3yhNM/vr50nZC65G5Gx2epQjFMPVjRbRr6KkuT8l0UKHxhwk9PWc GqqmSxHG2Dou2w1//cbTUEeBks/8yTiRzNCyGWXWhutnvUgIKqkoIzl8G93LguLHygO2 U4OVqhzeCuRIneY+RPmRUs6Y0r1SBXCLsx5cOkU71aTTxJesOHbvXpeb3qdi6zmxwPEw 8m6A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nSxGarIu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-187266-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187266-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794a5acefd7si39883085a.270.2024.05.23.02.29.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 02:29:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187266-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nSxGarIu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-187266-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187266-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 55D141C22540 for ; Thu, 23 May 2024 09:29:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7DD2613D285; Thu, 23 May 2024 09:29:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nSxGarIu" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A5C067E574; Thu, 23 May 2024 09:29:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716456565; cv=none; b=WTq/RblvU0YKZcmcO+H3iRBCCVBhIP8Rml7XrQn+ThCBSa5TImGJKBbgxZ5P9KgjI9MGuQ0OjSeYcy1hgUYEwaUn90WyAuzwwTksp4LtL1NNWhOzWCGUljrpDxU3WweF136weZ4X4SXPaRUWnVddX8TwTRmrGdeymQUIRj/8wxQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716456565; c=relaxed/simple; bh=NBBL5XBTVaUwnuRPH2nURfseFPd5SUWepkfKnqcbEIE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Iq2qTivG2fV0/IE7Stu6X1wlTPfyJOxB5Qouzh2Jk/pqtnI9Q3Yel2Oma6EtXDRDbs60kkrnQ6b8beBtrkV/Hs2lO+oZVIeP3ol7+BWijXM96sX3Hg3YdMNMY48bZ5WxJ7N/PT9UO1NYW5Fb14UILk8SgZf4sH5GE+MJSaDUWkM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nSxGarIu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DEFCC3277B; Thu, 23 May 2024 09:29:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716456565; bh=NBBL5XBTVaUwnuRPH2nURfseFPd5SUWepkfKnqcbEIE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nSxGarIuanJFxjGG8dz4TmH2fag2/jgM+Ou9sp+kE1CgrfwzHGEavKVmRs8H8j2ID uTtvdEwJ/lmwoh821zsaPF4HCG9uMunndQaC/rprgkVePYWwiXSkdD3LVfow0JYFfp dRuG2H/Sx8kvekjYEcVD5Hntzo9ltPIRTpUmRQw//x3pd2PwlbE3POiKfxicGMqrBO ovQ4HUwpd5uThxRkevXnzh6crnnMMr8ZxCEX5G0BghrK4N3CihMA/BheXWnsYP2BxL 2JWMxwtOr/b9DhRwfwdqM/L4BWAFeuFUIc1/0umJ3jqLPFGBRQcbEgGwwJV3YBWuNt m0aXXAsJ1D3lg== Date: Thu, 23 May 2024 11:29:20 +0200 From: Alexey Gladkov To: "Dmitry V. Levin" Cc: Greg Kroah-Hartman , Jiri Slaby , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] uapi: linux/kd.h: include missing header Message-ID: References: <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 In-Reply-To: <20240523092310.GA31777@altlinux.org> On Thu, May 23, 2024 at 12:23:10PM +0300, Dmitry V. Levin wrote: > 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 Acked-by: Alexey Gladkov > --- > 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 > -- Rgrds, legion