aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/connector/connector.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2005-10-05 01:41:16 -0400
committerDavid S. Miller <davem@davemloft.net>2005-10-05 01:41:16 -0400
commit17b698856328a42d5874ac87640e2cd84a824eef (patch)
treef5458a111f80e8f903ed3d921c67391183a7d367 /drivers/connector/connector.c
parentde54f3907d2f5d8e25cfafe513811f146b250dee (diff)
[CONNECTOR]: fix sparse gfp nocast warnings
Fix implicit nocast warnings in connector code: drivers/connector/connector.c:102:24: warning: implicit cast to nocast type drivers/connector/connector.c:114:45: warning: implicit cast to nocast type Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/connector/connector.c')
-rw-r--r--drivers/connector/connector.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/connector/connector.c b/drivers/connector/connector.c
index bb0b3a8de14..1422285d537 100644
--- a/drivers/connector/connector.c
+++ b/drivers/connector/connector.c
@@ -69,7 +69,8 @@ int cn_already_initialized = 0;
69 * a new message. 69 * a new message.
70 * 70 *
71 */ 71 */
72int cn_netlink_send(struct cn_msg *msg, u32 __group, int gfp_mask) 72int cn_netlink_send(struct cn_msg *msg, u32 __group,
73 unsigned int __nocast gfp_mask)
73{ 74{
74 struct cn_callback_entry *__cbq; 75 struct cn_callback_entry *__cbq;
75 unsigned int size; 76 unsigned int size;