From c68e50ea14fa3b8f664abe572de1847e7dd951fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 27 Aug 2022 09:52:41 +0700 Subject: [PATCH] exfat-dkms: fix patch's whitespace --- srcpkgs/exfat-dkms/patches/linux4.18.patch | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/srcpkgs/exfat-dkms/patches/linux4.18.patch b/srcpkgs/exfat-dkms/patches/linux4.18.patch index 3771c516beb..172934f350d 100644 --- a/srcpkgs/exfat-dkms/patches/linux4.18.patch +++ b/srcpkgs/exfat-dkms/patches/linux4.18.patch @@ -1,8 +1,6 @@ -diff --git exfat_super.c exfat_super.c -index 312de36..262b74d 100644 --- a/exfat_super.c +++ b/exfat_super.c -@@ -97,6 +97,11 @@ static int exfat_default_codepage = CONFIG_EXFAT_DEFAULT_CODEPAGE; +@@ -97,6 +97,11 @@ static int exfat_default_codepage = CONF static char exfat_default_iocharset[] = CONFIG_EXFAT_DEFAULT_IOCHARSET; extern struct timezone sys_tz; @@ -13,21 +11,22 @@ index 312de36..262b74d 100644 +#endif #if LINUX_VERSION_CODE < KERNEL_VERSION(4,8,0) - #define current_time(x) (CURRENT_TIME_SEC) + #define current_time(x) (CURRENT_TIME_SEC) @@ -147,7 +152,7 @@ static time_t accum_days_in_year[] = { static void _exfat_truncate(struct inode *inode, loff_t old_size); /* Convert a FAT time/date pair to a UNIX date (seconds since 1 1 70). */ -void exfat_time_fat2unix(struct exfat_sb_info *sbi, struct timespec *ts, +void exfat_time_fat2unix(struct exfat_sb_info *sbi, struct timespec_compat *ts, - DATE_TIME_T *tp) + DATE_TIME_T *tp) { - time_t year = tp->Year; -@@ -166,7 +171,7 @@ void exfat_time_fat2unix(struct exfat_sb_info *sbi, struct timespec *ts, + time_t year = tp->Year; +@@ -166,7 +171,7 @@ void exfat_time_fat2unix(struct exfat_sb } /* Convert linear UNIX date to a FAT time/date pair. */ -void exfat_time_unix2fat(struct exfat_sb_info *sbi, struct timespec *ts, +void exfat_time_unix2fat(struct exfat_sb_info *sbi, struct timespec_compat *ts, - DATE_TIME_T *tp) + DATE_TIME_T *tp) { + time_t second = ts->tv_sec;