Commit 05f35980 authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

staging: unisys: fix CamelCase in enable_ints_write()

Fix CamelCase variable name:

Features_addr => features_addr

Update references to use the new name.
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 17893770
...@@ -1429,7 +1429,7 @@ static ssize_t enable_ints_write(struct file *file, const char __user *buffer, ...@@ -1429,7 +1429,7 @@ static ssize_t enable_ints_write(struct file *file, const char __user *buffer,
int i, new_value; int i, new_value;
struct virthba_info *virthbainfo; struct virthba_info *virthbainfo;
u64 __iomem *Features_addr; u64 __iomem *features_addr;
u64 mask; u64 mask;
if (count >= ARRAY_SIZE(buf)) if (count >= ARRAY_SIZE(buf))
...@@ -1454,21 +1454,21 @@ static ssize_t enable_ints_write(struct file *file, const char __user *buffer, ...@@ -1454,21 +1454,21 @@ static ssize_t enable_ints_write(struct file *file, const char __user *buffer,
for (i = 0; i < VIRTHBASOPENMAX; i++) { for (i = 0; i < VIRTHBASOPENMAX; i++) {
if (virthbas_open[i].virthbainfo != NULL) { if (virthbas_open[i].virthbainfo != NULL) {
virthbainfo = virthbas_open[i].virthbainfo; virthbainfo = virthbas_open[i].virthbainfo;
Features_addr = features_addr =
&virthbainfo->chinfo.queueinfo->chan->features; &virthbainfo->chinfo.queueinfo->chan->features;
if (new_value == 1) { if (new_value == 1) {
mask = ~(ULTRA_IO_CHANNEL_IS_POLLING | mask = ~(ULTRA_IO_CHANNEL_IS_POLLING |
ULTRA_IO_DRIVER_DISABLES_INTS); ULTRA_IO_DRIVER_DISABLES_INTS);
uisqueue_interlocked_and(Features_addr, mask); uisqueue_interlocked_and(features_addr, mask);
mask = ULTRA_IO_DRIVER_ENABLES_INTS; mask = ULTRA_IO_DRIVER_ENABLES_INTS;
uisqueue_interlocked_or(Features_addr, mask); uisqueue_interlocked_or(features_addr, mask);
rsltq_wait_usecs = 4000000; rsltq_wait_usecs = 4000000;
} else { } else {
mask = ~(ULTRA_IO_DRIVER_ENABLES_INTS | mask = ~(ULTRA_IO_DRIVER_ENABLES_INTS |
ULTRA_IO_DRIVER_DISABLES_INTS); ULTRA_IO_DRIVER_DISABLES_INTS);
uisqueue_interlocked_and(Features_addr, mask); uisqueue_interlocked_and(features_addr, mask);
mask = ULTRA_IO_CHANNEL_IS_POLLING; mask = ULTRA_IO_CHANNEL_IS_POLLING;
uisqueue_interlocked_or(Features_addr, mask); uisqueue_interlocked_or(features_addr, mask);
rsltq_wait_usecs = 4000; rsltq_wait_usecs = 4000;
} }
} }
......
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