Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 370925
b: refs/heads/master
c: ba06d1e
h: refs/heads/master
i:
  370923: 4c05ba6
v: v3
  • Loading branch information
Wanlong Gao authored and Rusty Russell committed Mar 12, 2013
1 parent 8d0b5ef commit 62812bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 289d1054e972b445fe8f7bbcbebf40b1bec37384
refs/heads/master: ba06d1e1d3350a38476ea6b7655ba7c047baad67
8 changes: 4 additions & 4 deletions trunk/drivers/scsi/virtio_scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
*
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/module.h>
#include <linux/slab.h>
#include <linux/mempool.h>
Expand Down Expand Up @@ -794,8 +796,7 @@ static int __init init(void)

virtscsi_cmd_cache = KMEM_CACHE(virtio_scsi_cmd, 0);
if (!virtscsi_cmd_cache) {
printk(KERN_ERR "kmem_cache_create() for "
"virtscsi_cmd_cache failed\n");
pr_err("kmem_cache_create() for virtscsi_cmd_cache failed\n");
goto error;
}

Expand All @@ -804,8 +805,7 @@ static int __init init(void)
mempool_create_slab_pool(VIRTIO_SCSI_MEMPOOL_SZ,
virtscsi_cmd_cache);
if (!virtscsi_cmd_pool) {
printk(KERN_ERR "mempool_create() for"
"virtscsi_cmd_pool failed\n");
pr_err("mempool_create() for virtscsi_cmd_pool failed\n");
goto error;
}
ret = register_virtio_driver(&virtio_scsi_driver);
Expand Down

0 comments on commit 62812bc

Please sign in to comment.