... as being the simpler variant. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- drivers/xen/xen-scsiback.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- 4.7-rc6-prefer-xenbus_write.orig/drivers/xen/xen-scsiback.c +++ 4.7-rc6-prefer-xenbus_write/drivers/xen/xen-scsiback.c @@ -1260,8 +1260,8 @@ static int scsiback_probe(struct xenbus_ INIT_LIST_HEAD(&info->v2p_entry_lists); spin_lock_init(&info->v2p_lock); - err = xenbus_printf(XBT_NIL, dev->nodename, "feature-sg-grant", "%u", - SG_ALL); + err = xenbus_write(XBT_NIL, dev->nodename, "feature-sg-grant", + __stringify(SG_ALL)); if (err) xenbus_dev_error(dev, err, "writing feature-sg-grant"); -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html