Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp976673pxb; Fri, 21 Jan 2022 07:24:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNE2haPuPlJ4N+xYAlYq0jqk6+ZY3CIhcRyZgTN/st8s4r8o0WxYHlUD0KCG5yP8v+nMcp X-Received: by 2002:a17:90b:1c0b:: with SMTP id oc11mr1238412pjb.236.1642778650911; Fri, 21 Jan 2022 07:24:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1642778650; cv=pass; d=google.com; s=arc-20160816; b=vXRiHAo5cXj1B+c5eNch6ejuc8fsWz5CxSZsJfp4haw/LEQl6mg/9+c7z6yFz1LHzc czs7HAeAL7Z927uLI578ti7dC7QZFP6VSTXVEOD7yS1t4e+aMINMyiZkhzeQtskKoqQF MGJtkHkw44OsO6GbDdIH8bhpn0U5tcklRa+FPq1z5aYuCbx0e+0nvhZ0oPDsoNLXEkrp PHQbhxgCNWeNLIY9j3aseQRk4WnqJR7gxTrO3k8RkXBvVEvSJX0RZHQsbSphosFCEhl7 ZccD9LMZjjKApz43TA1C5zX3eCs9hWJlEJVUQEY1PEOxPRaeb0PPwr/obHaY0aT2flmk 3OTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:date:references :message-id:organization:from:subject:cc:to:dkim-signature :dkim-signature; bh=0qrIOE+BmMct2gPkIC6I6HOhvDYpADRj7MBxpue1wxo=; b=dmk4FkCLFNbLuiez6OMbb67+VyunfHrlQipshnh3zFytcCN0V/ccg6ysNfYanhfb67 1d83OVkpT88HMCpO8NiU4ioCqbcAv2CnUOz3jmROLL1izlf85Vtbgw5CgEUK59j/2JEO ywt9204QYDOVKly0bv6NXK4WQbN4YLGdG/eWCNrMtJVm8K3FcEz1ZvLCzxINmLhdjxgv +CqX5sORweDKM4JbkqEoIBfsk1reHXLBu8RmaSn2SIAiCz/CJwn9mqbtNAaksQTIoQCK g4yN4wtOvEL3Te8jmJTLD0i4DxM0x6FqYqUsIM8bIxJr0y7sI5RAmniJTZBMAe8zssw7 DGng== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=gdn2t1GP; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="EMAbO/wk"; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pg17si15491888pjb.134.2022.01.21.07.23.57; Fri, 21 Jan 2022 07:24:10 -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=@oracle.com header.s=corp-2021-07-09 header.b=gdn2t1GP; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="EMAbO/wk"; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351393AbiASDvO (ORCPT + 99 others); Tue, 18 Jan 2022 22:51:14 -0500 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:64360 "EHLO mx0b-00069f02.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240579AbiASDvN (ORCPT ); Tue, 18 Jan 2022 22:51:13 -0500 Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 20INxSqi000680; Wed, 19 Jan 2022 03:51:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : message-id : references : date : in-reply-to : content-type : mime-version; s=corp-2021-07-09; bh=0qrIOE+BmMct2gPkIC6I6HOhvDYpADRj7MBxpue1wxo=; b=gdn2t1GPnuIfkzBIbq9hlxvp/vDLOMXvwlR1ADpKfLeKCKuMFosJq2WjWgvQeqBMRjMl lur1b5blKs48hW3jQyi2xOcYu0nckT6MDI4zmOAinmydVjL1KvcjJQLHfNDr4mmiO6pB ciqmfHNb2gumDf7tHJhElicEMritfHL2j26REulWzLD+TCpePgD4nWJkLInGW1mvsose fNPXDuaWQlCx0Ed4Hj01YfQ0V+hnIwruEMtCX8lBm8AvzzDVRwvNhPTCYBMQpgqVxB50 fgFVV3BMwRGGwz9WQtukRQ8r1xgrKoh6eBgQObM/zDSXmJOn4JkMTXRC2Iw6bQqQ4Lvv aw== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by mx0b-00069f02.pphosted.com with ESMTP id 3dnc4vkvg1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 19 Jan 2022 03:51:08 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 20J3lDmA079043; Wed, 19 Jan 2022 03:51:08 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2105.outbound.protection.outlook.com [104.47.55.105]) by aserp3030.oracle.com with ESMTP id 3dkmad0sh4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 19 Jan 2022 03:51:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PkMKixmGgc2hW3Poa5V0Z6YmoFRUUtViN4ZsRcPIk7PMY94bYdVIGPULwo3zFSYSowJqM7Ay19qQhM1bZ97tkEFmGXoBwPGV2UgLK+nMuuKue1TMP5Zl3JszOM8jyury9QYyIHAU3st4URMFcYjRHNSc1TFvXZJ1w0uQniYzG/u4OJE02bhw4HYUe771mSAA1MfTtrV3dE0D0hqqDTxInWievwKGAhXiPSq/cACfL0UbAIJWZTfjMtjRqTapNI23S+i3qv6p2XclxhTKiIaBpm5YdyN9y4xuM+W9qX0CS9+17XioRQO/rXN4RdhxvL9K+FMAVoqLMQPLXu0WTHqM1A== 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=0qrIOE+BmMct2gPkIC6I6HOhvDYpADRj7MBxpue1wxo=; b=KeAn3+cnA1EHBtskrNfu/AaNGnbx5zP+gC2eCNnnGOsE9JEMGyTru0dWWR2P/GuwGsXqkZzEqtp5awIE6LHzGHTkR5WhjeH+gARTbKHhQJ8bzwGb6080yB2kEp3DtGIGhxrUgInKw6CsdGlLigtpHDroalGm9l5IZEm7il1VqbkchJ1J0b1X/XkB/gABhcW74kc1qWCnS/TYgYIZPIPUA9W4LB8gQuni8XFgpU0WnNQT1+CmpLWNJuvCyGr0H995TPVVYkDFUAsnKJNwX7dWZ6ZdYSPhRxovw8hwIstvQc82MUmZytyuW1CaAiy9xP3RVRUcPBTX9izOCJZUct7mlQ== 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=0qrIOE+BmMct2gPkIC6I6HOhvDYpADRj7MBxpue1wxo=; b=EMAbO/wkN2qNL1s58p1492c+K+9wVZGKzuV6deqteIti9073uIKhXIFDS9XN7Ft1aUXen6tPWahzv9clMAR8781Dp6qfbE2pxTqI+SeSUll8XS1pn4fCP8Rroc869P491TAjfHsALU0vJiBnOjStWBYYWNyUr1l9BLJW+j3+byY= Received: from PH0PR10MB4759.namprd10.prod.outlook.com (2603:10b6:510:3d::12) by BN6PR10MB1410.namprd10.prod.outlook.com (2603:10b6:404:46::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.10; Wed, 19 Jan 2022 03:51:05 +0000 Received: from PH0PR10MB4759.namprd10.prod.outlook.com ([fe80::1053:7ae3:932b:f166]) by PH0PR10MB4759.namprd10.prod.outlook.com ([fe80::1053:7ae3:932b:f166%7]) with mapi id 15.20.4888.014; Wed, 19 Jan 2022 03:51:05 +0000 To: John Meneghini Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, GR-QLogic-Storage-Upstream@marvell.com, mlombard@redhat.com, skashyap@marvell.com, guazhang@redhat.com Subject: Re: [PATCH v3] scsi: bnx2fc: flush destroy_work queue before calling bnx2fc_interface_put From: "Martin K. Petersen" Organization: Oracle Corporation Message-ID: References: <20220115040044.1013475-1-jmeneghi@redhat.com> Date: Tue, 18 Jan 2022 22:51:03 -0500 In-Reply-To: <20220115040044.1013475-1-jmeneghi@redhat.com> (John Meneghini's message of "Fri, 14 Jan 2022 23:00:44 -0500") Content-Type: text/plain X-ClientProxiedBy: BY5PR17CA0005.namprd17.prod.outlook.com (2603:10b6:a03:1b8::18) To PH0PR10MB4759.namprd10.prod.outlook.com (2603:10b6:510:3d::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ac735131-3603-43c1-a197-08d9dafeeb71 X-MS-TrafficTypeDiagnostic: BN6PR10MB1410:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xsJkAE8lVuK21MtrjMUP8HAFGX4A3tkeAYPe3ejOuYUZrr8kFE2wBFs0joOZqJ5guU/Y0hL1jaIg0sBTTaOJz71pdRsgn5TOXGOGQTYIG7me0TIc8PJbF3/V4x9Xj3/RNhu7xl+r9loVSmYyhEgbt9FKCKEjzqjZzkON1jfGDoek5DhLaSXakJPAux/CqAkpMy0nmXjzUlp3n8RWuLqbKRZg3kiFrAHn8Ji6FoYHYq3SdoXpeRVTIMIYcit24hJoSYgMBBCFVR7t+r1D5exe/Zopx9tZgVwToPeHVb/y4JUHfILLwdrwgJFgCkmjwwRVn+x5JlK6qfdnNJ5IlI/AOpXSHxUo4A6IEiNbg3mjFMZuYFN+Lsb7R3LgSt8mmnMxR/BJ7mbCdE5dEYmhIQubEo7hdQOLpO6auno5LFVYze5b73cPkfWfSar2yfIvhlnxWOX/4FZBmA3PXWnGqRE7O/TQ/bTmhIhaRMqmq82SqnoknNKDGhFPuvExyNPCZwS1//Eem3AVor9vPqti0X6Q/i2y/m9XYTHWwbrcWSemq2Lp4g8kOUCakjnFm2kastOKj9VrV/ME01M93ZH8S9NaVF5ac39fNdyV/zkY6nWirQSSL5oVrLdLDMmaZFsfVhE9+mu+HJP0lLmy2BQyJ6u09iBBN7So04IHdL0XmQd2W4vGj0CJrT9kq+4rBwjPJadgDxUknYRMG4+TYF0verCvhQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR10MB4759.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(6916009)(5660300002)(66556008)(6506007)(66946007)(8936002)(66476007)(52116002)(26005)(83380400001)(86362001)(6486002)(8676002)(38100700002)(186003)(508600001)(38350700002)(36916002)(4326008)(4744005)(6512007)(316002)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?E7Lv2oDCa3SdiIPN8MaS50a44QVP+uJrwJSVvcHYVekrCnzzY38VB2limFKq?= =?us-ascii?Q?2Z/eHIRZspw1xg7EzecHMvDj9mwJgQNhcC5LAJFNglIvjricSHXUNrMOclJJ?= =?us-ascii?Q?/mVQV4AKNit7eJ8FZQGfKesHTdRBHx7yMOJuqQFCX/qQwBo5tbGbRpTNvCn1?= =?us-ascii?Q?T19IasGU0/SuOZZ1OCxJGneslqI9rINh8dZR7NN5JB39/yvttYy3AXuxWVNX?= =?us-ascii?Q?j9Pm4m9LkYfxllbV094ASTO9Qr4XTWPEVVrQrKi7L61uoEqM02sC3m5C8Da3?= =?us-ascii?Q?2GKoG7qPiFeTjJWjTSVwIFq7st0zMSC6AJjVad2mIn4kesjLcEOx6BfaE1q6?= =?us-ascii?Q?ipwyg6f/92eGYhwodDaso09+RPAb9K0izI+UBukpWx0PP+NvwnDz1pkhsB+F?= =?us-ascii?Q?mlIf2cIYf1l6wxrgn4t8s23mx0s3CwaqqKHD0G6Z8Y7xANXdGoLT4zoZJPgj?= =?us-ascii?Q?pnCIqq1pCMgBdgPAFvbXVkTUA8dJjDCOOqsbbZ5Wetooov2o2XVu28YRyj2g?= =?us-ascii?Q?52g70zNIQYGJYBz71rtJZuydxq+YLIQSgZ0jqGeLDPqb/NJwSIV0ZyPhfP8R?= =?us-ascii?Q?BQSjjFtxPhMA/qBWfghYNhBKWMxUMP56NsE7G5k1B3kk/9tOz8vI1MhXhNQ3?= =?us-ascii?Q?52GmEyqQ9gjs4tvUiglTYvBOPZ5TY8h3NVWfVENfak9T6gwq3bPBVxHApjgW?= =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BFExXISZGLN?= =?us-ascii?Q?2QUk9zkJVmmmBtJdU3S/F8XawdcKQt/rzzW4EDxx+bmHMo9S4jHSpAk8Akfc?= =?us-ascii?Q?INwyzw=3D=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac735131-3603-43c1-a197-08d9dafeeb71 X-MS-Exchange-CrossTenant-AuthSource: PH0PR10MB4759.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2022 03:51:05.7526 (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: xSOvOCBQDfUJ4FOePEw4v5Rerm7TJtxlx1kT8hgLPZOvMtXyXlpAnGaNQqJ0fwDe/ueoOGOum1zeh6UmdET8UzYFVwC+hPqzfhzaWJIujus= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR10MB1410 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10231 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxscore=0 suspectscore=0 phishscore=0 malwarescore=0 mlxlogscore=783 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2201190017 X-Proofpoint-GUID: KYnfsgk3eU-DqYQ3jPBPljJRT3NjI_SJ X-Proofpoint-ORIG-GUID: KYnfsgk3eU-DqYQ3jPBPljJRT3NjI_SJ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org John, > The bnx2fc_destroy functions are removing the interface before calling > destroy_work. This results multiple WARNings from sysfs_remove_group > as the controller rport device attributes are removed to early. > > Replace the fcoe_port's destroy_work queue. It's not needed. Applied to 5.17/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering