diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-12 08:41:20 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-01-08 21:57:42 -0500 |
commit | 463563fa745ac7ac564458c1903325b937ee8c5f (patch) | |
tree | 458917b2f6ad4ca44e87f30b83220815f2ba65cb /drivers/scsi/Kconfig | |
parent | 8d22022c3a56314b182810794cae47686b765313 (diff) |
scsi: gdth: remove gdth_{alloc,free}_ioctl
Out of the three callers once insists on the scratch buffer, and the
others are fine with a new allocation. Switch those two to just use
pci_alloc_consistent directly, and open code the scratch buffer
allocation in the remaining one. This avoids a case where we might
be doing a memory allocation under a spinlock with irqs disabled.
[mkp: typo]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/Kconfig')
0 files changed, 0 insertions, 0 deletions