On Tue, Aug 04, 2015 at 07:19:01PM +0100, Salah Triki wrote:
> @@ -508,14 +509,15 @@ static struct zram_meta *zram_meta_alloc(int device_id, 
> u64 disksize)
>       num_pages = disksize >> PAGE_SHIFT;
>       meta->table = vzalloc(num_pages * sizeof(*meta->table));
>       if (!meta->table) {
> -             pr_err("Error allocating zram address table\n");
> +             dev_err("Error allocating zram address table for device %d",
> +                     device_id);

Does this even compile?

regards,
dan carpenter

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to