Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1574394ybh; Mon, 20 Jul 2020 01:35:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXinOvTvfjMT+Ph9B84ztd/+da5b3hqD9pSYqvrxwo1LvNJomVEAkPFrtOeXB/huA4spm/ X-Received: by 2002:a17:906:6004:: with SMTP id o4mr20346625ejj.411.1595234100989; Mon, 20 Jul 2020 01:35:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595234100; cv=none; d=google.com; s=arc-20160816; b=wCePqq7FQTxoGurWtTwsxUUy5oC259QukZh7764yFyl/qaFQW65A2iO6NB2x+rqI8a MNuSh4fXB3lgbADCyL72sdMJw+VxPKff1csu+IfxFvPk9Xx7OlMVpPgAOmPwJ7ycA5s3 8q8nOcxFCXo3MTfBNmyizBLGDoxzgGPq+Ds2oWjIqeaS/TEzvHOX4+kF8y9w2mS7302O 6N7WsBuu28Mo/uyql5QBRZ7kzOhIKt5r2XbRk52euNiRt3OieUlXOw0rP6oZB9AQbisH R0zkQH1JNY0+6oAjJgD/X/qQ+z2tMkrbk1BXRMZ9RYeueWjwEZrBjUejB2sXMe69ia4a tF4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Z+9vIeiYcNANUHiTbW9lBIn+ez6nqkJZFEdNCzSF+Z4=; b=WbE4DhMRkwjTc3Tdxh62E65o8DZpXSF2WpJcFrtjA2QnWqU7E0dFxiM9eSbBcgcxOs Gkzdwkj8f4e0W85yUGF9ndO/xlfJWbCTIPxOuK2NhgJdfD4OpujUOJ9Jvo6n7U4JHyxb AeYQKKoT8rTnNGvpbDDBca2FzCgoxG5VrCCVLyvPM8qYk5x3v3A5dQpxutATqecF/7CU Y6Gc2QyNMslYy3G/9feJbAan6LpksB1YgIKeW6H1/juBDOHDs082t2SoZm04N1ej2arq xCwySNRm97AOtGxYnwC8zi4mzwxH9Tw6gjfelqs49cDiyDvVjjsXIBjZbMp3ZHEow/oa k6nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=mQSdptuQ; 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 c95si13834730edf.304.2020.07.20.01.34.38; Mon, 20 Jul 2020 01:35:00 -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=mQSdptuQ; 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 S1727986AbgGTIeJ (ORCPT + 99 others); Mon, 20 Jul 2020 04:34:09 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:46326 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbgGTIeJ (ORCPT ); Mon, 20 Jul 2020 04:34:09 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06K8Y3os161838; Mon, 20 Jul 2020 08:34:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2020-01-29; bh=Z+9vIeiYcNANUHiTbW9lBIn+ez6nqkJZFEdNCzSF+Z4=; b=mQSdptuQj1sRn+wgSwKGfHdWwtZnQxeAtjAI0msh3Cc3Z52o+4y+R4hcPSSpLVLHpwfe 4atUNemko3xRUMRmF0ciIBueIUU/mtDqZetwxGKcTzLtfBE6PdU4kXAUG5cbNBrleZQ8 nMeSej3HdIok5KVP6S0/SLPgt2VULhAY6hStV0curauj939JWmQL9Qf7fPAF9DaupEha DiJkeazmVCzeiCBrszHBpI1WsiFsnNnkf2p/HRQCestsLeTB/DHXp9oWai/Ug5CVqR1p gTlPYD8m3t6c68/xmIQwvTY/eAXRJ3nilyf8QBR8pzIUqjXFhRK6/EAAWxBaa4DTvGqY fQ== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 32bpkawq74-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Jul 2020 08:34:04 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06K8O6o0165117; Mon, 20 Jul 2020 08:33:06 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 32cvj9dn7n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 20 Jul 2020 08:33:06 +0000 Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 06K8X5O9032031; Mon, 20 Jul 2020 08:33:05 GMT Received: from kadam (/41.57.98.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 20 Jul 2020 01:33:05 -0700 Date: Mon, 20 Jul 2020 11:32:59 +0300 From: Dan Carpenter To: Suraj Upadhyay Cc: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] staging: kpc2000: Replace depracated MSI APIs Message-ID: <20200720083259.GE2549@kadam> References: <20200719141222.GA29679@blackclown> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200719141222.GA29679@blackclown> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9687 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=2 spamscore=0 mlxlogscore=882 malwarescore=0 bulkscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007200063 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9687 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=2 bulkscore=0 mlxlogscore=908 mlxscore=0 malwarescore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 priorityscore=1501 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007200064 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 19, 2020 at 07:42:22PM +0530, Suraj Upadhyay wrote: > Replace depracated MSI IRQ enabler and disabler > with pci_alloc_irq_vectors and pci_free_irq_vectors respectively. > Compile tested. > > Signed-off-by: Suraj Upadhyay > --- > Changes: > v3: Replaced the disabler for MSI IRQ too with > pci_free_irq_vectors. No, this still has bugs. Grep the file for msi and update everything and update the comments and label names as well. Can you just slow down a bit and fix one driver correctly before trying to fix a bunch of drivers? regards, dan carpenter