All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v1 0/9] block: Fix some inconsistencies in block_{read, write} implementors
@ 2012-09-29 20:51 Tom Rini
  2012-09-29 20:51 ` [U-Boot] [PATCH v1 1/9] ata_piix: Fix checkpatch issues Tom Rini
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Tom Rini @ 2012-09-29 20:51 UTC (permalink / raw)
  To: u-boot

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(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-10-09 17:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-29 20:51 [U-Boot] [PATCH v1 0/9] block: Fix some inconsistencies in block_{read, write} implementors Tom Rini
2012-09-29 20:51 ` [U-Boot] [PATCH v1 1/9] ata_piix: Fix checkpatch issues Tom Rini
2012-09-29 20:51 ` [U-Boot] [PATCH v1 2/9] ata_piix: sata_write must take a const void argument Tom Rini
2012-09-29 20:51 ` [U-Boot] [PATCH v1 3/9] dwc_ahsata: Make sata_write() comply with <part.h> Tom Rini
2012-09-30  9:01   ` stefano babic
2012-09-29 20:51 ` [U-Boot] [PATCH v1 4/9] fsl_sata: Make sata_{read, write}() " Tom Rini
2012-09-29 20:51 ` [U-Boot] [PATCH v1 5/9] pata_bfin: " Tom Rini
2012-09-29 20:51 ` [U-Boot] [PATCH v1 6/9] sata_dwc: Make sata_write() use const void, per <part.h> Tom Rini
2012-09-29 20:51 ` [U-Boot] [PATCH v1 7/9] sil_sata: Make sata_write() comply with <part.h> Tom Rini
2012-09-29 20:51 ` [U-Boot] [PATCH v1 8/9] ide.h: Make ide_(read|write) match block_dev_desc_t block_(read|write) Tom Rini
2012-09-29 20:51 ` [U-Boot] [PATCH v1 9/9] sata.h: Make all sata/ata drivers include <sata.h> Tom Rini
2012-10-09 17:14 ` [U-Boot] [PATCH v1 0/9] block: Fix some inconsistencies in block_{read, write} implementors Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.