After allocating sata->cmd_hdr_tbl_offset we have to check this variable and not variable sata. The problem was indicated by cppcheck. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Tom Rini <trini@konsulko.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| ahci-uclass.c | ||
| ahci.c | ||
| blk-uclass.c | ||
| blk_legacy.c | ||
| blkcache.c | ||
| dwc_ahsata.c | ||
| dwc_ahsata.h | ||
| fsl_sata.c | ||
| fsl_sata.h | ||
| ftide020.c | ||
| ftide020.h | ||
| libata.c | ||
| mvsata_ide.c | ||
| mxc_ata.c | ||
| sandbox.c | ||
| sandbox_scsi.c | ||
| sata_ceva.c | ||
| sata_dwc.c | ||
| sata_dwc.h | ||
| sata_mv.c | ||
| sata_sandbox.c | ||
| sata_sil.c | ||
| sata_sil.h | ||
| sata_sil3114.c | ||
| sata_sil3114.h | ||
| scsi-uclass.c | ||
| sil680.c | ||
| sym53c8xx.c | ||
| systemace.c | ||