Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9660
b: refs/heads/master
c: 7b5b3f3
h: refs/heads/master
v: v3
  • Loading branch information
Randy Dunlap authored and David S. Miller committed Oct 5, 2005
1 parent b1aba35 commit 538d96e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a5181ab06ddca8071b4eb54ac2c314f7d24825d4
refs/heads/master: 7b5b3f3d826ea87c224c66de9c95c09e7f110ecd
10 changes: 4 additions & 6 deletions trunk/drivers/atm/fore200e.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,12 @@ fore200e_irq_itoa(int irq)


static void*
fore200e_kmalloc(int size, int flags)
fore200e_kmalloc(int size, unsigned int __nocast flags)
{
void* chunk = kmalloc(size, flags);
void *chunk = kzalloc(size, flags);

if (chunk)
memset(chunk, 0x00, size);
else
printk(FORE200E "kmalloc() failed, requested size = %d, flags = 0x%x\n", size, flags);
if (!chunk)
printk(FORE200E "kmalloc() failed, requested size = %d, flags = 0x%x\n", size, flags);

return chunk;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/atmdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ static inline void atm_dev_put(struct atm_dev *dev)

int atm_charge(struct atm_vcc *vcc,int truesize);
struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc,int pdu_size,
int gfp_flags);
unsigned int __nocast gfp_flags);
int atm_pcr_goal(struct atm_trafprm *tp);

void vcc_release_async(struct atm_vcc *vcc, int reply);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/atm/atm_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int atm_charge(struct atm_vcc *vcc,int truesize)


struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc,int pdu_size,
int gfp_flags)
unsigned int __nocast gfp_flags)
{
struct sock *sk = sk_atm(vcc);
int guess = atm_guess_pdu2truesize(pdu_size);
Expand Down

0 comments on commit 538d96e

Please sign in to comment.