oxnas: sata_oxnas: use ata_link_err
[openwrt/staging/ldir.git] / target / linux / generic / pending-5.15 / 101-Use-stddefs.h-instead-of-compiler.h.patch
1 From d3c5b26768dbe990c4e1bd79e420c11ce7491d51 Mon Sep 17 00:00:00 2001
2 From: OpenWrt community <openwrt-devel@lists.openwrt.org>
3 Date: Wed, 13 Jul 2022 11:36:00 +0200
4 Subject: [PATCH] swab: use stddefs.h instead of compiler.h
5
6 Fix an issue with kernel headers that broke perf.
7
8 ---
9 include/uapi/linux/swab.h | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 --- a/include/uapi/linux/swab.h
13 +++ b/include/uapi/linux/swab.h
14 @@ -3,7 +3,7 @@
15 #define _UAPI_LINUX_SWAB_H
16
17 #include <linux/types.h>
18 -#include <linux/compiler.h>
19 +#include <linux/stddef.h>
20 #include <asm/bitsperlong.h>
21 #include <asm/swab.h>
22