From: Haolin Li
A pointer can not be negative. Use macro IS_ERR_OR_NULL() for checking.
Signed-off-by: Haolin Li
---
drivers/mmc/rockchip_sdhci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/rockchip_sdhci.c b/drivers/mmc/rockchip_sdhci.c
index f3f9d83ba3..a4
From: Haolin Li
The type of the return value of phy_read() and phy_read_mmd() is int.
Change the variable to not be unsigned so that we not get into an
unsigned compared against 0.
Signed-off-by: Haolin Li
---
drivers/net/phy/dp83867.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(
From: Haolin Li
The value of cnt is overwritten without being used.
Signed-off-by: Haolin Li
---
drivers/spi/mxc_spi.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c
index 3c53de165d..5adfdf8b5f 100644
--- a/drivers/spi/mxc_spi.c
+++ b/driver
From: Haolin Li
According to datasheet, the upper four bits are reserved or used for
reflecting the ECC status of the accumulated pages. The error bits
number for the worst segment of the current page is encoded on lower
four bits. Fix it by masking the upper bits.
This same issue has been alrea
From: Haolin Li
Trivial typo fix.
Signed-off-by: Haolin Li
---
drivers/mtd/nand/raw/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index a901ce5511..6421e05da1 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++
5 matches
Mail list logo