Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759110AbYFYOkX (ORCPT ); Wed, 25 Jun 2008 10:40:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755863AbYFYOgl (ORCPT ); Wed, 25 Jun 2008 10:36:41 -0400 Received: from mtagate3.de.ibm.com ([195.212.29.152]:11022 "EHLO mtagate3.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758039AbYFYOgf (ORCPT ); Wed, 25 Jun 2008 10:36:35 -0400 Message-Id: <20080625143616.727686124@de.ibm.com> References: <20080625143459.100139455@de.ibm.com> User-Agent: quilt/0.46-1 Date: Wed, 25 Jun 2008 16:35:20 +0200 From: Martin Schwidefsky To: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Cc: Jeff Garzik , "Klaus-D. Wacker" , Martin Schwidefsky Subject: [patch 21/21] Cleanup lcs printk messages. Content-Disposition: inline; filename=820-printk-lcs-cleanup.diff Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2069 Lines: 66 From: Klaus-D. Wacker Cc: Jeff Garzik Signed-off-by: Klaus-D. Wacker Signed-off-by: Martin Schwidefsky --- drivers/s390/net/lcs.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) Index: quilt-2.6/drivers/s390/net/lcs.c =================================================================== --- quilt-2.6.orig/drivers/s390/net/lcs.c +++ quilt-2.6/drivers/s390/net/lcs.c @@ -1762,7 +1762,7 @@ lcs_get_control(struct lcs_card *card, s netif_carrier_off(card->dev); break; default: - PRINT_INFO("UNRECOGNIZED LGW COMMAND\n"); + LCS_DBF_TEXT(5, trace, "noLGWcmd"); break; } } else @@ -2043,13 +2043,12 @@ lcs_probe_device(struct ccwgroup_device LCS_DBF_TEXT(2, setup, "add_dev"); card = lcs_alloc_card(); if (!card) { - PRINT_ERR("Allocation of lcs card failed\n"); + LCS_DBF_TEXT_(2, setup, " rc%d", -ENOMEM); put_device(&ccwgdev->dev); return -ENOMEM; } ret = sysfs_create_group(&ccwgdev->dev.kobj, &lcs_attr_group); if (ret) { - PRINT_ERR("Creating attributes failed"); lcs_free_card(card); put_device(&ccwgdev->dev); return ret; @@ -2141,7 +2140,6 @@ lcs_new_device(struct ccwgroup_device *c default: LCS_DBF_TEXT(3, setup, "errinit"); PRINT_ERR("LCS: Initialization failed\n"); - PRINT_ERR("LCS: No device found!\n"); goto out; } if (!dev) @@ -2270,7 +2268,6 @@ lcs_remove_device(struct ccwgroup_device if (!card) return; - PRINT_INFO("Removing lcs group device ....\n"); LCS_DBF_TEXT(3, setup, "remdev"); LCS_DBF_HEX(3, setup, &card, sizeof(void*)); if (ccwgdev->state == CCWGROUP_ONLINE) { -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/