From patchwork Tue Jun 30 16:29:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rudhresh X-Patchwork-Id: 6697351 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BAFCCC05AC for ; Tue, 30 Jun 2015 16:29:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EF054203F7 for ; Tue, 30 Jun 2015 16:29:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C692720504 for ; Tue, 30 Jun 2015 16:29:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751804AbbF3Q3t (ORCPT ); Tue, 30 Jun 2015 12:29:49 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:36448 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750952AbbF3Q3q (ORCPT ); Tue, 30 Jun 2015 12:29:46 -0400 Received: by paceq1 with SMTP id eq1so7847228pac.3; Tue, 30 Jun 2015 09:29:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=KXQYsp1CF/9B1KOgZ7Rqi/F7OKP7RxT9mqD3auFMgxI=; b=yDDenWgW56zHx0Nogebob2bsRMWXxRaFGWUyPfGJZTBb++wICaLkGv9PdKlA9tiCYi 5qNiBi+/m6OyGxKyOm8RKNdgybX4Wmn0/C93HI02zxz2vaNR8CrG71JE91YaKZN3vHuo CddLm+WyomENpEFaLaZg5P3IJMjRS9SUUKQ4+gzugkibqeTa7L6WfYsfrMQYTRlQY9or 0OGw0/b0ybZXY4w9wDadzaGkMT/NOnifBOsE6cHaj4exS2W9n6YIVdoQJpCqvgnqTYCR X+S5BAYhOEMN1h/IUrsO152XTVaK+2OW+FXhoIqlKUW9KASsoVOk3DPSWQzuDIHli91Z YOhw== X-Received: by 10.66.228.73 with SMTP id sg9mr45892664pac.88.1435681785483; Tue, 30 Jun 2015 09:29:45 -0700 (PDT) Received: from linux-lbhw.site.mshome.net ([117.249.131.173]) by mx.google.com with ESMTPSA id ho10sm46068326pbc.27.2015.06.30.09.29.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jun 2015 09:29:44 -0700 (PDT) From: Rudhresh Kumar J X-Google-Original-From: Rudhresh Kumar J To: fthain@telegraphics.com.au Cc: schmitzmic@gmail.com, JBottomley@odin.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Rudhresh Kumar J , Rudhresh Kumar J Subject: [PATCH] SCSI: DTC: Adding KERN_ facility level Date: Tue, 30 Jun 2015 21:59:16 +0530 Message-Id: <1435681756-5508-1-git-send-email-rudhreshj@cdac.in> X-Mailer: git-send-email 1.8.4 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixed coding style issue by adding KERN_ facility level to some of the printk functions. Signed-off-by: Rudhresh Kumar J --- drivers/scsi/dtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c index 4c74c7b..a3a2a71 100644 --- a/drivers/scsi/dtc.c +++ b/drivers/scsi/dtc.c @@ -156,7 +156,7 @@ static int __init dtc_setup(char *str) get_options(str, ARRAY_SIZE(ints), ints); if (ints[0] != 2) - printk("dtc_setup: usage dtc=address,irq\n"); + printk(KERN_DEBUG "dtc_setup: usage dtc=address,irq\n"); else if (commandline_current < NO_OVERRIDES) { overrides[commandline_current].address = ints[1]; overrides[commandline_current].irq = ints[2]; @@ -272,7 +272,7 @@ found: instance->irq = NO_IRQ; #endif #if defined(DTCDEBUG) && (DTCDEBUG & DTCDEBUG_INIT) - printk("scsi%d : irq = %d\n", instance->host_no, instance->irq); + printk(KERN_DEBUG "scsi%d : irq = %d\n", instance->host_no, instance->irq); #endif ++current_override;