diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-16 15:19:35 -0700 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-16 15:19:35 -0700 | 
| commit | 6445ced8670f37cfc2c5e24a9de9b413dbfc788d (patch) | |
| tree | 7c98481159008a4080cda929ea8c7bc7598a2c39 /include/linux/connector.h | |
| parent | e6bee325e49f17c65c1fd66e9e8b348c85788341 (diff) | |
| parent | 12bb12fac06d6212be9a5ed282c5670d4e90747f (diff) | |
| download | olio-linux-3.10-6445ced8670f37cfc2c5e24a9de9b413dbfc788d.tar.xz olio-linux-3.10-6445ced8670f37cfc2c5e24a9de9b413dbfc788d.zip  | |
Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6
* 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (961 commits)
  staging: hv: fix memory leaks
  staging: hv: Remove NULL check before kfree
  Staging: hv: Get rid of vmbus_child_dev_add()
  Staging: hv: Change the signature for vmbus_child_device_register()
  Staging: hv: Get rid of vmbus_cleanup() function
  Staging: hv: Get rid of vmbus_dev_rm() function
  Staging: hv: Change the signature for vmbus_on_isr()
  Staging: hv: Eliminate vmbus_event_dpc()
  Staging: hv: Get rid of the function vmbus_msg_dpc()
  Staging: hv: Change the signature for vmbus_cleanup()
  Staging: hv: Simplify root device management
  staging: rtl8192e: Don't copy dev pointer to skb
  staging: rtl8192e: Pass priv to cmdpkt functions
  staging: rtl8192e: Pass priv to firmware download functions
  staging: rtl8192e: Pass priv to rtl8192_interrupt
  staging: rtl8192e: Pass rtl8192_priv to dm functions
  staging: rtl8192e: Pass ieee80211_device to callbacks
  staging: rtl8192e: Pass ieee80211_device to callbacks
  staging: rtl8192e: Pass ieee80211_device to callbacks
  staging: rtl8192e: Pass ieee80211_device to callbacks
  ...
Diffstat (limited to 'include/linux/connector.h')
| -rw-r--r-- | include/linux/connector.h | 12 | 
1 files changed, 8 insertions, 4 deletions
diff --git a/include/linux/connector.h b/include/linux/connector.h index 7e8ca75d2da..bcafc942e5e 100644 --- a/include/linux/connector.h +++ b/include/linux/connector.h @@ -42,8 +42,9 @@  #define CN_VAL_DM_USERSPACE_LOG		0x1  #define CN_IDX_DRBD			0x8  #define CN_VAL_DRBD			0x1 +#define CN_KVP_IDX			0x9	/* HyperV KVP */ -#define CN_NETLINK_USERS		8 +#define CN_NETLINK_USERS		9  /*   * Maximum connector's message size. @@ -128,14 +129,17 @@ struct cn_dev {  	struct cn_queue_dev *cbdev;  }; -int cn_add_callback(struct cb_id *, char *, void (*callback) (struct cn_msg *, struct netlink_skb_parms *)); +int cn_add_callback(struct cb_id *id, const char *name, +		    void (*callback)(struct cn_msg *, struct netlink_skb_parms *));  void cn_del_callback(struct cb_id *);  int cn_netlink_send(struct cn_msg *, u32, gfp_t); -int cn_queue_add_callback(struct cn_queue_dev *dev, char *name, struct cb_id *id, void (*callback)(struct cn_msg *, struct netlink_skb_parms *)); +int cn_queue_add_callback(struct cn_queue_dev *dev, const char *name, +			  struct cb_id *id, +			  void (*callback)(struct cn_msg *, struct netlink_skb_parms *));  void cn_queue_del_callback(struct cn_queue_dev *dev, struct cb_id *id); -struct cn_queue_dev *cn_queue_alloc_dev(char *name, struct sock *); +struct cn_queue_dev *cn_queue_alloc_dev(const char *name, struct sock *);  void cn_queue_free_dev(struct cn_queue_dev *dev);  int cn_cb_equal(struct cb_id *, struct cb_id *);  |