Re: [PATCH] drivers/scsi/sata_svw.c: fix compiler warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: patch.1.bz2
Description: BZip2 compressed data

Attachment: patch.2.bz2
Description: BZip2 compressed data


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux