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: 734211 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A979C41513 for ; Fri, 13 Oct 2023 18:47:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231336AbjJMSrJ (ORCPT ); Fri, 13 Oct 2023 14:47:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230469AbjJMSrI (ORCPT ); Fri, 13 Oct 2023 14:47:08 -0400 Received: from bedivere.hansenpartnership.com (bedivere.hansenpartnership.com [IPv6:2607:fcd0:100:8a00::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 321EE83 for ; Fri, 13 Oct 2023 11:47:07 -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 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org 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;