From: David Miller <davem@davemloft.net> To: christophe.jaillet@wanadoo.fr Cc: kuba@kernel.org, jes@trained-monkey.org, linux-acenic@sunsite.dk, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] net: alteon: switch from 'pci_' to 'dma_' API Date: Fri, 17 Jul 2020 12:57:41 -0700 (PDT) [thread overview] Message-ID: <20200717.125741.1362531111425041030.davem@davemloft.net> (raw) In-Reply-To: <20200716204802.326057-1-christophe.jaillet@wanadoo.fr> From: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Date: Thu, 16 Jul 2020 22:48:02 +0200 > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has been > hand modified to replace GFP_ with a correct flag. > It has been compile tested. > > When memory is allocated in 'ace_allocate_descriptors()' and > 'ace_init()' GFP_KERNEL can be used because both functions are called from > the probe function and no lock is acquired. ... > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Applied.
WARNING: multiple messages have this Message-ID (diff)
From: David Miller <davem@davemloft.net> To: christophe.jaillet@wanadoo.fr Cc: kuba@kernel.org, jes@trained-monkey.org, linux-acenic@sunsite.dk, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] net: alteon: switch from 'pci_' to 'dma_' API Date: Fri, 17 Jul 2020 19:57:41 +0000 [thread overview] Message-ID: <20200717.125741.1362531111425041030.davem@davemloft.net> (raw) In-Reply-To: <20200716204802.326057-1-christophe.jaillet@wanadoo.fr> From: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Date: Thu, 16 Jul 2020 22:48:02 +0200 > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has been > hand modified to replace GFP_ with a correct flag. > It has been compile tested. > > When memory is allocated in 'ace_allocate_descriptors()' and > 'ace_init()' GFP_KERNEL can be used because both functions are called from > the probe function and no lock is acquired. ... > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Applied.
next prev parent reply other threads:[~2020-07-17 19:57 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-16 20:48 [PATCH] net: alteon: switch from 'pci_' to 'dma_' API Christophe JAILLET 2020-07-16 20:48 ` Christophe JAILLET 2020-07-17 19:57 ` David Miller [this message] 2020-07-17 19:57 ` David Miller
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200717.125741.1362531111425041030.davem@davemloft.net \ --to=davem@davemloft.net \ --cc=christophe.jaillet@wanadoo.fr \ --cc=jes@trained-monkey.org \ --cc=kernel-janitors@vger.kernel.org \ --cc=kuba@kernel.org \ --cc=linux-acenic@sunsite.dk \ --cc=linux-kernel@vger.kernel.org \ --cc=netdev@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.