From patchwork Wed Jan 21 22:08:14 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1727 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1769033356; bh=Dms+9wxn3gIJRujaIv/wlt5mDzx2iMEwAQjvqaeBcwY=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=iSWrIvzIBVkKPypKP8hk/629i1Bz/tq6vkaOUgPVOJh81I6AOmf/z4vvK4BZ2Tm0k EWKYG77DdOjoAazsfyY53CqC2nMfzggPE1GrQq5PdQ046TnW47TO/9Vi+wDzF7AcO7 TPxotLdZJN4r3vYuIxL9jFGbqpkj458ttqdQSgXglRGt/ipozBBOnRkwMtgcU0LFEQ /MJIPmTIvazKhCt9Z05ECkYfsmOCR9NrTpHDN6iySPSBaayA3W0y/4t8tsz7FWRFr+ pQ457LFpWxd/I02Q+eo6e/SWubjn1ELhT1BQxcHA2+JgDX0ke1+WTi9hS9lFTxtZuC hMvRTbHj+GqRw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 482B269601 for ; Wed, 21 Jan 2026 15:09:16 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id luUtoTiU9nzB for ; Wed, 21 Jan 2026 15:09:16 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1769033354; bh=Dms+9wxn3gIJRujaIv/wlt5mDzx2iMEwAQjvqaeBcwY=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=S+gIKaiQAHmad5eFB76V66+zsjdqKK/GB5QrGrrkgDcbzKmmF3uOL3PO2MYdQoTBI rvT5h1hgor5Z3wiit/+Y4TYkQa+FouCwJg5RoAfYedzjZk7eW7DlCELf4p4VfUWcB/ KMwU19alqClEzvpMlmIItVR3LZtlJgsUQKytpkykO+bAO456/+8RhnvLZGYlDw5aS4 tAY2V3zrTQiD5pZmmcBf79/mHx2L9CWMxcmJocD86YkLWrk44rX+Pc2IcUFqB5ZxkL +AMYqofjlCZbec5jlgEN83jmCS9Esv3xy9mWmxbpIVvttJfE8eTz5w936IK65SLLIj ht9BNmBmPWwFA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4AEB1695F7 for ; Wed, 21 Jan 2026 15:09:14 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1769033351; bh=v5XDQ03IcbQsPrjNh8okulP99T5rqCpvsbai9egps+U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EDW6W+9jgg/oEME+zAuyeg65QPvlJnZx93ZU5lD/lWaxd5lgvIeHMgQjsqZ0DOdjN 18rhMvmS7Uq3xc0UiQ7IQ2WhPb5ieYJbe81ihJQkJT73cYULpE0H6COpx8pzUrioOD 8jQcrvPYAwsPhqcGrn1qsngfOGzInmvx0UpQo82bgB8B5l7LrqBC5zb1GiMkOAQBci 4d4LSnAIF+kJ/6r7gCbi2U/XSDb+IB0TTNe33TBAQPU9oncuFmcIGFL2G0siJERQXn /HuYtJoGYCo9W8hL93ILOogMn83np+0EhOZsZdW1NJi2t2z5MNjy4i5zHE4p9W6Df3 y9WzLgKwO6d3Q== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id AD241695F4; Wed, 21 Jan 2026 15:09:11 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id 4jOg9Zzcbv2x; Wed, 21 Jan 2026 15:09:11 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1769033351; bh=aJLUcZ4CINnFWghk0IlbCZkkUgl8ioJvJBIHnBD8Ehk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RCZDHWZcOsjjoesZ/+G4CV5B+L3PYv/XFQsmnJ6Y6oZtRwNB/5xUW0hi4U0c/l24y Vo0tam13L4x9U9owxR1aAI9GtS5hDAK3zz4hTxt+mDHt0mb8PTe62gEYQIiQcvCGCT jPSrHHSOkWw3t2S5vmqA5PBSjYyXBlflqY6itI5JrYeWJo79SZruJdkXnQ8n2N4qE9 1OoJdt0FTTJNb1QhFFxd9HwgxArf+QcioF9KwSXN9qlHEGL38+l1slsbf0hhBknU/+ 7HdZTarNBh+RHg8fvuSp4x3DsZMLaf3qSMSW9xX/k1eOjvuIp5FxhAN0KQeE7lJi0S BcJ+vvcnDRsrA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 2BCF3695F2; Wed, 21 Jan 2026 15:09:11 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Wed, 21 Jan 2026 15:08:14 -0700 Message-ID: <20260121220857.2137568-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260121220857.2137568-1-sjg@u-boot.org> References: <20260121220857.2137568-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: F3CE6PXETJOWLHH4PQRZEN6G7ACVYQDJ X-Message-ID-Hash: F3CE6PXETJOWLHH4PQRZEN6G7ACVYQDJ X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , "Claude Opus 4 . 5" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 01/33] linux/sort.h: Fix qsort implicit declaration warning List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Include instead of to get the proper qsort declaration. U-Boot's stdlib.h does not declare qsort, but sort.h does. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- include/linux/sort.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/sort.h b/include/linux/sort.h index dc222d8dc89..f131be8d48c 100644 --- a/include/linux/sort.h +++ b/include/linux/sort.h @@ -6,7 +6,7 @@ #define _LINUX_SORT_H #include -#include +#include typedef int (*cmp_func_t)(const void *, const void *);