Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp97292pxu; Tue, 6 Oct 2020 20:18:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFWKTUzSooOkVJS5QxrTcFRhgHs/2JFg9NHYL0RrX94pV82GoXUDyi+0i1rrVBnWH55hL4 X-Received: by 2002:aa7:d30f:: with SMTP id p15mr1318703edq.256.1602040708070; Tue, 06 Oct 2020 20:18:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602040708; cv=none; d=google.com; s=arc-20160816; b=I1AWtBCFDKzhVdCavAPoSx2JFR4f6ClDm71bKjAn6JY4mc3ichvfkzEem8pKwF5srP J6RbK+jO6ys7pQuL+0NpXgS84arcg0Hbd1M8vzTG/brMBDaNGwuQcUnXh2SqOBZw/F8L tZgRpXTwRJeEWC7GRal1gkBJqJtfVZlYj1yYdcjv+oGB5pi4zgAvofN/osgKRolVADCk oKBrFq3IcYOh4arBTJtwoS0iADEW0ozvP7lk2u0nDaL3Du7PrCdFo2gFDGYnd+Xw1vyT HkiMYinlTwPVoYlMNJBfVb1UjZTIgBtzW/xudmObzvXyFEAFJPkFPJ7G77zKVoSUfiTa 01vg== ARC-Message-Signature: i=1; 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; bh=SpqvUTc1JSIevtlxGlR/OvymXNJlO9t3p+BYhnP/fQs=; b=litZ3N65gIz/0Leafqibl2TY8lcR/6yz7N/6kLJx1DSvQoNULmRYJWcRDM4qNGQ2KC Ss8H19Z+7ZAJYs61If14Hwg4UngIfAjti460McBCT6ySYg4gK/pTUnjakUEqCPTgW0ao SNJg8Ez3jjV6wUvxAoOA5HTXOOoiDx1dEMRA7TN+F+o4omop8HuheuTER7Qor6wwtSoN CBnPM1yX5tH9NUmL6j0TRN2gUm0lDfCILN8o9zSqGElSH8YJtEoRlOYSw0MabX5xfzgk 8u8aVlGzeAB9TQ65Rn5i+uPv78Y8O0ajjEOpq/9p5B1k8AAKC6jgsHMra8G1k+IegdeG 3QOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=O4yR+xv3; 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 b18si472653edh.71.2020.10.06.20.18.05; Tue, 06 Oct 2020 20:18:28 -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=@oracle.com header.s=corp-2020-01-29 header.b=O4yR+xv3; 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 S1727201AbgJGDHh (ORCPT + 99 others); Tue, 6 Oct 2020 23:07:37 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:39110 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725996AbgJGDHg (ORCPT ); Tue, 6 Oct 2020 23:07:36 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09733tf2176285; Wed, 7 Oct 2020 03:07:18 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 : mime-version : content-type; s=corp-2020-01-29; bh=SpqvUTc1JSIevtlxGlR/OvymXNJlO9t3p+BYhnP/fQs=; b=O4yR+xv3Hdfo5xVhtKWlfAz2F++lKDjJA2shPgffl8O7mxA3UhjwwabF8aPMLtcuafwt lyIOVeGgxQd8mTRWiO3PSfb8Wxk4WVEw1c9iP+rzMPO1iwl4LXNMd7tCpVyM+2PuJpwc LyYHEsJvdwOpZVC/b2XftCA8obeAU55bNlS1zAFvWd1LnvD4RefnHUYz0b2fFDdUbXEX ToLLI3MXNeV2ldZ+mOPmqhc87kKQyA0j6VIZljDReXr0PfyRNKfZx+tF5m4fzg7cwdaV wwXgcyzey/LIiI6PvoKhwDL6qsptUJC4JMuvb0gOwDT1HfBKe/sLvsBeRJyHAsy8KCo8 Bg== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 33ym34mgc0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 07 Oct 2020 03:07:18 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09735H1u174326; Wed, 7 Oct 2020 03:05:18 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 33y2vnwvq1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 07 Oct 2020 03:05:18 +0000 Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 09735AQA027537; Wed, 7 Oct 2020 03:05:11 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 06 Oct 2020 20:05:10 -0700 To: Liu Shixin Cc: Oliver Neukum , Ali Akcaagac , "Jamie Lenehan" , "James E.J. Bottomley" , "Martin K. Petersen" , , , Subject: Re: [PATCH -next] scsi: dc395x: use module_pci_driver to simplify the code From: "Martin K. Petersen" Organization: Oracle Corporation Message-ID: References: <20200917071044.1909268-1-liushixin2@huawei.com> Date: Tue, 06 Oct 2020 23:05:06 -0400 In-Reply-To: <20200917071044.1909268-1-liushixin2@huawei.com> (Liu Shixin's message of "Thu, 17 Sep 2020 15:10:44 +0800") MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9766 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=999 malwarescore=0 suspectscore=1 spamscore=0 phishscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2010070020 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9766 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 impostorscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=999 clxscore=1011 bulkscore=0 spamscore=0 malwarescore=0 phishscore=0 suspectscore=1 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2010070020 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Liu, > Use the module_pci_driver() macro to make the code simpler by > eliminating module_init and module_exit calls. Applied to 5.10/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering