mirror of https://github.com/torvalds/linux.git
The f_op->mmap interface is deprecated, so update driver to use its successor, mmap_prepare. The driver previously used vm_iomap_memory(), so this change replaces it with its mmap_prepare equivalent, mmap_action_simple_ioremap(). Functions that wrap mmap() are also converted to wrap mmap_prepare() instead. Also update the documentation accordingly. Link: https://lkml.kernel.org/r/08ecc1e1d319564fd49b9e9012f994edaff921db.1774045440.git.ljs@kernel.org Signed-off-by: Lorenzo Stoakes (Oracle) <ljs@kernel.org> Reviewed-by: Suren Baghdasaryan <surenb@google.com> Acked-by: Vlastimil Babka (SUSE) <vbabka@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Bodo Stroesser <bostroesser@gmail.com> Cc: Christian Brauner <brauner@kernel.org> Cc: Clemens Ladisch <clemens@ladisch.de> Cc: David Hildenbrand <david@kernel.org> Cc: David Howells <dhowells@redhat.com> Cc: Dexuan Cui <decui@microsoft.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Jan Kara <jack@suse.cz> Cc: Jann Horn <jannh@google.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Long Li <longli@microsoft.com> Cc: Marc Dionne <marc.dionne@auristor.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Mike Rapoport <rppt@kernel.org> Cc: Miquel Raynal <miquel.raynal@bootlin.com> Cc: Pedro Falcato <pfalcato@suse.de> Cc: Richard Weinberger <richard@nod.at> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Vignesh Raghavendra <vigneshr@ti.com> Cc: Wei Liu <wei.liu@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
||
|---|---|---|
| .. | ||
| 80211 | ||
| acpi | ||
| backlight | ||
| coco | ||
| crypto | ||
| cxl | ||
| dmaengine | ||
| driver-model | ||
| early-userspace | ||
| firmware | ||
| fpga | ||
| gpio | ||
| hte | ||
| i3c | ||
| iio | ||
| md | ||
| media | ||
| mei | ||
| memory-devices | ||
| mmc | ||
| mtd | ||
| nfc | ||
| nvdimm | ||
| pci | ||
| phy | ||
| pldmfw | ||
| pm | ||
| rapidio | ||
| serial | ||
| soundwire | ||
| surface_aggregator | ||
| thermal | ||
| tty | ||
| usb | ||
| virtio | ||
| xilinx | ||
| aperture.rst | ||
| auxiliary_bus.rst | ||
| basics.rst | ||
| clk.rst | ||
| component.rst | ||
| connector.rst | ||
| console.rst | ||
| devfreq.rst | ||
| device-io.rst | ||
| device_link.rst | ||
| dma-buf.rst | ||
| dpll.rst | ||
| edac.rst | ||
| eisa.rst | ||
| extcon.rst | ||
| firewire.rst | ||
| frame-buffer.rst | ||
| generic-counter.rst | ||
| generic_pt.rst | ||
| hsi.rst | ||
| hw-recoverable-errors.rst | ||
| i2c.rst | ||
| index.rst | ||
| infiniband.rst | ||
| infrastructure.rst | ||
| input.rst | ||
| interconnect.rst | ||
| io-mapping.rst | ||
| io_ordering.rst | ||
| ioctl.rst | ||
| ipmb.rst | ||
| ipmi.rst | ||
| isa.rst | ||
| libata.rst | ||
| mailbox.rst | ||
| men-chameleon-bus.rst | ||
| message-based.rst | ||
| misc_devices.rst | ||
| miscellaneous.rst | ||
| mtdnand.rst | ||
| ntb.rst | ||
| nvmem.rst | ||
| parport-lowlevel.rst | ||
| pin-control.rst | ||
| pps.rst | ||
| ptp.rst | ||
| pwm.rst | ||
| pwrseq.rst | ||
| regulator.rst | ||
| reset.rst | ||
| rfkill.rst | ||
| s390-drivers.rst | ||
| scsi.rst | ||
| slimbus.rst | ||
| sm501.rst | ||
| spi.rst | ||
| switchtec.rst | ||
| sync_file.rst | ||
| target.rst | ||
| tee.rst | ||
| uio-howto.rst | ||
| vfio-mediated-device.rst | ||
| vfio-pci-device-specific-driver-acceptance.rst | ||
| vfio.rst | ||
| vme.rst | ||
| w1.rst | ||
| wbrf.rst | ||
| wmi.rst | ||
| xillybus.rst | ||
| zorro.rst | ||