aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/chsc.c
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2007-07-27 06:29:19 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-07-27 06:29:19 -0400
commite556bbbd9d2ff2b158915945ac82e2ac7def4d2f (patch)
tree023ed3bc586284f2acb8e754b9eb4171f54b0f2c /drivers/s390/cio/chsc.c
parentb771aeac32a320ac52bc227252103d7d7fc48cad (diff)
[S390] cio: Clean up messages.
- Remove unneeded messages. - Move some messages into the debug feature. - Use dev_* where appropriate. - Use "cio: " prefix consistently. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/chsc.c')
-rw-r--r--drivers/s390/cio/chsc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/s390/cio/chsc.c b/drivers/s390/cio/chsc.c
index ea92ac4d6577..b38dc2478541 100644
--- a/drivers/s390/cio/chsc.c
+++ b/drivers/s390/cio/chsc.c
@@ -995,8 +995,8 @@ chsc_alloc_sei_area(void)
995{ 995{
996 sei_page = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); 996 sei_page = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA);
997 if (!sei_page) 997 if (!sei_page)
998 printk(KERN_WARNING"Can't allocate page for processing of " \ 998 CIO_MSG_EVENT(0, "Can't allocate page for processing of "
999 "chsc machine checks!\n"); 999 "chsc machine checks!\n");
1000 return (sei_page ? 0 : -ENOMEM); 1000 return (sei_page ? 0 : -ENOMEM);
1001} 1001}
1002 1002
@@ -1073,8 +1073,8 @@ chsc_determine_css_characteristics(void)
1073 1073
1074 scsc_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); 1074 scsc_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA);
1075 if (!scsc_area) { 1075 if (!scsc_area) {
1076 printk(KERN_WARNING"cio: Was not able to determine available" \ 1076 CIO_MSG_EVENT(0, "Was not able to determine available"
1077 "CHSCs due to no memory.\n"); 1077 "CHSCs due to no memory.\n");
1078 return -ENOMEM; 1078 return -ENOMEM;
1079 } 1079 }
1080 1080
@@ -1083,15 +1083,15 @@ chsc_determine_css_characteristics(void)
1083 1083
1084 result = chsc(scsc_area); 1084 result = chsc(scsc_area);
1085 if (result) { 1085 if (result) {
1086 printk(KERN_WARNING"cio: Was not able to determine " \ 1086 CIO_MSG_EVENT(0, "Was not able to determine available CHSCs, "
1087 "available CHSCs, cc=%i.\n", result); 1087 "cc=%i.\n", result);
1088 result = -EIO; 1088 result = -EIO;
1089 goto exit; 1089 goto exit;
1090 } 1090 }
1091 1091
1092 if (scsc_area->response.code != 1) { 1092 if (scsc_area->response.code != 1) {
1093 printk(KERN_WARNING"cio: Was not able to determine " \ 1093 CIO_MSG_EVENT(0, "Was not able to determine "
1094 "available CHSCs.\n"); 1094 "available CHSCs.\n");
1095 result = -EIO; 1095 result = -EIO;
1096 goto exit; 1096 goto exit;
1097 } 1097 }