Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3972777pxb; Tue, 25 Jan 2022 00:20:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJz96bIapHclyy+18JCmYhqfToliHyTo+b9ugX/ssROFTktNF57jbHYogukmpExAuFb2xZsS X-Received: by 2002:a17:906:d552:: with SMTP id cr18mr15510293ejc.321.1643098838605; Tue, 25 Jan 2022 00:20:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643098838; cv=none; d=google.com; s=arc-20160816; b=oaaZpnbOVpDe+AfCn0hH/A6YiflxLihmVjja6e0b6H2BoQGP4rF/09esBv/TBkYc+3 9t0eW0uZiBAHv6Z0ncJAQec20UtG8cnZZrbIuBwiLo6QwfZURKjLZV+xk3nKRlGYLPUE WkN0wQyKUmRQnCgcu0+P9xyNaNiS+lDFoingWwQEpPkvCeP+FbLlNIHo1ViFZSVrlwGe PPz0MJTCXhsPYH7OVsHSbO3RR5xAtjcuRxV41Vu2BUjEhh3pUuWiJsmp0raMCn7gmcQJ EmaEWaEhPGzBBpsQzNJWrER5swO5YAERtXZJaekWdzzVNElqbbasrPbvIrgcUtCDYEC1 TnRg== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cu5+8PpsyJHFwhUOsQgxtsl/HHwGAr7bRBkHdQwQRI8=; b=gIsn0swfHd0zDaDMv6QJNaTvWWS1TTxCODMeKy1Yngm/lHnvRFTot1IJgZTuVaDyxx RHrvV7YQiPDs922WCAczv1YfD98oX5c2iLOrnzF3Qj6DcRkiaGnryZ04G23IWDPkNu+w PVHvsdVjkKMEg0Jliqy6uyri2EbiKzvVZzsSS/UdYLzyCFlEoFnIeSiHQhBUESsjzdsJ FdmsJuU2EDWtaSZVbhmtt4sx5fcS171qo4Wcz90qi1baN0zbaH8AKZvn2LWbcyf/ZUv2 vGwWS74hFqKTSeJOtCRtnVi1AoJEb6OdG1ZK5ic+/QYGRSWmslu0t9MzUqp8ojSpr8bn eUjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="TJa/P/eL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b11si3148782edz.444.2022.01.25.00.20.10; Tue, 25 Jan 2022 00:20:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="TJa/P/eL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S3411730AbiAYAeh (ORCPT + 99 others); Mon, 24 Jan 2022 19:34:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2363403AbiAXXo0 (ORCPT ); Mon, 24 Jan 2022 18:44:26 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EEFBC0FE684; Mon, 24 Jan 2022 13:39:12 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1789E614B4; Mon, 24 Jan 2022 21:39:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFCA1C340E7; Mon, 24 Jan 2022 21:39:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643060351; bh=T4NY8zqPRR6WKhwieFaRIRF4HrYhvq77oMAZe4cIyL0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TJa/P/eLeqNLh85IoqBUP58tayy1wqIySTbigFHencJffqiyJ5cnPF5rYVYfLmTft m5i2Altt85dDt+AqVNkXeYFjvGseG0cMLCLLBpchKJkWeAQxd6BgI1DtzvA15Pq3WO WuOBSKqJv/JF6BA2SoEgu1cVGFH1azSGH37VKtKw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bart Van Assche , "Martin K. Petersen" Subject: [PATCH 5.16 0920/1039] scsi: core: Show SCMD_LAST in text form Date: Mon, 24 Jan 2022 19:45:09 +0100 Message-Id: <20220124184156.224871831@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bart Van Assche commit 3369046e54ca8f82e0cb17740643da2d80d3cfa8 upstream. The SCSI debugfs code supports showing information about pending commands, including translating SCSI command flags from numeric into text format. Also convert the SCMD_LAST flag from numeric into text form. Link: https://lore.kernel.org/r/20211129194609.3466071-4-bvanassche@acm.org Fixes: 8930a6c20791 ("scsi: core: add support for request batching") Signed-off-by: Bart Van Assche Signed-off-by: Martin K. Petersen Signed-off-by: Greg Kroah-Hartman --- drivers/scsi/scsi_debugfs.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/scsi/scsi_debugfs.c +++ b/drivers/scsi/scsi_debugfs.c @@ -9,6 +9,7 @@ static const char *const scsi_cmd_flags[] = { SCSI_CMD_FLAG_NAME(TAGGED), SCSI_CMD_FLAG_NAME(INITIALIZED), + SCSI_CMD_FLAG_NAME(LAST), }; #undef SCSI_CMD_FLAG_NAME