Commit 39a2b41b authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Adrian Bunk

ipmi_si_intf.c: fix "&& 0xff" typos

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent e6169b53
......@@ -1284,7 +1284,7 @@ static void intf_mem_outb(struct si_sm_io *io, unsigned int offset,
static unsigned char intf_mem_inw(struct si_sm_io *io, unsigned int offset)
{
return (readw((io->addr)+(offset * io->regspacing)) >> io->regshift)
&& 0xff;
& 0xff;
}
static void intf_mem_outw(struct si_sm_io *io, unsigned int offset,
......@@ -1296,7 +1296,7 @@ static void intf_mem_outw(struct si_sm_io *io, unsigned int offset,
static unsigned char intf_mem_inl(struct si_sm_io *io, unsigned int offset)
{
return (readl((io->addr)+(offset * io->regspacing)) >> io->regshift)
&& 0xff;
& 0xff;
}
static void intf_mem_outl(struct si_sm_io *io, unsigned int offset,
......@@ -1309,7 +1309,7 @@ static void intf_mem_outl(struct si_sm_io *io, unsigned int offset,
static unsigned char mem_inq(struct si_sm_io *io, unsigned int offset)
{
return (readq((io->addr)+(offset * io->regspacing)) >> io->regshift)
&& 0xff;
& 0xff;
}
static void mem_outq(struct si_sm_io *io, unsigned int offset,
......
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