Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp454543pxa; Tue, 4 Aug 2020 09:24:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyubv1XhZ7lHfPg7kA4O2sal+eePwsCU8APPtQFXlk+wmdShOPlvgWQstLVqWfZTEHKvLn0 X-Received: by 2002:a05:6402:1d01:: with SMTP id dg1mr3877840edb.291.1596558279827; Tue, 04 Aug 2020 09:24:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596558279; cv=none; d=google.com; s=arc-20160816; b=kI/qAqt07DD24kBkAW90UZG5krTgFwLI2j71IG+xnfpwS2eE+MoxX8bug+vzmO7o1p kMX8DeGHEZdo3r+l84VYhxaPRWtydDgKvj+ZeNqGAI68KV3AtjF7eKMKIAmZ49jW9Ur5 9r2K9TWT+OImWt9opnooJR5UZTIHXMiW40BpB48XdY9uGHe5Q7V13W2yykAI6mvHWzqQ eDOC2M5o8gkZtyHxMr0j+gmYNVgJUgHvNoq+Ifu+85X8qZ+BsZlr5jwQimoN4yxd2rGc tGXy8RHZHIiAxq71+Zg0Q4cjN6ezQk6u+Ipagqww+9gSyaRUux9JRw33IfACIePJFL/d lIoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=ST9UBbZKghuCFpLuvhcBi8OC0S5lAPRob4gGRkqUBQI=; b=OcbzfggBq5I6Sj5w4ToQvGXvFfuLs+XpGolWZb9MCeLsAtJQLNHXTM29+kLvIKPT9C 1EzN3h6gWyhez8IOUVaPeefi+R7aNioF7ljL8hnuw1P+3eY8NMve+FheDeN3nu2Lo9HF c1LlnvTdVCA9PvqP/0g0kvUfyB0Ke/vEEM92DElcmPU6PIEZyVNd1/8wfI90H2gk5oq8 tW+yo/SI4dyM7TIdbBDucxcz/ITZhIzdm4bTJHJnCKJJmC7e4fTgVDxpe4ihOibhyVNl WsSKZNuzocbyVivc+Sti1VHvEyT3SzJFFOfgbYBzNnx8PRPQHu9A9p+RyPgewdm0Bamg Mngw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="SXN/9Lte"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c22si12303625edv.293.2020.08.04.09.24.16; Tue, 04 Aug 2020 09:24:39 -0700 (PDT) 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=@broadcom.com header.s=google header.b="SXN/9Lte"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728525AbgHDQXd (ORCPT + 99 others); Tue, 4 Aug 2020 12:23:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729745AbgHDQVc (ORCPT ); Tue, 4 Aug 2020 12:21:32 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A14A8C061756 for ; Tue, 4 Aug 2020 09:21:31 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id q76so3501887wme.4 for ; Tue, 04 Aug 2020 09:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=ST9UBbZKghuCFpLuvhcBi8OC0S5lAPRob4gGRkqUBQI=; b=SXN/9LteKBtddUwm0e5UMFZX3bzVy6GxJDciQvp2jhpu55QK068xpA0TfA0ee205Gq DgEXzVRWBbixlxxR6B5P0TtoYIbj4NJ9A9ZNkb7quhHTJZkqIkp0P909n8sCBYYLkAV2 8AVP2oyeTNXt8vnnqVD/PXQoMn9T+CH8sjMFE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ST9UBbZKghuCFpLuvhcBi8OC0S5lAPRob4gGRkqUBQI=; b=BhmWABWBPwtu3fewKGXbVPhDyJMA/m5uncB/WH128phOt4CnmGWSrV35aXYYO8kJo5 sqbHnahLtdzIOT3mPHbKw+vz/7nnBpEVPzBuam8ZXCGa/YRXy6I3d3ug6utVLLP6dPwN z0Ysd4iKDdUwafqTOUUbx+AVZkFSNCnykHFLgaS30Ra6V1OhxPaQxrhOZKK2vKFLEbip A1mokFkqCdD7I9lxGBCCxml76VNM2qCsFAJ0K3wyYKxvTvYvPAOtwK5pSvNbJbIaequL uvOPEs0tK0kqghJ3U19VdHufqnKChULUn1PxYT8zLU61rIvoO737Gc6OGzViIBtAqrTE 9rdg== X-Gm-Message-State: AOAM531FqZzpuJV9UKdp9oWHaet9yT7d9CZoTpJrYiTkkV1voXn0ZMbM VpNpv8cpCFrqIPvNwomJq5OWjca+X+3IMUhb9EBrQaogBhDDrRer5lAMPnMjnCj7c4q0ll8dPyb OWEpsmKlhdNEHP/9OU6lKuk19U33qU+o1lK9QiDJAF71eF3Oo8Ac6KG801E8RXiuF29P0EFv/Jj MiBghkpw== X-Received: by 2002:a1c:6a03:: with SMTP id f3mr3422486wmc.181.1596558089133; Tue, 04 Aug 2020 09:21:29 -0700 (PDT) Received: from [10.230.185.151] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id z12sm29956754wrp.20.2020.08.04.09.21.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Aug 2020 09:21:28 -0700 (PDT) Subject: Re: [PATCH] scsi: lpfc: Add the missed misc_deregister() for lpfc_init() To: Jing Xiangfeng , dick.kennedy@broadcom.com, jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200731065639.190646-1-jingxiangfeng@huawei.com> From: James Smart Message-ID: Date: Tue, 4 Aug 2020 09:21:23 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200731065639.190646-1-jingxiangfeng@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/30/2020 11:56 PM, Jing Xiangfeng wrote: > lpfc_init() misses to call misc_deregister() in an error path. Add a > label 'unregister' to fix it. > > Signed-off-by: Jing Xiangfeng > --- > drivers/scsi/lpfc/lpfc_init.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > Looks fine. Reviewed-by: James Smart Thanks -- james