X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=Documentation%2Fconnector%2Fconnector.txt;h=ad6e0ba7b38c66ed1e33a00e1b8fca85d5ab59e0;hb=2077776641b6ffb0049f13018d2e162340ec51c7;hp=57a314b14cf8ef948f1529c96fbfd5d74223d137;hpb=dd4efa44ebf2a8a0e5edf60a53eadec981b4b10a;p=linux-2.6-omap-h63xx.git diff --git a/Documentation/connector/connector.txt b/Documentation/connector/connector.txt index 57a314b14cf..ad6e0ba7b38 100644 --- a/Documentation/connector/connector.txt +++ b/Documentation/connector/connector.txt @@ -69,10 +69,11 @@ Unregisters new callback with connector core. struct cb_id *id - unique connector's user identifier. -void cn_netlink_send(struct cn_msg *msg, u32 __groups, int gfp_mask); +int cn_netlink_send(struct cn_msg *msg, u32 __groups, int gfp_mask); Sends message to the specified groups. It can be safely called from -any context, but may silently fail under strong memory pressure. +softirq context, but may silently fail under strong memory pressure. +If there are no listeners for given group -ESRCH can be returned. struct cn_msg * - message header(with attached data). u32 __group - destination group.