aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1367-ethernet-Use-octal-not-symbolic-permissions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1367-ethernet-Use-octal-not-symbolic-permissions.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1367-ethernet-Use-octal-not-symbolic-permissions.patch69
1 files changed, 0 insertions, 69 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1367-ethernet-Use-octal-not-symbolic-permissions.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1367-ethernet-Use-octal-not-symbolic-permissions.patch
deleted file mode 100644
index 28f446a5..00000000
--- a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1367-ethernet-Use-octal-not-symbolic-permissions.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From ca30848fce93d599e8b444c4065e82d96b65d254 Mon Sep 17 00:00:00 2001
-From: Joe Perches <joe@perches.com>
-Date: Fri, 23 Mar 2018 16:34:44 -0700
-Subject: [PATCH 1367/4131] ethernet: Use octal not symbolic permissions
-
-Prefer the direct use of octal for permissions.
-
-Done with checkpatch -f --types=SYMBOLIC_PERMS --fix-inplace
-and some typing.
-
-Miscellanea:
-
-o Whitespace neatening around these conversions.
-
-Signed-off-by: Joe Perches <joe@perches.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
----
- drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 10 +++++-----
- drivers/net/ethernet/amd/xgbe/xgbe-main.c | 2 +-
- 2 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-drv.c b/drivers/net/ethernet/amd/xgbe/xgbe-drv.c
-index d432e33..d8f8b83 100644
---- a/drivers/net/ethernet/amd/xgbe/xgbe-drv.c
-+++ b/drivers/net/ethernet/amd/xgbe/xgbe-drv.c
-@@ -137,21 +137,21 @@ static unsigned int ecc_ded_period = 600;
-
- #ifdef CONFIG_AMD_XGBE_HAVE_ECC
- /* Only expose the ECC parameters if supported */
--module_param(ecc_sec_info_threshold, uint, S_IWUSR | S_IRUGO);
-+module_param(ecc_sec_info_threshold, uint, 0644);
- MODULE_PARM_DESC(ecc_sec_info_threshold,
- " ECC corrected error informational threshold setting");
-
--module_param(ecc_sec_warn_threshold, uint, S_IWUSR | S_IRUGO);
-+module_param(ecc_sec_warn_threshold, uint, 0644);
- MODULE_PARM_DESC(ecc_sec_warn_threshold,
- " ECC corrected error warning threshold setting");
-
--module_param(ecc_sec_period, uint, S_IWUSR | S_IRUGO);
-+module_param(ecc_sec_period, uint, 0644);
- MODULE_PARM_DESC(ecc_sec_period, " ECC corrected error period (in seconds)");
-
--module_param(ecc_ded_threshold, uint, S_IWUSR | S_IRUGO);
-+module_param(ecc_ded_threshold, uint, 0644);
- MODULE_PARM_DESC(ecc_ded_threshold, " ECC detected error threshold setting");
-
--module_param(ecc_ded_period, uint, S_IWUSR | S_IRUGO);
-+module_param(ecc_ded_period, uint, 0644);
- MODULE_PARM_DESC(ecc_ded_period, " ECC detected error period (in seconds)");
- #endif
-
-diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-main.c b/drivers/net/ethernet/amd/xgbe/xgbe-main.c
-index e31d9d1..441d0973 100644
---- a/drivers/net/ethernet/amd/xgbe/xgbe-main.c
-+++ b/drivers/net/ethernet/amd/xgbe/xgbe-main.c
-@@ -131,7 +131,7 @@ MODULE_VERSION(XGBE_DRV_VERSION);
- MODULE_DESCRIPTION(XGBE_DRV_DESC);
-
- static int debug = -1;
--module_param(debug, int, S_IWUSR | S_IRUGO);
-+module_param(debug, int, 0644);
- MODULE_PARM_DESC(debug, " Network interface message level setting");
-
- static const u32 default_msg_level = (NETIF_MSG_LINK | NETIF_MSG_IFDOWN |
---
-2.7.4
-