* [PATCH] s390/dasd: Cocci spatch "ptr_ret.spatch"
@ 2013-06-01 9:52 Thomas Meyer
0 siblings, 0 replies; only message in thread
From: Thomas Meyer @ 2013-06-01 9:52 UTC (permalink / raw)
To: linux-s390, linux-kernel
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
---
diff -u -p a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c
--- a/drivers/s390/block/dasd_eckd.c
+++ b/drivers/s390/block/dasd_eckd.c
@@ -2968,7 +2968,7 @@ static int prepare_itcw(struct itcw *itc
dcw = itcw_add_dcw(itcw, pfx_cmd, 0,
&pfxdata, sizeof(pfxdata), total_data_size);
- return IS_ERR(dcw) ? PTR_ERR(dcw) : 0;
+ return PTR_RET(dcw);
}
static struct dasd_ccw_req *dasd_eckd_build_cp_tpm_track(
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-01 9:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-01 9:52 [PATCH] s390/dasd: Cocci spatch "ptr_ret.spatch" Thomas Meyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox