From 748e4f3d702def1a4bff191e0cf93b6a05340f01 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:41:34 +0000 Subject: [PATCH] add gpio led uart --- kernel/fs/adfs/dir_fplus.h | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/kernel/fs/adfs/dir_fplus.h b/kernel/fs/adfs/dir_fplus.h index b55aa41..d729b15 100644 --- a/kernel/fs/adfs/dir_fplus.h +++ b/kernel/fs/adfs/dir_fplus.h @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/fs/adfs/dir_fplus.h * * Copyright (C) 1999 Russell King - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. * * Structures of directories on the F+ format disk */ @@ -25,7 +22,7 @@ __le32 bigdirnamesize; __le32 bigdirparent; char bigdirname[1]; -}; +} __attribute__((packed, aligned(4))); struct adfs_bigdirentry { __le32 bigdirload; @@ -35,11 +32,11 @@ __le32 bigdirattr; __le32 bigdirobnamelen; __le32 bigdirobnameptr; -}; +} __attribute__((packed, aligned(4))); struct adfs_bigdirtail { __le32 bigdirendname; __u8 bigdirendmasseq; __u8 reserved[2]; __u8 bigdircheckbyte; -}; +} __attribute__((packed, aligned(4))); -- Gitblit v1.6.2