Commit 9cb516bd authored by Jade Bilkey's avatar Jade Bilkey Committed by Greg Kroah-Hartman

staging: bcm: Fix checkpatch errors

This patch fixes the following checkpatch errors:

ERROR: space prohibited after that '&' (ctx:WxW)
+			memcpy((PVOID) & pstHostMibs->
 			               ^

ERROR: space prohibited after that '&' (ctx:WxW)
+			       (PVOID) & Adapter->
 			               ^

ERROR: space prohibited after that '&' (ctx:WxW)
+			memcpy((PVOID) & pstHostMibs->astSFtable[nSfIndex],
 			               ^

ERROR: space prohibited after that '&' (ctx:WxW)
+			       (PVOID) & Adapter->PackInfo[nSfIndex],
 			               ^
Signed-off-by: default avatarJade Bilkey <herself@thefumon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b3f441bc
...@@ -27,9 +27,9 @@ INT ProcessGetHostMibs(struct bcm_mini_adapter *Adapter, struct bcm_host_stats_m ...@@ -27,9 +27,9 @@ INT ProcessGetHostMibs(struct bcm_mini_adapter *Adapter, struct bcm_host_stats_m
/* Copy the classifier Table */ /* Copy the classifier Table */
for (nClassifierIndex = 0; nClassifierIndex < MAX_CLASSIFIERS; nClassifierIndex++) { for (nClassifierIndex = 0; nClassifierIndex < MAX_CLASSIFIERS; nClassifierIndex++) {
if (Adapter->astClassifierTable[nClassifierIndex].bUsed == TRUE) if (Adapter->astClassifierTable[nClassifierIndex].bUsed == TRUE)
memcpy((PVOID) & pstHostMibs-> memcpy((PVOID) &pstHostMibs->
astClassifierTable[nClassifierIndex], astClassifierTable[nClassifierIndex],
(PVOID) & Adapter-> (PVOID) &Adapter->
astClassifierTable[nClassifierIndex], astClassifierTable[nClassifierIndex],
sizeof(struct bcm_mibs_classifier_rule)); sizeof(struct bcm_mibs_classifier_rule));
} }
...@@ -37,8 +37,8 @@ INT ProcessGetHostMibs(struct bcm_mini_adapter *Adapter, struct bcm_host_stats_m ...@@ -37,8 +37,8 @@ INT ProcessGetHostMibs(struct bcm_mini_adapter *Adapter, struct bcm_host_stats_m
/* Copy the SF Table */ /* Copy the SF Table */
for (nSfIndex = 0; nSfIndex < NO_OF_QUEUES; nSfIndex++) { for (nSfIndex = 0; nSfIndex < NO_OF_QUEUES; nSfIndex++) {
if (Adapter->PackInfo[nSfIndex].bValid) { if (Adapter->PackInfo[nSfIndex].bValid) {
memcpy((PVOID) & pstHostMibs->astSFtable[nSfIndex], memcpy((PVOID) &pstHostMibs->astSFtable[nSfIndex],
(PVOID) & Adapter->PackInfo[nSfIndex], (PVOID) &Adapter->PackInfo[nSfIndex],
sizeof(struct bcm_mibs_table)); sizeof(struct bcm_mibs_table));
} else { } else {
/* If index in not valid, /* If index in not valid,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment