public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] drivers/scsi/sata_svw.c: fix compiler warnings
       [not found] <20050405234001.GA10931@njw.pdx.osdl.net>
@ 2005-04-05 23:56 ` Jeff Garzik
  0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2005-04-05 23:56 UTC (permalink / raw)
  To: Nick Wilson
  Cc: kernel-janitors, linux-ide, Linux Kernel, Andrew Morton,
	Linus Torvalds, Al Viro

[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]

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



[-- Attachment #2: patch.1.bz2 --]
[-- Type: application/x-bzip2, Size: 9040 bytes --]

[-- Attachment #3: patch.2.bz2 --]
[-- Type: application/x-bzip2, Size: 5827 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-05 23:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20050405234001.GA10931@njw.pdx.osdl.net>
2005-04-05 23:56 ` [PATCH] drivers/scsi/sata_svw.c: fix compiler warnings Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox