Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0ed081ce203b0fd9a44763b70f41e36596f9b431
Commit:     0ed081ce203b0fd9a44763b70f41e36596f9b431
Parent:     1c1133e1ff850279d604581af31a400c830b0393
Author:     FUJITA Tomonori <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 17 12:21:35 2007 +0200
Committer:  Jens Axboe <[EMAIL PROTECTED]>
CommitDate: Tue Jul 17 12:21:35 2007 +0200

    bsg: minor cleanup
    
    - fix MODULE_DESCRIPTION typo.
    - unify MODULE_DESCRIPTION and bsg_version.
    
    Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]>
    Signed-off-by: Jens Axboe <[EMAIL PROTECTED]>
---
 block/bsg.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/block/bsg.c b/block/bsg.c
index 55a4303..8e5fcf2 100644
--- a/block/bsg.c
+++ b/block/bsg.c
@@ -33,7 +33,8 @@
 #include <scsi/scsi_driver.h>
 #include <scsi/sg.h>
 
-const static char bsg_version[] = "block layer sg (bsg) 0.4";
+#define BSG_DESCRIPTION        "Block layer SCSI generic (bsg) driver"
+#define BSG_VERSION    "0.4"
 
 struct bsg_device {
        request_queue_t *queue;
@@ -1072,7 +1073,8 @@ static int __init bsg_init(void)
        if (ret)
                goto remove_cdev;
 
-       printk(KERN_INFO "%s loaded (major %d)\n", bsg_version, bsg_major);
+       printk(KERN_INFO BSG_DESCRIPTION "version " BSG_VERSION
+              " loaded (major %d)\n", bsg_major);
        return 0;
 remove_cdev:
        printk(KERN_ERR "bsg: failed register scsi interface %d\n", ret);
@@ -1087,7 +1089,7 @@ destroy_kmemcache:
 }
 
 MODULE_AUTHOR("Jens Axboe");
-MODULE_DESCRIPTION("Block layer SGSI generic (sg) driver");
+MODULE_DESCRIPTION(BSG_DESCRIPTION);
 MODULE_LICENSE("GPL");
 
 device_initcall(bsg_init);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to