Signed-off-by: Al Viro <[email protected]>
---
drivers/net/e1000/e1000_hw.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/e1000/e1000_hw.h b/drivers/net/e1000/e1000_hw.h
index 375b955..a7e3a82 100644
--- a/drivers/net/e1000/e1000_hw.h
+++ b/drivers/net/e1000/e1000_hw.h
@@ -1365,8 +1365,8 @@ struct e1000_hw_stats {
/* Structure containing variables used by the shared code (e1000_hw.c) */
struct e1000_hw {
- uint8_t *hw_addr;
- uint8_t *flash_address;
+ uint8_t __iomem *hw_addr;
+ uint8_t __iomem *flash_address;
e1000_mac_type mac_type;
e1000_phy_type phy_type;
uint32_t phy_init_script;
--
1.4.2.GIT
Jeff Garzik wrote:
> applied
>
Thanks,
I have no idea why and when these annotations were lost, but we have them in
much older versions of the code. I'll try to track it down and make sure that
it doesn't disappear again.
Cheers,
Auke
Auke Kok wrote:
> Jeff Garzik wrote:
>> applied
>>
>
> Thanks,
>
> I have no idea why and when these annotations were lost, but we have
> them in much older versions of the code. I'll try to track it down and
> make sure that it doesn't disappear again.
Just run an sparse check as described in
Documentation/sparse.txt...
Jeff
Jeff Garzik wrote:
> Auke Kok wrote:
>> Jeff Garzik wrote:
>>> applied
>>>
>>
>> Thanks,
>>
>> I have no idea why and when these annotations were lost, but we have
>> them in much older versions of the code. I'll try to track it down and
>> make sure that it doesn't disappear again.
>
> Just run an sparse check as described in
> Documentation/sparse.txt...
gotcha, I'll try to do this on a regular basis.
Thanks,
Auke