Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3978632pxb; Tue, 25 Jan 2022 00:30:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJzUUaBwOjNHZCbgmVTQDGFo6GZ87OFiIHqY83uTChVv+A2d2ePa2Lsa7vjj11P8IszIuglm X-Received: by 2002:a17:907:6299:: with SMTP id nd25mr15485732ejc.152.1643099442871; Tue, 25 Jan 2022 00:30:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643099442; cv=none; d=google.com; s=arc-20160816; b=qV47s/4iJobpKQacJbQfVq+eqgDkpzOAj+qVY5z/LNAkFye5r6f9NJNqyCo7lWt4Oj CyzJ+hRS33LEvd/TCPFXyuL+Upprvan72RSWKdEstPCB8clxQWO/ItztKRVL97AEMGdN 3ooJkXAh1woOzzaMXN1TsoaOUm26AmAz2T7NObZAFciLOsdJA90ratVOnXzeKP6jvZo2 zOE3jwfD85rKgdVcg6+O7Pgc9ttA++kSsbrnDSpJ074YOdiUL3IL+pcWQ5/xCPyjMdO9 ZBl4yYt7GEv5tGSZtMLhpYnBVQkp1rIxBFLQ0Dm3nMqSvNh/qf3/Xhux1YfiBpIVoOoE vKyw== 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=jMZdYzxbT0U8mfgdfgEXUnBi2Ympw8V3SMPFCdJjn/4=; b=wz+lBhfACQtY1SQ3G0mA+aky26pRpq1qIZUviiASefmzQkpPPSndXYork5zE1GknfM vc/MVL6zW1KdEaDYxtSeCCr2EyDpriL3mfJgRM8lBMnVMMrhPxzAgcoVNh1jWCfjXLlr G7dTfZcq+YDCXDTR72O3Rm/ajVf8vOHPKdTbwciAHnO2h0nPY7QTu6vEUP4Zngl1W3wu Aar1uPcpgYCENbvMgQp/XPoFPQ6z8cUtkc4DfbvjfKWhE+bq8plGV7faYscG0pWHrrUF 65qxiZNXXyGYORFHmuut1BqK34QB9Fp+yAOSGT7z8HpiuE/3qxEhVQWB4bVupMHIvtSl 1dJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=i4k9PuQs; 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 jg21si661294ejc.635.2022.01.25.00.30.18; Tue, 25 Jan 2022 00:30:42 -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=i4k9PuQs; 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 S3423085AbiAYCcy (ORCPT + 99 others); Mon, 24 Jan 2022 21:32:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356111AbiAXUWc (ORCPT ); Mon, 24 Jan 2022 15:22:32 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 918AAC0417D1; Mon, 24 Jan 2022 11:40:19 -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 ams.source.kernel.org (Postfix) with ESMTPS id 39B88B81239; Mon, 24 Jan 2022 19:40:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66C9FC340E7; Mon, 24 Jan 2022 19:40:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643053218; bh=Nfhpuzi4irbRQN3E3HkAZc4HSOT9aiM10z8KebCFNVM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i4k9PuQsRNigywDeO/YurS5pO1DBwUkuyuye5MIq3J6Fwduy28IGnv9rzjTDPEdcu naJ2naVo4RmqsDbuCdfxvnWf5E3grSBUUNX2Mym1zSLO8A0ApDc9+nlPJjEhkeOqVU dwFAe3S0jSJLGdB61f3w5YlDz5UhUOXi+qh6Rtsg= 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.4 281/320] scsi: core: Show SCMD_LAST in text form Date: Mon, 24 Jan 2022 19:44:25 +0100 Message-Id: <20220124184003.536800740@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183953.750177707@linuxfoundation.org> References: <20220124183953.750177707@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 @@ -10,6 +10,7 @@ static const char *const scsi_cmd_flags[ SCSI_CMD_FLAG_NAME(TAGGED), SCSI_CMD_FLAG_NAME(UNCHECKED_ISA_DMA), SCSI_CMD_FLAG_NAME(INITIALIZED), + SCSI_CMD_FLAG_NAME(LAST), }; #undef SCSI_CMD_FLAG_NAME