Commit fe77a268 authored by Sanjana Sanikommu's avatar Sanjana Sanikommu Committed by Greg Kroah-Hartman

Staging: rtl8192u: r8180_93cx6.c: Fix space around '<<'.

Fix the check as per Linux kernel style for use of spaces.
Issue found by checkpatch.pl

CHECK:spaces preffered around that '<<'
Signed-off-by: default avatarSanjana Sanikommu <sanjana99reddy99@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 59dbadcd
......@@ -125,21 +125,21 @@ int eprom_read(struct net_device *dev, u32 addr)
if (priv->epromtype == EPROM_93c56) {
addr_str[7] = addr & 1;
addr_str[6] = addr & (1<<1);
addr_str[5] = addr & (1<<2);
addr_str[4] = addr & (1<<3);
addr_str[3] = addr & (1<<4);
addr_str[2] = addr & (1<<5);
addr_str[1] = addr & (1<<6);
addr_str[0] = addr & (1<<7);
addr_str[6] = addr & (1 << 1);
addr_str[5] = addr & (1 << 2);
addr_str[4] = addr & (1 << 3);
addr_str[3] = addr & (1 << 4);
addr_str[2] = addr & (1 << 5);
addr_str[1] = addr & (1 << 6);
addr_str[0] = addr & (1 << 7);
addr_len = 8;
} else {
addr_str[5] = addr & 1;
addr_str[4] = addr & (1<<1);
addr_str[3] = addr & (1<<2);
addr_str[2] = addr & (1<<3);
addr_str[1] = addr & (1<<4);
addr_str[0] = addr & (1<<5);
addr_str[4] = addr & (1 << 1);
addr_str[3] = addr & (1 << 2);
addr_str[2] = addr & (1 << 3);
addr_str[1] = addr & (1 << 4);
addr_str[0] = addr & (1 << 5);
addr_len = 6;
}
eprom_cs(dev, 1);
......
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