lkml.org 
[lkml]   [2008]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 9/9] mISDN: fix sparse warnings
From
Date
Hannes Eder <hannes@hanneseder.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@linux.intel.com


\
 
 \ /
  Last update: 2008-12-10 18:11    [W:0.052 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site