Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp664194img; Thu, 28 Feb 2019 06:01:58 -0800 (PST) X-Google-Smtp-Source: AHgI3Iavc0ry/epN6BS1/u4VJXov82yAHXfX5RIvPtPzd3OC9XaIpwgZ7Kxejc+TfYCunIpp/B7J X-Received: by 2002:a63:81c7:: with SMTP id t190mr8752760pgd.166.1551362518466; Thu, 28 Feb 2019 06:01:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551362518; cv=none; d=google.com; s=arc-20160816; b=0TwZymsk6uyVvQOTruHdBylfX8yBW1nn/8yB+n04Agc3BWpsnZGo5Pt64DYw/WMcP2 6BrFkrUjxzQG2yUBYqJHudUUeUdM+8HMdvvsbnzSdr+jZlmUbOvv/6XgN1x5okxBO38L Zlq5Zxd17ZsN4Eqpj2le96HrcwjUls4hjKrC2mCUkuKyEuHSK/VZCT7yndhuSDMc3Cls aJavqPuQMJRuvmYkA47+ONB4oBZo+HJS76u8OTeqoSUqgUokVzK7HfS8zLtw2K2u9FUP CTviOJJIYWVWgryBJEdpVOJ2wZ86LGoOKVnPshX3lVFGVfEHHJMhvPOonkrQ8Vv4CoWh +YMQ== 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=YDUWC7wUujpAzTqYlp/PqlL1MRgZJoeqqg0wLYhDrLk=; b=lDw3LmMhINBKzuFyqj2o/bxgXO8CuBPwMed8uu4cGio9I7aap4t1f7flUKhU9oisHt uBX04rJkfmcmMBz+haTMQTVkhTk8TThlESm85/zxSWcUf8xMgi8SvwOVm79oTDnDd73H 5px4j6E6kLL/45btXZgD61awo+dDpK+uCma6UK3rx8jMneCzzI7WXCi85laC4AK1NrUP fYDej3vj0BPsaiaqz0bLP8A0vHpJfBZ5NQTJKYuw1iYtldiJLS7VStOxfPK1KnjJTLPR +6UzseNYi9uPOpLzmmfP2K7y4qCdGTRi3NeDLhCoci5mtYrZGgbZf6hPBcIP0pw2MC5e oRrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="X/LXIMx4"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u8si19365766pfj.231.2019.02.28.06.01.42; Thu, 28 Feb 2019 06:01:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="X/LXIMx4"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732237AbfB1OAr (ORCPT + 99 others); Thu, 28 Feb 2019 09:00:47 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:57554 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731305AbfB1OAr (ORCPT ); Thu, 28 Feb 2019 09:00:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YDUWC7wUujpAzTqYlp/PqlL1MRgZJoeqqg0wLYhDrLk=; b=X/LXIMx4HY4qQMsMjFotJlJRb 2I87RAq5nlSXvqp7qTCMcDj/xmWroVBZWV4o3t/cxwaMJGEfFHdrmRhKAuhT9avyZvNnDJmfmpQ/4 ssPkeGkvKzvW46u7OOE9K18m/ivtlu0/Y1mMSo/hhOTg5+F+Zn0LrROlD0YohSwMA/r8fEAidqd7y rmedK7u+KouxMg7aUole9UUlYED80n5D8/nz4Ee8224e6nEunejGf+guLxH9kBa9kc7iivb29oQG2 XBuUVE0XtmZCV+zVk4tBKwYMC2KfYiLvc0RM+b7erh7mBHygfxip8Y7+T5Spk9w1o305tWA2+qUSn Sqgwk08oQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzMEv-0000Rt-8i; Thu, 28 Feb 2019 14:00:45 +0000 Date: Thu, 28 Feb 2019 06:00:45 -0800 From: Christoph Hellwig To: Robert Eshleman Cc: Jay Cliburn , Chris Snook , "David S. Miller" , Tariq Toukan , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org Subject: Re: [PATCH 5/8] at12: use pci_zalloc instead of pci_alloc Message-ID: <20190228140045.GA24819@infradead.org> References: <485f61fd135d56e6e0c66ec41770ce7e5b8b219e.1551246708.git.bobbyeshleman@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <485f61fd135d56e6e0c66ec41770ce7e5b8b219e.1551246708.git.bobbyeshleman@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 26, 2019 at 10:09:52PM -0800, Robert Eshleman wrote: > This patch replaces a pci_alloc and memset(,0) call > with a single call to pci_zalloc. Please don't move from one deprecated API to another one. If you feel like cleaning up DMA API calls please move to dma_alloc_coherent, and do that for the whole DMA API usage.