From patchwork Sun Apr 5 21:33:06 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 26433 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 11B77BEFBE for ; Sun, 5 Apr 2026 21:33:10 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3143062D68; Sun, 5 Apr 2026 23:33:09 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="lL1dhaiT"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2C0B562CEA for ; Sun, 5 Apr 2026 23:33:08 +0200 (CEST) Received: from killaraus.ideasonboard.com (2001-14ba-703d-e500--2a1.rev.dnainternet.fi [IPv6:2001:14ba:703d:e500::2a1]) by perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id BE4A8667; Sun, 5 Apr 2026 23:31:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1775424701; bh=FdEaAwACd5kQFuancR3v+HSobCFiPtHTvusjahnc3U0=; h=From:To:Cc:Subject:Date:From; b=lL1dhaiT+fKj18MujQoOmDY2XQOejq/wdvJVI6WOGpC3EVRrdyifzk/rvvtL7OUyW JKaokItstAfdh5KEYtJ2Tp6+7GIOEHYYyLOaV6MJl36jJ+gMD7uo2jzH1Ocr3XivB5 y4NDpes//0e4VV+UsQN8cKDsNYKrwcpVHrDTunBA= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Cc: Jacopo Mondi Subject: [PATCH] utils: update-kernel-headers: Fix destination path Date: Mon, 6 Apr 2026 00:33:06 +0300 Message-ID: <20260405213306.1224047-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The update-kernel-headers.sh script copies all headers to include/linux/ without creating subdirectories. This behaviour was correct until the addition of linux/media/v4l2-isp.h, which should be copied to include/linux/media/v4l2-isp.h, not include/linux/v4l2-isp.h. Fix it. Fixes: ee8f88fc64d4 ("include: linux: Add v4l2-isp.h") Signed-off-by: Laurent Pinchart --- utils/update-kernel-headers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/update-kernel-headers.sh b/utils/update-kernel-headers.sh index 168a0ea36e63..f9baa66d00b4 100755 --- a/utils/update-kernel-headers.sh +++ b/utils/update-kernel-headers.sh @@ -64,7 +64,7 @@ headers=" " for header in $headers ; do - name=$(basename "${header}") + name="${header#*/}" cp "${install_dir}/usr/include/${header}" "${header_dir}/${name}" done