Commit c9e42614 authored by Victor Fusco's avatar Victor Fusco Committed by David S. Miller

[ATM]: [firestream] fix the sparse warning "implicit cast to nocast type"

Signed-off-by: default avatarVictor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarChas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5e8676d1
...@@ -1374,7 +1374,8 @@ static void reset_chip (struct fs_dev *dev) ...@@ -1374,7 +1374,8 @@ static void reset_chip (struct fs_dev *dev)
} }
} }
static void __devinit *aligned_kmalloc (int size, int flags, int alignment) static void __devinit *aligned_kmalloc (int size, unsigned int __nocast flags,
int alignment)
{ {
void *t; void *t;
...@@ -1464,7 +1465,8 @@ static inline int nr_buffers_in_freepool (struct fs_dev *dev, struct freepool *f ...@@ -1464,7 +1465,8 @@ static inline int nr_buffers_in_freepool (struct fs_dev *dev, struct freepool *f
does. I've seen "receive abort: no buffers" and things started does. I've seen "receive abort: no buffers" and things started
working again after that... -- REW */ working again after that... -- REW */
static void top_off_fp (struct fs_dev *dev, struct freepool *fp, int gfp_flags) static void top_off_fp (struct fs_dev *dev, struct freepool *fp,
unsigned int __nocast gfp_flags)
{ {
struct FS_BPENTRY *qe, *ne; struct FS_BPENTRY *qe, *ne;
struct sk_buff *skb; struct sk_buff *skb;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment