tools headers UAPI: Sync drm/i915_drm.h with the kernel sources
[linux-2.6-microblaze.git] / block / bsg-lib.c
index d185396..330fede 100644 (file)
@@ -207,7 +207,7 @@ static int bsg_map_buffer(struct bsg_buffer *buf, struct request *req)
 
        BUG_ON(!req->nr_phys_segments);
 
-       buf->sg_list = kzalloc(sz, GFP_KERNEL);
+       buf->sg_list = kmalloc(sz, GFP_KERNEL);
        if (!buf->sg_list)
                return -ENOMEM;
        sg_init_table(buf->sg_list, req->nr_phys_segments);