From: Luben Tuikov <ltuikov@yahoo.com>
To: Al Viro <viro@ftp.linux.org.uk>, Linus Torvalds <torvalds@osdl.org>
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fix idiocy in asd_init_lseq_mdp()
Date: Sun, 24 Sep 2006 23:54:16 -0700 (PDT) [thread overview]
Message-ID: <20060925065416.76348.qmail@web31804.mail.mud.yahoo.com> (raw)
In-Reply-To: <20060925015722.GF29920@ftp.linux.org.uk>
--- Al Viro <viro@ftp.linux.org.uk> wrote:
> To whoever had written that code:
>
> a) priority of >> is higher than that of &
> b) priority of typecast is higher than that of any binary operator
> c) learn the fscking C
"whoever" would be Bottomley or someone at LTC.
My code in that spot has:
asd_write_reg_dword(asd_ha, LmSEQ_INTEN_SAVE(lseq),
(u32) LmM0INTEN_MASK);
Luben
>
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> ---
> drivers/scsi/aic94xx/aic94xx_seq.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/scsi/aic94xx/aic94xx_seq.c b/drivers/scsi/aic94xx/aic94xx_seq.c
> index d9b6da5..56e4b3b 100644
> --- a/drivers/scsi/aic94xx/aic94xx_seq.c
> +++ b/drivers/scsi/aic94xx/aic94xx_seq.c
> @@ -764,7 +764,7 @@ static void asd_init_lseq_mdp(struct asd
> asd_write_reg_word(asd_ha, LmSEQ_FIRST_INV_SCB_SITE(lseq),
> (u16)last_scb_site_no+1);
> asd_write_reg_word(asd_ha, LmSEQ_INTEN_SAVE(lseq),
> - (u16) LmM0INTEN_MASK & 0xFFFF0000 >> 16);
> + (u16) ((LmM0INTEN_MASK & 0xFFFF0000) >> 16));
> asd_write_reg_word(asd_ha, LmSEQ_INTEN_SAVE(lseq) + 2,
> (u16) LmM0INTEN_MASK & 0xFFFF);
> asd_write_reg_byte(asd_ha, LmSEQ_LINK_RST_FRM_LEN(lseq), 0);
> --
> 1.4.2.GIT
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2006-09-25 6:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-25 1:57 [PATCH] fix idiocy in asd_init_lseq_mdp() Al Viro
2006-09-25 6:52 ` Luben Tuikov
2006-09-25 6:54 ` Luben Tuikov [this message]
2006-09-25 14:47 ` Douglas Gilbert
2006-09-25 14:59 ` Al Viro
2006-09-25 17:16 ` Luben Tuikov
2006-09-25 17:39 ` Al Viro
2006-09-25 17:43 ` James Bottomley
2006-09-25 18:29 ` Mike Anderson
2006-09-25 19:14 ` Luben Tuikov
-- strict thread matches above, loose matches on Subject: below --
2006-09-25 19:56 Hammer, Jack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060925065416.76348.qmail@web31804.mail.mud.yahoo.com \
--to=ltuikov@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=torvalds@osdl.org \
--cc=viro@ftp.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox