lkml.org 
[lkml]   [2006]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ipmi_si_intf.c: fix "&& 0xff" typos
Ouch, I guess we've never had a system with these address types.  Thanks.

-Corey

Alexey Dobriyan wrote:
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
> ---
>
> drivers/char/ipmi/ipmi_si_intf.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> --- a/drivers/char/ipmi/ipmi_si_intf.c
> +++ b/drivers/char/ipmi/ipmi_si_intf.c
> @@ -1211,7 +1211,7 @@ static void intf_mem_outb(struct si_sm_i
> 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,
> @@ -1223,7 +1223,7 @@ static void intf_mem_outw(struct si_sm_i
> 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,
> @@ -1236,7 +1236,7 @@ #ifdef readq
> 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,
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-08 23:17    [W:0.040 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site