[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87hc5cc60n.fsf@basil.nowhere.org>
Date: Wed, 10 Dec 2008 18:08:24 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Hannes Eder <hannes@...neseder.net>
Cc: Karsten Keil <kkeil@...e.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 9/9] mISDN: fix sparse warnings
Hannes Eder <hannes@...neseder.net> writes:
> @@ -918,7 +919,7 @@ hfcmulti_resync(struct hfc_multi *locked, struct hfc_multi *newmaster, int rm)
> /* Disable sync of all cards */
> list_for_each_entry_safe(hc, next, &HFClist, list) {
> if (test_bit(HFC_CHIP_PLXSD, &hc->chip)) {
> - plx_acc_32 = (u_int *)(hc->plx_membase+PLX_GPIOC);
> + plx_acc_32 = (u_int __iomem *)(hc->plx_membase+PLX_GPIOC);
It would be probably better to declare plx_membase __iomem too instead
of so much casting.
-Andi
--
ak@...ux.intel.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists