From mboxrd@z Thu Jan 1 00:00:00 1970 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 7F122423A9D; Tue, 31 Mar 2026 16:58:43 +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=1774976323; cv=none; b=Zjbm9k0MP9q+RzloIypSTMV+cH5reNxX9E5GRFL83dfaP+Z5lH0SbAdZQwIhiIrlPXQxMyJ2sTuLpmyX5MPmAiN1Wb6j2vhJNw4rptnvcgd4koGYrkJg+AlSbKskCPIsu5ArUr/0J7AOe7JzuXPNNrR9vcGsK7SNGhpD9S7JRqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774976323; c=relaxed/simple; bh=h9ag9SSiuUbhQbjuuAgPmrCVMs8JdnMUt50zIIGepDY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=W2Hb9dwYlVy5G+cUclWjxl8HDqTXcY10T+Achf2/Cvjhj0xBTy1RVRLt1iI0xAR2ysG96eob92gtm6WUtK2UCotUNlFOcrm680OFIafORCWvZWDKrg5ODFBdoAmla33xZ5RRZztABwg5udQaHEK+2QkPJPUnrgi0trV0G2b+uPI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=K45d2xG9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="K45d2xG9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17418C19423; Tue, 31 Mar 2026 16:58:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774976323; bh=h9ag9SSiuUbhQbjuuAgPmrCVMs8JdnMUt50zIIGepDY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K45d2xG965XG9UpsyRzgwqTCcbCeJo5cKIenOj7OqZA9yPz6VI/+84/ABNeDOauLg 0i++T0vJH7hA98i5f+AnK+Q/+5hvnqtNyALixyeozKWEvm56zkYpGJDSrbqzCnQMiH 9mVXeOONwtPH0lmHF7Go13UcC1AwRkoK8Gd99VxM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, "Isaac J. Manjarres" , "T.J. Mercier" , =?UTF-8?q?Christian=20K=C3=B6nig?= , Sasha Levin Subject: [PATCH 6.18 048/309] dma-buf: Include ioctl.h in UAPI header Date: Tue, 31 Mar 2026 18:19:11 +0200 Message-ID: <20260331161755.253751667@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260331161753.468533260@linuxfoundation.org> References: <20260331161753.468533260@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Isaac J. Manjarres [ Upstream commit a116bac87118903925108e57781bbfc7a7eea27b ] include/uapi/linux/dma-buf.h uses several macros from ioctl.h to define its ioctl commands. However, it does not include ioctl.h itself. So, if userspace source code tries to include the dma-buf.h file without including ioctl.h, it can result in build failures. Therefore, include ioctl.h in the dma-buf UAPI header. Signed-off-by: Isaac J. Manjarres Reviewed-by: T.J. Mercier Reviewed-by: Christian König Signed-off-by: Christian König Link: https://lore.kernel.org/r/20260303002309.1401849-1-isaacmanjarres@google.com Signed-off-by: Sasha Levin --- include/uapi/linux/dma-buf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/dma-buf.h b/include/uapi/linux/dma-buf.h index 5a6fda66d9adf..e827c9d20c5d3 100644 --- a/include/uapi/linux/dma-buf.h +++ b/include/uapi/linux/dma-buf.h @@ -20,6 +20,7 @@ #ifndef _DMA_BUF_UAPI_H_ #define _DMA_BUF_UAPI_H_ +#include #include /** -- 2.51.0