Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1438274
| From | "Jan Beulich" <JBeulich@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] xen-fbfront: prefer xenbus_write() over xenbus_printf() where possible |
| Date | 2016-07-07 10:00 +0200 |
| Message-ID | <rSco3-3Zm-59@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
... as being the simpler variant. Signed-off-by: Jan Beulich <jbeulich@suse.com> --- drivers/video/fbdev/xen-fbfront.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- 4.7-rc6-prefer-xenbus_write.orig/drivers/video/fbdev/xen-fbfront.c +++ 4.7-rc6-prefer-xenbus_write/drivers/video/fbdev/xen-fbfront.c @@ -593,11 +593,11 @@ static int xenfb_connect_backend(struct evtchn); if (ret) goto error_xenbus; - ret = xenbus_printf(xbt, dev->nodename, "protocol", "%s", - XEN_IO_PROTO_ABI_NATIVE); + ret = xenbus_write(xbt, dev->nodename, "protocol", + XEN_IO_PROTO_ABI_NATIVE); if (ret) goto error_xenbus; - ret = xenbus_printf(xbt, dev->nodename, "feature-update", "1"); + ret = xenbus_write(xbt, dev->nodename, "feature-update", "1"); if (ret) goto error_xenbus; ret = xenbus_transaction_end(xbt, 0);
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] xen-fbfront: prefer xenbus_write() over xenbus_printf() where possible "Jan Beulich" <JBeulich@suse.com> - 2016-07-07 10:00 +0200
csiph-web