Message ID | 20230307105555.3745277-1-john.g.garry@oracle.com |
---|---|
Headers | show
Return-Path: <linux-scsi-owner@vger.kernel.org> 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 407CDC6FD1B for <linux-scsi@archiver.kernel.org>; Tue, 7 Mar 2023 10:57:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230382AbjCGK5H (ORCPT <rfc822;linux-scsi@archiver.kernel.org>); Tue, 7 Mar 2023 05:57:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230108AbjCGK4m (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Tue, 7 Mar 2023 05:56:42 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A60A653D8B; Tue, 7 Mar 2023 02:56:40 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32784XGQ001987; Tue, 7 Mar 2023 10:56:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=fFRgwhv6dWVlXHwUpj0+8beE1l8ZZNr7TgoljdegmuM=; b=RNPpscNLIWtKuHXONSerX9tfiRJXy9zrCgxYlI5N6ILCajhrL5RzfE1qD7l4DUp5fTR0 S/eVQMmQ+uDc2c9wqWbytueIz7AbTquea2bX3CiIfCH0ElZqyd5BEsu92epO266syAqM LAz0vSqg+MENkrYDDn+B5W2FGZGQQCh6XT1cC4JntTmne6cJyvvMTKapSstIJtC2/zH/ rJaBGynjhwxDtyZJXnlcXuZfOOX1IuKm5msCoWqCzbJygtpNNSWEu0gRf6lZj+ynBCWk MCMshvZFZN8EZsIliX068jQCCNQso6EixVf3E22xA2wk7PHa1mbaWnPh0TATNR61PZP4 Pw== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3p415hw872-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Mar 2023 10:56:37 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 327A0S67019086; Tue, 7 Mar 2023 10:56:36 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2172.outbound.protection.outlook.com [104.47.56.172]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3p4tur3wkf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Mar 2023 10:56:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OnVgZRiokaFLAFPkQIf2WTLboJ6R0/6JdwKTVDX2+ovr70JYcDusF2rHp61zypF2eFd16G7DKoV1YKeUAwIOHJYedTlJDx8uydxMhVnQtYDxECHpiEhIFpp7AApbgyRP9tkO0fo7bjF07AKDESevMTEoN+zEko1FugRSJNKqXAUPCZwD46v+BTzchhhXphiCTLm41g0X9T9KYH9ZHa5naQ88NlyWQD1HaboBNjqvk5qxt9ttuFZAQOf7qsSS2crvj2iKZUOpRIjq2ggVOaagP16W8mu8GLcm8TzraAldlN14bho6j2NhuhEXUkOKdvf1+jPwzAHkllCVxIHlIHml4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fFRgwhv6dWVlXHwUpj0+8beE1l8ZZNr7TgoljdegmuM=; b=ebZyvBpavfthK5ojxGFjisUwJqUwba+zN/uNLgVKxjYCdEoWIwdeMQMWT55g/E8Lk7UxDAZK3Z5AjZfVBNQRvKvZXhZIt/fZyBurkveAlfDJcEd6E76oWe2GVr+2pFFXM5ePfIPgSyOQRQDfkR7QBAGl211JUDOvn8R+vNU3CV2yqL6AEFw67rgMz8uoVK0e+1Y02lmSqS0+kb7CjxEhnCz0tOSKPDHXtdXD+WPC2ZEbd+WB0pyLMH9rEA/QnIsuLuhPuwx96LMjH5jxikC6kuYXnCzpmPijYLxFUlieT6lVyDS/xpWkiCsXF2u1ZWjiOowpwbFS/tf/UcKjMUa8bg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fFRgwhv6dWVlXHwUpj0+8beE1l8ZZNr7TgoljdegmuM=; b=WEQHEu0YgYoxgsK/HAa5QJKQKb2YoTy4uWk6bwyuCBbvyRqTbl156nAR2MGZOVursu/kd8taWG1rVHdBb0iJlMcQE+hm9xnBjIRs9R4BNbshqTaTFylPt7uIJiFQIoerx+1uvpjbRH6O88dKKCoAXgyVlC9mdwRkeGG2Dr8dDQ8= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by DM4PR10MB6719.namprd10.prod.outlook.com (2603:10b6:8:111::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.28; Tue, 7 Mar 2023 10:56:34 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::fff7:981:3ae6:92eb]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::fff7:981:3ae6:92eb%4]) with mapi id 15.20.6156.029; Tue, 7 Mar 2023 10:56:34 +0000 From: John Garry <john.g.garry@oracle.com> To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, dgilbert@interlog.com, John Garry <john.g.garry@oracle.com> Subject: [PATCH 00/11] scsi_debug: Some minor improvements Date: Tue, 7 Mar 2023 10:55:44 +0000 Message-Id: <20230307105555.3745277-1-john.g.garry@oracle.com> X-Mailer: git-send-email 2.31.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: DM6PR08CA0034.namprd08.prod.outlook.com (2603:10b6:5:80::47) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|DM4PR10MB6719:EE_ X-MS-Office365-Filtering-Correlation-Id: c876b516-d54f-4ddf-f0eb-08db1efa9de0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jAkA1VSjJgpBcMcZS2k950bPimClDzrPDa9hD6VfIx+nvWhtvijtiktcROwwVmzh/20WCGPqPTREg9SOrJClIm7oQOGJ+VZdSrpisKElBCiQTg+bDFWBsIvsgVi7KFNGawnub+smKHe4dJksne0/TMm8esUj5jQC//s4WGfk3qDziK4u7wHM+WQY44HhFfToh7s/KE3OC7xYP2z+cT2yV16NQFv5TBpVGQCueTYT58d+OBm12pX8kifQeRBeFpiackStzBHQmq9BzK2A91j6ZtV5ndS0Spkqs3v354445o/fsaujhOa7DhQvMLBvFbxalNETVGOcSkjwmZ6rF+tfWhFTKGuqeFtl4PgXKdXIeeWDRD5wK/r3BkoaXNRvWmmRIhaaqW57CeJRVeJeGABtULeMJVgNNv08gWwFemsYi6ipfqLmC8JWCCDP+nImShtDMRVne56ibxh2uxt3CHkg1dO6QkZ6sHKEQ/zdxl/mJYKVhARW9GFu5w47Ah4N38wWEd4k8L2BJClvCsHh49Zr8YgBE+MoEkGzfcIeFIxRu01Bl7apOQevDAc1Fu0yjmYnoJ0lh2TQFTZKr9VZoXas9OHUq0kTUKy/4+t/Rjm9th7F4cK7FsQI3/HLTldoA4C0KyCFmgGZYKdWKnHxtKt9sw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR10MB4313.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(346002)(396003)(136003)(376002)(366004)(39860400002)(451199018)(103116003)(66946007)(4326008)(66476007)(8676002)(41300700001)(83380400001)(2906002)(86362001)(38100700002)(8936002)(36756003)(66556008)(6486002)(478600001)(6636002)(316002)(5660300002)(26005)(186003)(2616005)(6512007)(1076003)(107886003)(6506007)(6666004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: b2P83IDHQsFxBm9MeJTzBcqLww5zXrD7ho/kb/ejFbBtDpbIXt5wRnDskRjsc26BcTO1bHJegmSR76zGq7Lgei/yCorvBLjYSlE8JPNo5B+Wx35t1AB48/sWBt0+9LxxGQcKmsS6Bl7aXucW+ovD8RmDbK1yygCGt535pvqp4LrwK8C1SNuXaB5kW6Ylab2MjoP/ffNb7PyIHfK8ZQP1eVDt/XkSFhi62+fs9Xag8/jkd0MNFYPgWk5pXx2BUIA9aotliT+/q/T1oCYxwZTBFa3nj1PD/xfRZ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OYz5whfa21q7DOCM2D1pKZfT/EvKACMQBKuNU/M2yBm+vHceJKZRnVur61nMMQoz5YgNDQ9M+AD4LgqI/dRaomROQDU9H7s0UCiR+jwQZ5eQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c876b516-d54f-4ddf-f0eb-08db1efa9de0 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2023 10:56:34.3416 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: v03TAQdjKfoitWMyuWCYzhRDlB+HuYF3t32bWQaqYSa/YEx1kjkbjjcYbAzeZf09hMgwoFkm+KKttvCa9Gw+Vw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR10MB6719 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-07_05,2023-03-07_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=875 bulkscore=0 malwarescore=0 spamscore=0 mlxscore=0 suspectscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303070098 X-Proofpoint-GUID: aPNGr9s7qXIfdGZOG95Pws77psEMX7m0 X-Proofpoint-ORIG-GUID: aPNGr9s7qXIfdGZOG95Pws77psEMX7m0 Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org |
Series |
scsi_debug: Some minor improvements
|
expand
|
On 07/03/2023 14:58, Bart Van Assche wrote: > On 3/7/23 02:55, John Garry wrote: >> +#define to_sdebug_host_from_shost(shost) \ >> + to_sdebug_host(shost->dma_dev) > > Please make the name of this macro shorter and following naming > conventions used elsewhere in the SCSI core. How about the following > name: shost_to_sdebug_host()? ok, fine, I can change that. Maybe then I'll also change to_sdebug_host() -> dev_to_sdebug_host() to avoid ambiguity. Thanks, John