From patchwork Sat Jul 18 09:55:15 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 29957 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.176.167]) by bilbo.ozlabs.org (Postfix) with ESMTP id DA523B7089 for ; Sat, 18 Jul 2009 19:55:29 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751377AbZGRJz0 (ORCPT ); Sat, 18 Jul 2009 05:55:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758062AbZGRJz0 (ORCPT ); Sat, 18 Jul 2009 05:55:26 -0400 Received: from mail-fx0-f218.google.com ([209.85.220.218]:36655 "EHLO mail-fx0-f218.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377AbZGRJzX (ORCPT ); Sat, 18 Jul 2009 05:55:23 -0400 Received: by fxm18 with SMTP id 18so1148133fxm.37 for ; Sat, 18 Jul 2009 02:55:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject :date:message-id:x-mailer:in-reply-to:references; bh=/qJapcmW8Vxf6ETop4a6RgFo0SAtSbQ/AgIMylE2Zyc=; b=Vey1bXaMzoPMpMe6DLtIz7uUQfVqNXAIzI9YNqVqdaev3pbsHi9O83lB/ES+wKxhSW UqxoQcfL7Zsocg5i1Jpj91ul40f+CsidGF/jLkw3tjt9rfCNYrzs+w1qayKC6AITYEQx tzF5yrHgZ+2JIBir3bwu4BdpkJIlov8ydLnWk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=UY2NGq97RSYSGouGpKREoqBLJ6YrQuDF4QYJUYoO1PkxEgniiQdQarLPNwNMTDPqBo aDBjuPPisvt9MihtR7fVJqtJtkHxz2L0seTKr5p50mSNplltPfPuWREry6z80opwbqko lKx2oBQSfN76iTX9S+856vx26fjGz9UWRpITQ= Received: by 10.204.119.71 with SMTP id y7mr1949764bkq.16.1247910921798; Sat, 18 Jul 2009 02:55:21 -0700 (PDT) Received: from liondog.tnic (f053082253.adsl.alicedsl.de [78.53.82.253]) by mx.google.com with ESMTPS id 18sm3988241fkq.59.2009.07.18.02.55.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 18 Jul 2009 02:55:20 -0700 (PDT) Received: by liondog.tnic (Postfix, from userid 1000) id A5E674B8915; Sat, 18 Jul 2009 11:55:17 +0200 (CEST) From: Borislav Petkov To: Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, Mark de Wever Subject: [PATCH 1/3] ide-tape: fix debug call Date: Sat, 18 Jul 2009 11:55:15 +0200 Message-Id: <1247910917-5237-2-git-send-email-petkovbb@gmail.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1247910917-5237-1-git-send-email-petkovbb@gmail.com> References: <1247910917-5237-1-git-send-email-petkovbb@gmail.com> Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org From: Mark de Wever This error only occurs when IDETAPE_DEBUG_LOG is enabled. Signed-off-by: Mark de Wever --- drivers/ide/ide-tape.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 013dc59..60d5c41 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c @@ -583,7 +583,7 @@ static ide_startstop_t idetape_do_request(ide_drive_t *drive, struct ide_cmd cmd; u8 stat; - debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %u\n" + debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %u\n", (unsigned long long)blk_rq_pos(rq), blk_rq_sectors(rq)); BUG_ON(!(blk_special_request(rq) || blk_sense_request(rq)));