From patchwork Mon May 2 20:13:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Yan X-Patchwork-Id: 8995531 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 45E96BF29F for ; Mon, 2 May 2016 20:13:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7E85F20253 for ; Mon, 2 May 2016 20:13:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 98E9920225 for ; Mon, 2 May 2016 20:13:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755129AbcEBUNe (ORCPT ); Mon, 2 May 2016 16:13:34 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:36108 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754864AbcEBUNd (ORCPT ); Mon, 2 May 2016 16:13:33 -0400 Received: by mail-pf0-f195.google.com with SMTP id p185so21365022pfb.3; Mon, 02 May 2016 13:13:33 -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=Au5Kz6lyNQ7REEOPhdXKd/ArqWr4eT8IMIuDqO15mso=; b=fYoMGKUqPCHZurrfCrRg2CVqcDDAWuWmD0uxAET2iRpLX3tgkrDiKUAtbzPiFuZpca qNJExgVjh7wmew4IQYykqnjxbVxynbnJfaOt7C0WdS7NUSBAQWBN357VtiU2wyYOvD26 +RqZLpr3wPo1F6tU9XnhrtLOUr62/DM051paVyeoA6uD0CzLczQrAzFo1qZVAsesDmVj Efc5CzklEEEoia48JW7qe4l1elKoOnrWfoHx6xdPWgM15ZFO84gSmi/tvC3N3SY+A9Ft YNzcIl/b1JEOxwTFIX80DBYcLRGBsmVctkge7QKFGABkOeKmvTeAE/c0ampZZgOd+IwA jpUw== 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=Au5Kz6lyNQ7REEOPhdXKd/ArqWr4eT8IMIuDqO15mso=; b=L0Meq25SnvPghf+/oy85r6D6YO74NByKn1Du25D3xClnOd86T+WRq5fTaPd22V58YB BcfoxpFUIvP+Obhb309Sn2ubeN2T/TJSplvn/UlHcgGiypMnpSaDS+uKyt/5gTnvMIPC oHVFiLF6W1Uk0Bhy/a46vrrU+lfKqvc15cPyWkLsJ26i0Rq7y0rgVeQiAb7olFOrqnZe 9btFi/aRZptm5GEC2jfRJ+h2ZPZrYvPE2NGgO8ijbrWz072hdqvL5BeOXCVJ00JiygDx UCw3zJxY7VTMiGm2xVXpiXfxROSiO3e3PCbfI1GZy3x+umYqbRluvGhcpGPrPo9/cbUN xikg== X-Gm-Message-State: AOPr4FVn7nQpuTb7B02QnlRmlmRW9pdUmnraqHArr+9m1993NtKDek1dXtqOkjfU3sh14g== X-Received: by 10.98.15.142 with SMTP id 14mr54320659pfp.6.1462220012496; Mon, 02 May 2016 13:13:32 -0700 (PDT) Received: from localhost.localdomain (n11211848121.netvigator.com. [112.118.48.121]) by smtp.gmail.com with ESMTPSA id q70sm47469656pfj.81.2016.05.02.13.13.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 May 2016 13:13:32 -0700 (PDT) Message-ID: <5727b4ec.c923620a.641f4.17aa@mx.google.com> X-Google-Original-Message-ID: <1462220001-2566-2-git-send-email-me> From: tom.ty89@gmail.com X-Google-Original-From: me To: tj@kernel.org, linux-ide@vger.kernel.org Cc: linux-scsi@vger.kernel.org, Tom Yan Subject: [PATCH 2/3] libata-scsi: Fix SCSI INQUIRY version descriptor Date: Tue, 3 May 2016 04:13:20 +0800 X-Mailer: git-send-email 2.8.2 In-Reply-To: <1462220001-2566-1-git-send-email-me> References: <1462220001-2566-1-git-send-email-me> 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.8 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 From: Tom Yan https://bugzilla.kernel.org/show_bug.cgi?id=106931 Signed-off-by: Tom Yan diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index cd30f11..0295c38 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c @@ -1985,8 +1985,8 @@ static unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf) 0x03, 0x20, /* SBC-2 (no version claimed) */ - 0x02, - 0x60 /* SPC-3 (no version claimed) */ + 0x03, + 0x00 /* SPC-3 (no version claimed) */ }; const u8 versions_zbc[] = { 0x00,