Changeset 35943


Ignore:
Timestamp:
2013-03-10T19:25:20+01:00 (5 years ago)
Author:
nbd
Message:

cns3xxx: use kmalloc instead of kzalloc for ethernet rx buffers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c

    r35942 r35943  
    515515 
    516516        for (received += rx_ring->alloc_count; received > 0; received--) { 
    517                 buf = kzalloc(RX_SEGMENT_ALLOC_SIZE, GFP_ATOMIC); 
     517                buf = kmalloc(RX_SEGMENT_ALLOC_SIZE, GFP_ATOMIC); 
    518518                if (!buf) 
    519519                        break; 
Note: See TracChangeset for help on using the changeset viewer.