All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] scsi: mptctl: Remove usage of the deprecated "pci-dma-compat.h" API
@ 2021-09-25  6:45 Christophe JAILLET
  2021-09-25  6:46 ` [PATCH 1/1] " Christophe JAILLET
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2021-09-25  6:45 UTC (permalink / raw)
  To: jejb, martin.petersen, sathya.prakash, sreekanth.reddy,
	suganath-prabu.subramani
  Cc: MPT-FusionLinux.pdl, linux-scsi, linux-kernel, kernel-janitors,
	Christophe JAILLET

This cover letter is only there to draw attention on the fact that I'm a bit
unsure about the use of GFP_KERNEL in 'kbuf_alloc_2_sgl()'.

In all conversion that I've done, GFP_USER was never used. I don't fully
understand the difference between GFP_USER and GFP_KERNEL.

So please review with care.


For the 3 other functions, I'm much more confident. I've put the explanation
of why I think that GFP_KERNEL is safe in patch 1/1.
Basically, these functions already call some functions that can sleep.


Christophe JAILLET (1):
  scsi: mptctl: switch from 'pci_' to 'dma_' API

 drivers/message/fusion/mptctl.c | 82 ++++++++++++++++++++-------------
 1 file changed, 49 insertions(+), 33 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-25  6:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-25  6:45 [PATCH 0/1] scsi: mptctl: Remove usage of the deprecated "pci-dma-compat.h" API Christophe JAILLET
2021-09-25  6:46 ` [PATCH 1/1] " Christophe JAILLET

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.