aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-debugfs.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-debugfs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-debugfs.c
index 088a2c13f59b..7b25d1468358 100644
--- a/drivers/net/wireless/iwlwifi/iwl-debugfs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-debugfs.c
@@ -1267,7 +1267,7 @@ static ssize_t iwl_dbgfs_ucode_tracing_read(struct file *file,
1267 char __user *user_buf, 1267 char __user *user_buf,
1268 size_t count, loff_t *ppos) { 1268 size_t count, loff_t *ppos) {
1269 1269
1270 struct iwl_priv *priv = (struct iwl_priv *)file->private_data; 1270 struct iwl_priv *priv = file->private_data;
1271 int pos = 0; 1271 int pos = 0;
1272 char buf[128]; 1272 char buf[128];
1273 const size_t bufsz = sizeof(buf); 1273 const size_t bufsz = sizeof(buf);
@@ -1317,7 +1317,7 @@ static ssize_t iwl_dbgfs_rxon_flags_read(struct file *file,
1317 char __user *user_buf, 1317 char __user *user_buf,
1318 size_t count, loff_t *ppos) { 1318 size_t count, loff_t *ppos) {
1319 1319
1320 struct iwl_priv *priv = (struct iwl_priv *)file->private_data; 1320 struct iwl_priv *priv = file->private_data;
1321 int len = 0; 1321 int len = 0;
1322 char buf[20]; 1322 char buf[20];
1323 1323
@@ -1329,7 +1329,7 @@ static ssize_t iwl_dbgfs_rxon_filter_flags_read(struct file *file,
1329 char __user *user_buf, 1329 char __user *user_buf,
1330 size_t count, loff_t *ppos) { 1330 size_t count, loff_t *ppos) {
1331 1331
1332 struct iwl_priv *priv = (struct iwl_priv *)file->private_data; 1332 struct iwl_priv *priv = file->private_data;
1333 int len = 0; 1333 int len = 0;
1334 char buf[20]; 1334 char buf[20];
1335 1335
@@ -1342,7 +1342,7 @@ static ssize_t iwl_dbgfs_fh_reg_read(struct file *file,
1342 char __user *user_buf, 1342 char __user *user_buf,
1343 size_t count, loff_t *ppos) 1343 size_t count, loff_t *ppos)
1344{ 1344{
1345 struct iwl_priv *priv = (struct iwl_priv *)file->private_data; 1345 struct iwl_priv *priv = file->private_data;
1346 char *buf; 1346 char *buf;
1347 int pos = 0; 1347 int pos = 0;
1348 ssize_t ret = -EFAULT; 1348 ssize_t ret = -EFAULT;
@@ -1404,7 +1404,7 @@ static ssize_t iwl_dbgfs_plcp_delta_read(struct file *file,
1404 char __user *user_buf, 1404 char __user *user_buf,
1405 size_t count, loff_t *ppos) { 1405 size_t count, loff_t *ppos) {
1406 1406
1407 struct iwl_priv *priv = (struct iwl_priv *)file->private_data; 1407 struct iwl_priv *priv = file->private_data;
1408 int pos = 0; 1408 int pos = 0;
1409 char buf[12]; 1409 char buf[12];
1410 const size_t bufsz = sizeof(buf); 1410 const size_t bufsz = sizeof(buf);