Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936373AbZDCTyt (ORCPT ); Fri, 3 Apr 2009 15:54:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S935795AbZDCTyX (ORCPT ); Fri, 3 Apr 2009 15:54:23 -0400 Received: from mail-bw0-f169.google.com ([209.85.218.169]:37371 "EHLO mail-bw0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761519AbZDCTyW (ORCPT ); Fri, 3 Apr 2009 15:54:22 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=qa42hcItzFuluo47GdhusAZoSHnVvJaxQo3exS1d2fFgYhrXiJ1EHxu5BXrBrHjyVn Hf63LtScU6r8C+IQB8J0PK5oas27ZtBJQgg+7oH38/IWn1XD3IZieJrtLPpnYdq7u0Ae Zzlp3N5zd2ZXfiJPzjUvHAMojufov0j5jTOrg= From: Bartlomiej Zolnierkiewicz To: linux-ide@vger.kernel.org Cc: Borislav Petkov , Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org Date: Fri, 03 Apr 2009 21:58:04 +0200 Message-Id: <20090403195804.31438.26967.sendpatchset@localhost.localdomain> In-Reply-To: <20090403195757.31438.16866.sendpatchset@localhost.localdomain> References: <20090403195757.31438.16866.sendpatchset@localhost.localdomain> Subject: [PATCH 2/5] ide-cd: update debugging support Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1472 Lines: 41 From: Borislav Petkov Subject: [PATCH] ide-cd: update debugging support Signed-off-by: Borislav Petkov [bart: extracted from "ide-cd: cleanup cdrom_decode_status" patch] Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ide/ide-cd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Index: b/drivers/ide/ide-cd.c =================================================================== --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c @@ -317,8 +317,9 @@ static int cdrom_decode_status(ide_drive err = ide_read_error(drive); sense_key = err >> 4; - ide_debug_log(IDE_DBG_RQ, "cmd[0]: 0x%x, rq->cmd_type: 0x%x, err: 0x%x", - rq->cmd[0], rq->cmd_type, err); + ide_debug_log(IDE_DBG_RQ, "cmd: 0x%x, rq->cmd_type: 0x%x, err: 0x%x, " + "stat 0x%x", + rq->cmd[0], rq->cmd_type, err, stat); if (blk_sense_request(rq)) { /* @@ -636,8 +637,7 @@ static ide_startstop_t cdrom_newpc_intr( u16 len; u8 ireason, stat; - ide_debug_log(IDE_DBG_PC, "cmd[0]: 0x%x, write: 0x%x", - rq->cmd[0], write); + ide_debug_log(IDE_DBG_PC, "cmd: 0x%x, write: 0x%x", rq->cmd[0], write); /* check for errors */ dma = drive->dma; -- 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/