projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7029fbb
)
Staging: bcm: Bcmchar.c: Renamed variable: "uiLoopIndex" -> "i"
author
Matthias Beyer
<mail@beyermatthias.de>
Wed, 27 Aug 2014 10:57:49 +0000
(12:57 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:01:37 +0000
(13:01 -0700)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Bcmchar.c
patch
|
blob
|
history
diff --git
a/drivers/staging/bcm/Bcmchar.c
b/drivers/staging/bcm/Bcmchar.c
index dea2cce3abae16c45cca5e706e493bd2e1c67927..64dfc03bf418a3f5ca62856f00791eb0f7375eab 100644
(file)
--- a/
drivers/staging/bcm/Bcmchar.c
+++ b/
drivers/staging/bcm/Bcmchar.c
@@
-1142,10
+1142,10
@@
static int bcm_char_ioctl_chip_reset(struct bcm_mini_adapter *ad)
static int bcm_char_ioctl_qos_threshold(ULONG arg,
struct bcm_mini_adapter *ad)
{
- USHORT
uiLoopIndex
;
+ USHORT
i
;
- for (
uiLoopIndex = 0; uiLoopIndex < NO_OF_QUEUES; uiLoopIndex
++) {
- if (get_user(ad->PackInfo[
uiLoopIndex
].uiThreshold,
+ for (
i = 0; i < NO_OF_QUEUES; i
++) {
+ if (get_user(ad->PackInfo[
i
].uiThreshold,
(unsigned long __user *)arg)) {
return -EFAULT;
}