Skip to content

Use IS_ERR() rather than a NULL check when necessary.

Cyril Roelandt kernel-janitors linux-media linux-spi lkml netdev 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5staging: omap-thermal: fix error check in omap_thermal_expose_sensor() and in omap_thermal_register_cpu_cooling().drivers/staging/omap-thermal/omap-thermal-common.c+2 -21 reply
2/5media: davinci: fix return value check in vpbe_display_reqbufs().drivers/media/platform/davinci/vpbe_display.c+1 -11 reply
3/5c2port: fix return value check in duramar2150_c2port_init().drivers/misc/c2port/c2port-duramar2150.c+1 -10 replies
4/5net: sfc: fix return value check in efx_ptp_probe_channel().drivers/net/ethernet/sfc/ptp.c+1 -12 replies
5/5spi: fix return value check in hspi_probe().drivers/spi/spi-sh-hspi.c+1 -17 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchKuninori MorimotoEduardo ValentinBen Hutchings
1/5A-b
2/5
3/5
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] Use IS_ERR() rather than a NULL check when necessary.

The following five patches replace NULL checks by calls to IS_ERR() when checking the return values of functions that return ERR_PTR() on error.

Regards,
Cyril Roelandt.
---

Cyril Roelandt (5):
staging: omap-thermal: fix error check in
omap_thermal_expose_sensor() and in omap_thermal_register_cpu_cooling().
media: davinci: fix return value check in vpbe_display_reqbufs().
c2port: fix return value check in duramar2150_c2port_init().
net: sfc: fix return value check in efx_ptp_probe_channel().
spi: fix return value check in hspi_probe().

 drivers/media/platform/davinci/vpbe_display.c      |    2 +-
 drivers/misc/c2port/c2port-duramar2150.c           |    2 +-
 drivers/net/ethernet/sfc/ptp.c                     |    2 +-
 drivers/spi/spi-sh-hspi.c                          |    2 +-
 drivers/staging/omap-thermal/omap-thermal-common.c |    4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
1.7.10.4