From patchwork Wed Jul 6 17:13:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Yan X-Patchwork-Id: 9216697 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F336C60467 for ; Wed, 6 Jul 2016 17:13:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCC1C27F9E for ; Wed, 6 Jul 2016 17:13:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D144B27FA2; Wed, 6 Jul 2016 17:13:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D42F27F9E for ; Wed, 6 Jul 2016 17:13:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754649AbcGFRNb (ORCPT ); Wed, 6 Jul 2016 13:13:31 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:34277 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752150AbcGFRNa (ORCPT ); Wed, 6 Jul 2016 13:13:30 -0400 Received: by mail-pa0-f65.google.com with SMTP id us13so21503877pab.1; Wed, 06 Jul 2016 10:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:cc:subject:date:in-reply-to:references; bh=kylK7c0FZxVDbVOI3sGovyBNqIR4AvlmnZyVktMXk6w=; b=bpZLCTnK3DukgzPC64r0JvZGrkolbcACi8COnT94b7ckb1yByENinES3rDqTgallDq uIh4jm/LBynRtzf0wF5RznX1jbjv3XEhsafNUT8yPrRuGtisv6aLk9kQVI1EIEt3lBoZ /LmTzqML0W5vs2YY8X2KYcHtj7oi7M+wEV92aLHn9W8sX/iCH4U6dDxx/Ed6U4ka0xKY Q5elpPXFkeGdMO8nTy1oCO/DAY+bYpNckht2woQiY2q4/N+KIS2R48w0hiTXF4FuAsEc /YUNcUiHK9uAA0Pz8s8ZhIfoLK6QBIyxS8iRpRTtgqWtcy+eHrnN1mQ8+AydTNHTHLRa riSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:from:to:cc:subject:date:in-reply-to :references; bh=kylK7c0FZxVDbVOI3sGovyBNqIR4AvlmnZyVktMXk6w=; b=ltnWMN2tmYOPCJ5B+cMT+P0/HL1qyasgiatVJA/vGGfE+EAR7BpOhdjXPaZjbwPj8+ WgExeq14BevxduAPEmrgEfwIyjXGf+rk7cRrgqGgeVcxSXvaFtXK0oJpXS9jZ8cqzWe0 jRli0Ko6jStQhPQtrQWm+ZG3gH3DN9aycUYfrfkTD0ZQDrdpYk9aLqjZxhAIZPe95m9e gkZRZqUT/T+WxHh1uD3+pih0FhtNjwnlgWsI/8L1I9cIVyOHl9znIR6Q+uo6Orhh97M+ mEoAAq0sf/UF8yABynItqO3GkKTFZNQFZCk57PCIF6q1u0SLJ9aWcWTvY9GCFJF0/5oQ wtjA== X-Gm-Message-State: ALyK8tL2O4cp36u+gq0LGO827Q31VTUSAz//KZ0N0oCpXhJ3UFdUszZVcQmqsavJDfeKMQ== X-Received: by 10.66.127.47 with SMTP id nd15mr44121862pab.74.1467825209417; Wed, 06 Jul 2016 10:13:29 -0700 (PDT) Received: from localhost.localdomain ([2404:c805:e00:4700:ae22:bff:fe29:e60c]) by smtp.gmail.com with ESMTPSA id e20sm5461565pfk.1.2016.07.06.10.13.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jul 2016 10:13:29 -0700 (PDT) Message-ID: <577d3c39.949b620a.2f8b5.ffffb1c5@mx.google.com> X-Google-Original-Message-ID: <20160706171309.1772-2-me> From: tom.ty89@gmail.com X-Google-Original-From: me To: tj@kernel.org, martin.petersen@oracle.com, sergei.shtylyov@cogentembedded.com Cc: linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org, Tom Yan Subject: [PATCH resend 2/2] libata-scsi: correct cbd to CDB in comment Date: Thu, 7 Jul 2016 01:13:09 +0800 X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160706171309.1772-1-me> References: <20160706171309.1772-1-me> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Tom Yan It's Command Descriptor Block. Also capitalized it. Signed-off-by: Tom Yan diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index f1125fd..c9cd216 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c @@ -304,7 +304,7 @@ static void ata_scsi_set_invalid_field(struct ata_device *dev, struct scsi_cmnd *cmd, u16 field, u8 bit) { ata_scsi_set_sense(dev, cmd, ILLEGAL_REQUEST, 0x24, 0x0); - /* "Invalid field in cbd" */ + /* "Invalid field in CDB" */ scsi_set_sense_field_pointer(cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE, field, bit, 1); }