Skip to contentSkip to conversation

sh-include-linux-time_typesh-for-sockios.patch removed from -mm tree

merged [email protected] 1 participant 1 message May 24, 2020 Stable branch

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: sh: include linux/time_types.h for sockios
has been removed from the -mm tree. Its filename was
sh-include-linux-time_typesh-for-sockios.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Arnd Bergmann <[email protected]>
Subject: sh: include linux/time_types.h for sockios

Using the socket ioctls on arch/sh (and only there) causes build time problems when __kernel_old_timeval/__kernel_old_timespec are not already visible to the compiler.

Add an explict include line for the header that defines these structures.

Fixes 8c709f9a0693 ("y2038: sh: remove timeval/timespec usage from headers")
Fixes 0768e17073dc ("net: socket: implement 64-bit timestamps")
Cc Yoshinori Sato <[email protected]>
Cc Rich Felker <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc John Paul Adrian Glaubitz <[email protected]>

---

 arch/sh/include/uapi/asm/sockios.h |    2 ++
 1 file changed, 2 insertions(+)
arch/sh/include/uapi/asm/sockios.h renamed from arch/sh/include/uapi/asm/sockios.h~sh-include-linux-time_typesh-for-sockios +2 -0
@@ -2,6 +2,8 @@
 #ifndef __ASM_SH_SOCKIOS_H
 #define __ASM_SH_SOCKIOS_H
 
+#include <linux/time_types.h>
+
 /* Socket-level I/O control calls. */
 #define FIOGETOWN	_IOR('f', 123, int)
 #define FIOSETOWN 	_IOW('f', 124, int)

_

Patches currently in -mm which might be from [email protected] are

drm-remove-drm-specific-kmap_atomic-code-fix.patch bitops-avoid-clang-shift-count-overflow-warnings.patch ubsan-fix-gcc-10-warnings.patch arm64-add-support-for-folded-p4d-page-tables-fix.patch