lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 13 Jul 2021 10:28:48 +0530 From: "Kumar, M Chetan" <m.chetan.kumar@...el.com> To: Christophe JAILLET <christophe.jaillet@...adoo.fr>, linuxwwan@...el.com, loic.poulain@...aro.org, ryazanov.s.a@...il.com, johannes@...solutions.net, davem@...emloft.net, kuba@...nel.org Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org Subject: Re: [PATCH] net: wwan: iosm: switch from 'pci_' to 'dma_' API On 7/11/2021 8:21 PM, Christophe JAILLET wrote: > 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 'ipc_protocol_init()' GFP_KERNEL can be used > because this flag is already used a few lines above and no lock is > acquired in the between. > > When memory is allocated in 'ipc_protocol_msg_prepipe_open()' GFP_ATOMIC > should be used because this flag is already used a few lines above. Thanks, Reviewed-by: M Chetan Kumar <m.chetan.kumar@...el.com> Regards, Chetan
Powered by blists - more mailing lists