diff options
author | David Fries <David@Fries.net> | 2014-01-15 23:29:19 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 18:40:17 -0500 |
commit | ac8f73305eea8a12fdcb6090417eb93a74efbcbd (patch) | |
tree | 62e1686b23716165be9ab5de335a0a59bab12908 /drivers/video/uvesafb.c | |
parent | 9fcbbac5ded489c3a4e121343db999dd51cd6c75 (diff) |
connector: add portid to unicast in addition to broadcasting
This allows replying only to the requestor portid while still
supporting broadcasting. Pass 0 to portid for the previous behavior.
Signed-off-by: David Fries <David@Fries.net>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/uvesafb.c')
-rw-r--r-- | drivers/video/uvesafb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c index 256fba7f4641..1f38445014c1 100644 --- a/drivers/video/uvesafb.c +++ b/drivers/video/uvesafb.c | |||
@@ -190,7 +190,7 @@ static int uvesafb_exec(struct uvesafb_ktask *task) | |||
190 | uvfb_tasks[seq] = task; | 190 | uvfb_tasks[seq] = task; |
191 | mutex_unlock(&uvfb_lock); | 191 | mutex_unlock(&uvfb_lock); |
192 | 192 | ||
193 | err = cn_netlink_send(m, 0, GFP_KERNEL); | 193 | err = cn_netlink_send(m, 0, 0, GFP_KERNEL); |
194 | if (err == -ESRCH) { | 194 | if (err == -ESRCH) { |
195 | /* | 195 | /* |
196 | * Try to start the userspace helper if sending | 196 | * Try to start the userspace helper if sending |
@@ -204,7 +204,7 @@ static int uvesafb_exec(struct uvesafb_ktask *task) | |||
204 | "helper is installed and executable\n"); | 204 | "helper is installed and executable\n"); |
205 | } else { | 205 | } else { |
206 | v86d_started = 1; | 206 | v86d_started = 1; |
207 | err = cn_netlink_send(m, 0, gfp_any()); | 207 | err = cn_netlink_send(m, 0, 0, gfp_any()); |
208 | if (err == -ENOBUFS) | 208 | if (err == -ENOBUFS) |
209 | err = 0; | 209 | err = 0; |
210 | } | 210 | } |