From patchwork Fri Oct 13 18:46:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Bottomley X-Patchwork-Id: 152699 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp2088211vqb; Fri, 13 Oct 2023 11:47:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG05Dj/s8Y1cGQG4RxYIHFrcXT0J4M5QAcLlWnvWyG/ttwnr8IuruvN93rhApKzQ/eKxmGx X-Received: by 2002:a05:6358:2d94:b0:163:e0a:68a4 with SMTP id m20-20020a0563582d9400b001630e0a68a4mr22058948rwn.2.1697222846258; Fri, 13 Oct 2023 11:47:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697222846; cv=none; d=google.com; s=arc-20160816; b=OSIiL7I6pFQuVeFnHHFvvRH4AWPa8nw8oOGMj2oHujQ4M2tJHomJl4tRBJQY5fO1aa Av7DCLspv4NY6AdGWJcKSBgBj5PIPfUoU8H2k5D81cjMI+Ro9Ihk+nBGn38kUGMCZ4HR 42U2EGrK0L/eJLsDDvVnHtUXniAtcS5eFnWIhBf+QtaTyAhcfYxZDCISh1ZqSSXMdRcK 5ZxVVOMf3mywg8YvHj+E479gu79C3pefgmNONBP3fZrvwemzC0+3Ezp4n1+JGTwVwTEl vq6UbDyQNP1WBMLGXViyd4DY2ySsd4FVb9JZss4109R9Iz+Wf73882FT3u2BEWPPXVZG lNnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:date:cc:to:from:subject:message-id:dkim-signature :dkim-signature; bh=URbESdykvYfx3iCAy7QOI+qURc2u+SkQJzgcLBLz6eg=; fh=bF6hBOtsqZ0IG+YnlrEaFQ/qkylncIJARoC6oO9o4Qw=; b=fGcq3fG5W4mfRhQ2RgAw/eiP+Jbc28JF/UYrvBnW9/xW33XVqWrNW3vvrhhWwtBK5I Ejxzz5xII1/a2LzwEBVHPHZentIpo2lUd5/1T3hAPtVg7Tp1T8hOivLaHmOkaEXILUiw B+oWqcuCdZ2frzevptZ4yt1RcyJ46Eb84ARVjpMh9YvvS9g4wcxDCromC6FW3+ccQfeu z5RisMXeGyaDjs0AzEdHVmuQk2nMUq1oY0aEo3k7grMVQiZjfpLZi0pSn3zGURVp3BQy 4DprFqPav9kJIMvI+sWBxd0oEYwnPk6tWMvcS2uzaUTmyHQfqWmSD1SujMTE8ArUFhhx 4vIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=MrEdor7c; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=MrEdor7c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id ka6-20020a056a00938600b006b618af5cd5si1037241pfb.300.2023.10.13.11.47.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 11:47:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=MrEdor7c; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=MrEdor7c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id CB6508328FF5; Fri, 13 Oct 2023 11:47:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229891AbjJMSrI (ORCPT + 19 others); Fri, 13 Oct 2023 14:47:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjJMSrH (ORCPT ); Fri, 13 Oct 2023 14:47:07 -0400 Received: from bedivere.hansenpartnership.com (bedivere.hansenpartnership.com [96.44.175.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81CA783 for ; Fri, 13 Oct 2023 11:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1697222820; bh=8yBBEzFFAzVcOIvUA5gtnp4TxupG+UE7WaCSaPk+ECE=; h=Message-ID:Subject:From:To:Date:From; b=MrEdor7c3ctnoL7m98z75RBzozEzxLHU6/M64AOGSEujgYS03tIp5O4WPHzQp0OMV 0Zn+HqaDLHifmv6Ff+hQ2WMB3OTPngA4q2pXjGNQ5mPqfmPbxvJ0mOZeS0sY9RJV3B nCZ0hqmlmFWqdHtVays8TutvOuEQ0YTR7w3HSzlc= Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id D251F1281817; Fri, 13 Oct 2023 14:47:00 -0400 (EDT) Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavis, port 10024) with ESMTP id Q8W5I6It-XSO; Fri, 13 Oct 2023 14:47:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1697222820; bh=8yBBEzFFAzVcOIvUA5gtnp4TxupG+UE7WaCSaPk+ECE=; h=Message-ID:Subject:From:To:Date:From; b=MrEdor7c3ctnoL7m98z75RBzozEzxLHU6/M64AOGSEujgYS03tIp5O4WPHzQp0OMV 0Zn+HqaDLHifmv6Ff+hQ2WMB3OTPngA4q2pXjGNQ5mPqfmPbxvJ0mOZeS0sY9RJV3B nCZ0hqmlmFWqdHtVays8TutvOuEQ0YTR7w3HSzlc= Received: from lingrow.int.hansenpartnership.com (unknown [IPv6:2601:5c4:4302:c21::a774]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id C033E128138F; Fri, 13 Oct 2023 14:46:59 -0400 (EDT) Message-ID: <81d665ccd17999d96d698c0d897e11c992a4de21.camel@HansenPartnership.com> Subject: [GIT PULL] SCSI fixes for 6.6-rc5 From: James Bottomley To: Andrew Morton , Linus Torvalds Cc: linux-scsi , linux-kernel Date: Fri, 13 Oct 2023 14:46:58 -0400 User-Agent: Evolution 3.42.4 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 13 Oct 2023 11:47:19 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779667142971978751 X-GMAIL-MSGID: 1779667142971978751 A single tiny fix in the ufs driver core correcting the reversed logic in an error message. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Peter Wang (1): scsi: ufs: core: Correct clear TM error log And the diffstat: drivers/ufs/core/ufshcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) With full diff below. James diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c index c2df07545f96..8382e8cfa414 100644 --- a/drivers/ufs/core/ufshcd.c +++ b/drivers/ufs/core/ufshcd.c @@ -6895,7 +6895,7 @@ static int ufshcd_clear_tm_cmd(struct ufs_hba *hba, int tag) mask, 0, 1000, 1000); dev_err(hba->dev, "Clearing task management function with tag %d %s\n", - tag, err ? "succeeded" : "failed"); + tag, err < 0 ? "failed" : "succeeded"); out: return err;