u-boot/drivers/ata
Masahiro Yamada 9b643e312d treewide: replace with error() with pr_err()
U-Boot widely uses error() as a bit noisier variant of printf().

This macro causes name conflict with the following line in
include/linux/compiler-gcc.h:

  # define __compiletime_error(message) __attribute__((error(message)))

This prevents us from using __compiletime_error(), and makes it
difficult to fully sync BUILD_BUG macros with Linux.  (Notice
Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)

Let's convert error() into now treewide-available pr_err().

Done with the help of Coccinelle, excluing tools/ directory.

The semantic patch I used is as follows:

// <smpl>
@@@@
-error
+pr_err
 (...)
// </smpl>

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Re-run Coccinelle]
Signed-off-by: Tom Rini <trini@konsulko.com>
2017-10-04 11:59:44 -04:00
..
ahci-pci.c ahci-pci: Update call to ahci_probe_scsi_pci() 2017-08-03 14:48:48 -04:00
ahci-uclass.c dm: ahci: Correct uclass private data 2017-08-01 11:58:01 +09:00
ahci.c dm: ahci: Correct uclass private data 2017-08-01 11:58:01 +09:00
dwc_ahci.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
dwc_ahsata.c dm: sata: dwc_ahsata: Add support for driver model 2017-08-17 16:44:17 +09:00
dwc_ahsata_priv.h dm: sata: dw_sata: Rename the dwc_ahsata private header 2017-08-17 16:44:17 +09:00
fsl_sata.c sata: Move drivers into new drivers/ata directory 2017-07-11 10:08:19 -06:00
fsl_sata.h sata: Move drivers into new drivers/ata directory 2017-07-11 10:08:19 -06:00
Kconfig Merge git://git.denx.de/u-boot-x86 2017-08-01 15:38:32 -04:00
libata.c sata: Move drivers into new drivers/ata directory 2017-07-11 10:08:19 -06:00
Makefile dm: scsi: Add a generic PCI-based AHCI driver 2017-08-01 20:17:02 +08:00
mvsata_ide.c sata: Move drivers into new drivers/ata directory 2017-07-11 10:08:19 -06:00
mxc_ata.c sata: Move drivers into new drivers/ata directory 2017-07-11 10:08:19 -06:00
sata.c dm: sata: Update the AHCI uclass to support operations 2017-08-17 16:44:17 +09:00
sata_ceva.c dm: scsi: Add operations for SCSI devices 2017-07-11 10:08:19 -06:00
sata_dwc.c dma: import linux/dma-direction.h to consolidate enum dma_data_direction 2017-09-12 18:02:23 -04:00
sata_dwc.h dma: import linux/dma-direction.h to consolidate enum dma_data_direction 2017-09-12 18:02:23 -04:00
sata_mv.c sata: Move drivers into new drivers/ata directory 2017-07-11 10:08:19 -06:00
sata_sandbox.c sata: Move drivers into new drivers/ata directory 2017-07-11 10:08:19 -06:00
sata_sil.c sata: Move drivers into new drivers/ata directory 2017-07-11 10:08:19 -06:00
sata_sil.h sata: Move drivers into new drivers/ata directory 2017-07-11 10:08:19 -06:00
sata_sil3114.c sata: Move drivers into new drivers/ata directory 2017-07-11 10:08:19 -06:00
sata_sil3114.h sata: Move drivers into new drivers/ata directory 2017-07-11 10:08:19 -06:00