Message ID | 20230116211635.104999-1-michael.christie@oracle.com (mailing list archive) |
---|---|
State | Deferred |
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 36992C63797 for <linux-scsi@archiver.kernel.org>; Mon, 16 Jan 2023 21:17:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234106AbjAPVRI (ORCPT <rfc822;linux-scsi@archiver.kernel.org>); Mon, 16 Jan 2023 16:17:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230193AbjAPVQn (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Mon, 16 Jan 2023 16:16:43 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B02FA23DB0 for <linux-scsi@vger.kernel.org>; Mon, 16 Jan 2023 13:16:42 -0800 (PST) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30GJhrAu032333; Mon, 16 Jan 2023 21:16:40 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=lrvKMbX8opy73hVS3Nt81wt2wR2J2ekFJUlYEZGDANI=; b=h6YOOic2CpYfeBv+mWtzGsn+15WR4QnsEa0fRyoHQaRr46AlGQ9TEUxsTlMiDkaa8Q5t TSJd4osJPpHIG/aIhxJmBOOdEGN67Briq1+PfeK5oZvoseYzSzpUDgGSRIYEPB/3yw+J 5tKTKmeHwyaYV6WWz7At4RHXMvr4eS08DsHhLcdzBgx6+8Z59NIL5tipHVJM3L23KOt7 xoT7Q8LEymbE/qtA1a+BU9IdDj/Kb+PqAflugi7qCG3xU9YNoOQNO0mJNHYiLtIfmX7c Ncc6yE2ONuykRgUllo2pz/GDWF5A64twVCjtRAKMXbGCeIOpD3nbHexWaIEepMC22l/U ug== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3n3kaabfjf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Jan 2023 21:16:40 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 30GINTeb002546; Mon, 16 Jan 2023 21:16:39 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2043.outbound.protection.outlook.com [104.47.56.43]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3n4rxca6k7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Jan 2023 21:16:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SJXDfNdHUZ20lTM3lq1Ix24nQBDImBPf2HSgUAXNlnjVb4G+UR2DupSdArFi9rqYGF+//czfxEsCn00+kAik4DV9adjeGdRj2JHTGiwFqGUFRtAnlf/2MrjFSTx+stykR8xIqidpUT7z61fpuTNsEwnywqZH6WRCwFP5JNRDYyjVhItqMrszPi5Bshudtc/8M7zXrxI7XL1rhBe5DzhalKGv/4RYahYw3e3ogpK3F42/l4Js52Nus6ZJDUavFUJFNBEOAakbzDizM1ns0pAQJoXRWTVSByeMvflDXcU4p+UAN8K3Q9rU19a2rzdxk/PjW9usLJr6sAwSoBD1g8+bdg== 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=lrvKMbX8opy73hVS3Nt81wt2wR2J2ekFJUlYEZGDANI=; b=RFBjpJi0QTybykeDkrEgCnSo97n6vTXAkogtrlNP+7VJSa9nyAdqVu2HMm9uTFMoebkalPefl/3A2Si8v6WLWTMAWVq7kb1R08D7YLQKZlFCRkSKaGVudm+xjcEKLYWZoSj6SRjYrO4MbBqim3CHbJovnCcxp1Esh1fKzLbtFb78/eB+PAxhP2p9UOhsEWE72CUI2i61djGOim0uGFlPfVBJut52kJFZ77TlCaW2Kg0gU0w9/esf+5gWVQnVHOueuMGO9DU5hPfwN3OMM4kr1peMhTTSXyWVy2CxAQiMU+bi72dOl7HoYbz6yRDcxu8X9Sgt5P6xBLOVdrmKt9dD7Q== 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=lrvKMbX8opy73hVS3Nt81wt2wR2J2ekFJUlYEZGDANI=; b=nu8Ht1CjZcZ7CKnyeytiaYMMX+1RQCsLS8sB8O1fEhUofUB15S+aTSl6fmocebhC2iWmw/JB2gh5NjEBsFxdK50GhCfFRkIGa55Gm02xT8Lsxg1MVYNQJyLGZTjotbCdUtkxyAFoaF7rgisfddTg+R9K+qSRmJxETz/smflmoNc= Received: from DM5PR10MB1466.namprd10.prod.outlook.com (2603:10b6:3:b::7) by CY8PR10MB7292.namprd10.prod.outlook.com (2603:10b6:930:7a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.19; Mon, 16 Jan 2023 21:16:37 +0000 Received: from DM5PR10MB1466.namprd10.prod.outlook.com ([fe80::c888:aca:1eb9:ca4f]) by DM5PR10MB1466.namprd10.prod.outlook.com ([fe80::c888:aca:1eb9:ca4f%5]) with mapi id 15.20.6002.011; Mon, 16 Jan 2023 21:16:37 +0000 From: Mike Christie <michael.christie@oracle.com> To: martin.petersen@oracle.com, linux-scsi@vger.kernel.org, james.bottomley@hansenpartnership.com Cc: Mike Christie <michael.christie@oracle.com> Subject: [PATCH 1/1] scsi: cxlflash: Fix compile error due to incorrect scsi_execute_cmd use Date: Mon, 16 Jan 2023 15:16:35 -0600 Message-Id: <20230116211635.104999-1-michael.christie@oracle.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: DM6PR07CA0086.namprd07.prod.outlook.com (2603:10b6:5:337::19) To DM5PR10MB1466.namprd10.prod.outlook.com (2603:10b6:3:b::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR10MB1466:EE_|CY8PR10MB7292:EE_ X-MS-Office365-Filtering-Correlation-Id: 644f3fd6-9258-4f09-1dc8-08daf806f3c0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tiIQDcBEwaADlE1YUbn2/r0CcuEmYuPSqAv075OqpegQ+pNbVAU1bVE0QPt4uP51ZxEgcwwTCLIYSe+QJCjYi1eEvSl8G45mxCskrD9d1hRGYia7h6ilTu2HPo2Ps+fXpcFVgCiv+HyQdueK7j17H/R9k37/GXreSAd4JhLh4grOA+IFtNRe3EZciYCkmTR4SXm1ofIMSQjlDwNgMk5SXxvtmBe6NXRu+9C99eE/by+DXOdWsEA64gmZAxDnTej9RkGNeC83DMWc9IvAKdgm6fhwS/y5McqTqO6XlPvDmVsRQlz/vo0rl4qYrOLK91Mj0gs1BsAYXVbWMFsZtNWzsljTfPVmrGVBwAPty6XNqzQAwhYq6xfpizbEIEPb+/544g69EhxlEPMLHxFOMJSly1u1nN8zPWA360HSGPYmScUGyyGCmwZKLdQq5QrJC7xWipG5I1eo2/nC77m1qaJIU6H/qvI6tyC8RpfntSkTfAWqvGNhK21AWiOq9pxNbJFkbc5BHpje9d2fIt66vzpLCGKwqic5Vz02K5bOOk3xILPxFb5KOPIBtSkzB1OW3XHEbEmnoWyFLO6kWDEKGt9eB8CA4HZ0U4FPEhK/afKh7iiCTyc9skckfICTjd0B+AExv01CydfGpejzUROiqfviig== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR10MB1466.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(366004)(376002)(136003)(396003)(346002)(39860400002)(451199015)(36756003)(38100700002)(5660300002)(41300700001)(8936002)(2906002)(4744005)(86362001)(83380400001)(66946007)(66556008)(1076003)(107886003)(6506007)(478600001)(316002)(2616005)(8676002)(4326008)(6486002)(186003)(6512007)(66476007)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: UOnZexVknmiQgBhoc1cJLZCfGWCVKg2mBpW1mlaHVbQzbZ6KWngzfRkiVGXRTV21m3l2jXW0pykkZzBXRL6Un2PptENXqw9DDwWcNAcWRuzxGOpC+QR2GtJF0zNVPqRrmRxlDuTC0KR98dRvpxZY55Ko7EwaD/ZWaMwvg8r58U9kimduii/QBaELLd9qtAMhcMdHmWq9cdBrhSsZ6lOgCSwtciMdkxDPGiGaLgu+5T63jTT5AH4X0bBSvSZULi07zuV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1UhC+TR5xPROzDsqyymkXCgTqdvJ7m9UfctY3eYTEj6moxKn+UIshXfvtlXQgwwns60//UpG0abbGah9lsT7lz8GJbsUt3PrAGGHc4JXO9geP+zI6F X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 644f3fd6-9258-4f09-1dc8-08daf806f3c0 X-MS-Exchange-CrossTenant-AuthSource: DM5PR10MB1466.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2023 21:16:37.1948 (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: UD78fC6JdXM1GEJJrymVPwKR5DBWpmb6ZstXFCe3tUdc2mFFBpcpPSumtdJZdUphYXJO12GyqOiL1BmT9Xf/0tvSdzg2DL9vTzTERHosaDI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB7292 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-16_16,2023-01-13_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 mlxlogscore=999 spamscore=0 bulkscore=0 mlxscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301160156 X-Proofpoint-GUID: gch3lWVE-sUBFqFieQVa4VHn3pQMcB3U X-Proofpoint-ORIG-GUID: gch3lWVE-sUBFqFieQVa4VHn3pQMcB3U Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org |
Series |
[1/1] scsi: cxlflash: Fix compile error due to incorrect scsi_execute_cmd use
|
expand
|
Mike, > scsi_execute_cmd takes a pointer to the scsi_exec_args struct. This fixes > a compile error in cxlflash due to the driver passing in the > scsi_exec_args struct. Applied to 6.3/scsi-staging, thanks!
diff --git a/drivers/scsi/cxlflash/superpipe.c b/drivers/scsi/cxlflash/superpipe.c index 9935c47712dc..22cfc2e1dfb9 100644 --- a/drivers/scsi/cxlflash/superpipe.c +++ b/drivers/scsi/cxlflash/superpipe.c @@ -361,7 +361,7 @@ static int read_cap16(struct scsi_device *sdev, struct llun_info *lli) /* Drop the ioctl read semahpore across lengthy call */ up_read(&cfg->ioctl_rwsem); result = scsi_execute_cmd(sdev, scsi_cmd, REQ_OP_DRV_IN, cmd_buf, - CMD_BUFSIZE, to, CMD_RETRIES, exec_args); + CMD_BUFSIZE, to, CMD_RETRIES, &exec_args); down_read(&cfg->ioctl_rwsem); rc = check_state(cfg); if (rc) {
scsi_execute_cmd takes a pointer to the scsi_exec_args struct. This fixes a compile error in cxlflash due to the driver passing in the scsi_exec_args struct. Signed-off-by: Mike Christie <michael.christie@oracle.com> --- drivers/scsi/cxlflash/superpipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)