block: Fix some inconsistencies in block_{read, write} implementors
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | ata_piix: Fix checkpatch issuesdrivers/ drivers/ | +232 | 0 replies | |
| 2/9 | ata_piix: sata_write must take a const void argument.drivers/ drivers/ | +2 | 0 replies | |
| 3/9 | dwc_ahsata: Make sata_write() comply with <part.h>drivers/ | +4 | 1 reply | |
| 4/9 | fsl_sata: Make sata_{read, write}() comply with <part.h>drivers/ | +6 | 0 replies | |
| 5/9 | pata_bfin: Make sata_{read, write}() comply with <part.h>drivers/ | +2 | 0 replies | |
| 6/9 | sata_dwc: Make sata_write() use const void, per <part.h>drivers/ | +1 | 0 replies | |
| 7/9 | sil_sata: Make sata_write() comply with <part.h>drivers/ | +3 | 0 replies | |
| 8/9 | ide.h: Make ide_(read|write) match block_dev_desc_t block_(read|write)include/ | +2 | 0 replies | |
| 9/9 | sata.h: Make all sata/ata drivers include <sata.h>drivers/ drivers/ drivers/ +9 more | +12 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Stefano Babic |
|---|---|
| 1/9 | |
| 2/9 | |
| 3/9 | A-b |
| 4/9 | |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v1 0/9] block: Fix some inconsistencies in block_{read, write} implementors
Hey all,
I ran into this problem while testing Pavel Herrmann's patch to move externs to <sata.h>. To fix these problems I've taken over the patch. Pavel's patch makes all of the sata drivers include <sata.h>, and this exposed a number of build problems due to type mis-match. Examining these mis-matches leads to this series. Both <ide.h> and <sata.h> set prototypes for block_dev_desc_t->block_{read,write} implementors that did not match the prototype. First we fix these implemenators (and in the case of ata_piix.[ch] fix a large number of checkpatch issues. Then we fix the prototypes in the headers.
--
Tom
Pavel Herrmann (1):
sata.h: Make all sata/ata drivers include <sata.h>
Tom Rini (8):
ata_piix: Fix checkpatch issues
ata_piix: sata_write must take a const void argument.
dwc_ahsata: Make sata_write() comply with <part.h>
fsl_sata: Make sata_{read,write}() comply with <part.h>
pata_bfin: Make sata_{read,write}() comply with <part.h>
sata_dwc: Make sata_write() use const void, per <part.h>
sil_sata: Make sata_write() comply with <part.h> ide.h: Make ide_(read|write) match block_dev_desc_t
block_(read|write)
drivers/block/ata_piix.c | 455 ++++++++++++++++++++---------------------- drivers/block/ata_piix.h | 46 ++--- drivers/block/dwc_ahsata.c | 9 +- drivers/block/dwc_ahsata.h | 2 - drivers/block/fsl_sata.c | 13 +- drivers/block/pata_bfin.c | 5 +- drivers/block/pata_bfin.h | 2 - drivers/block/sata_dwc.c | 5 +- drivers/block/sata_sil.c | 7 +- drivers/block/sata_sil.h | 2 - drivers/block/sata_sil3114.c | 2 +- include/ide.h | 4 +- include/sata.h | 7 +- 13 files changed, 260 insertions(+), 299 deletions(-)
Signature · 1 line
1.7.9.5