From: Tom Rini Date: Wed, 30 Oct 2019 13:02:39 -0400 Subject: [U-Boot] [PATCH v3 4/9] linux/types.h: Surround 'struct ustat' with __linux__ In-Reply-To: <1572178788-26246-5-git-send-email-bmeng.cn@gmail.com> References: <1572178788-26246-1-git-send-email-bmeng.cn@gmail.com> <1572178788-26246-5-git-send-email-bmeng.cn@gmail.com> Message-ID: <20191030170239.GL11173@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Oct 27, 2019 at 05:19:43AM -0700, Bin Meng wrote: > 'struct ustat' uses linux-specific typedefs to declare its memebers: > __kernel_daddr_t and __kernel_ino_t. It is currently not used by any > U-Boot codes, but when we build U-Boot tools for other platform like > Windows, this becomes a problem. > > Let's surround it with __linux__. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: