From patchwork Sat Jan 8 19:47:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 77980 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 1E9B3B7082 for ; Sun, 9 Jan 2011 06:48:45 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751250Ab1AHTsn (ORCPT ); Sat, 8 Jan 2011 14:48:43 -0500 Received: from mail.dev.rtsoft.ru ([213.79.90.226]:35759 "HELO mail.dev.rtsoft.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751077Ab1AHTsm (ORCPT ); Sat, 8 Jan 2011 14:48:42 -0500 Received: (qmail 21809 invoked from network); 8 Jan 2011 19:48:41 -0000 Received: from unknown (HELO wasted.dev.rtsoft.ru) (192.168.1.70) by 0 with SMTP; 8 Jan 2011 19:48:41 -0000 To: jgarzik@pobox.com, linux-ide@vger.kernel.org Subject: [PATCH 1/2] pata_hpt366: use pr_warning(...) instead of printk(KERN_WARNING ...) Cc: alan@lxorguk.ukuu.org.uk Content-Disposition: inline From: Sergei Shtylyov Organization: MontaVista Software Inc. Date: Sat, 8 Jan 2011 22:47:21 +0300 MIME-Version: 1.0 Message-Id: <201101082247.21936.sshtylyov@ru.mvista.com> Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org Signed-off-by: Sergei Shtylyov --- The patch is against the recent Linus' tree plus the patch I have re-posted today: http://marc.info/?l=linux-ide&m=129450185904620 drivers/ata/pata_hpt366.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux-2.6/drivers/ata/pata_hpt366.c =================================================================== --- linux-2.6.orig/drivers/ata/pata_hpt366.c +++ linux-2.6/drivers/ata/pata_hpt366.c @@ -25,7 +25,7 @@ #include #define DRV_NAME "pata_hpt366" -#define DRV_VERSION "0.6.9" +#define DRV_VERSION "0.6.10" struct hpt_clock { u8 xfer_mode; @@ -160,9 +160,8 @@ static int hpt_dma_blacklisted(const str while (list[i] != NULL) { if (!strcmp(list[i], model_num)) { - printk(KERN_WARNING DRV_NAME - ": %s is not supported for %s.\n", - modestr, list[i]); + pr_warning(DRV_NAME ": %s is not supported for %s.\n", + modestr, list[i]); return 1; } i++;