lkml.org 
[lkml]   [2005]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drivers/scsi/sata_svw.c: fix compiler warnings
Nick Wilson wrote:
> Fixes compiler warnings:
> warning: passing arg 2 of `writeb' makes pointer from integer without a cast
> warning: passing arg 1 of `readw' makes pointer from integer without a cast

(added to CC list, just to update people on the status of these
warnings... I know they're annoying)

Thanks, but like I told someone else just yesterday, I'm not interested
in patches which simply shift the warnings around.

You need something _far_ more substantial, like what I have attached,
which updates libata to use the iomap infrastructure.

The warnings are there to let me (and others) know where the changes
need to be made. Applying a patch like yours will almost guarantee that
I will miss a spot that needs to be converted.

Attachments:
patch.1: 97% of the iomap conversion.
patch.2: add kernel infrastructure to map, and store, a bunch of PCI
BARs. For many IDE controllers, one must map 5-6 PCI BARs, but for
others, everything is aggregated into a single MMIO PCI BAR.

The remaining task is to marry the two attached patches, and the work is
complete.

Jeff


[unhandled content-type:application/x-bzip2][unhandled content-type:application/x-bzip2]
\
 
 \ /
  Last update: 2005-04-06 13:31    [W:0.026 / U:1.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site