mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
genetlink: pass family to functions using groups
This doesn't really change anything, but prepares for the next patch that will change the APIs to pass the group ID within the family, rather than the global group ID. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
62b68e99fa
commit
68eb55031d
18 changed files with 133 additions and 87 deletions
|
|
@ -1512,7 +1512,8 @@ static int pmcraid_notify_aen(
|
|||
}
|
||||
|
||||
result =
|
||||
genlmsg_multicast(skb, 0, pmcraid_event_family.id, GFP_ATOMIC);
|
||||
genlmsg_multicast(&pmcraid_event_family, skb, 0,
|
||||
pmcraid_event_family.id, GFP_ATOMIC);
|
||||
|
||||
/* If there are no listeners, genlmsg_multicast may return non-zero
|
||||
* value.
|
||||
|
|
|
|||
Loading…
Reference in a new issue