]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
highmem: delete a sentence from kmap_local_page() kdocs
authorFabio M. De Francesco <fmdefrancesco@gmail.com>
Thu, 28 Jul 2022 15:48:43 +0000 (17:48 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 9 Aug 2022 01:06:46 +0000 (18:06 -0700)
commit72f1c55adf70fd08ceac6b67455238db2014894a
tree205b046261c7075357f8971cd8208fbf06059b77
parent84b86f6054c42776c0d6482ab9a9071b247159fa
highmem: delete a sentence from kmap_local_page() kdocs

kmap_local_page() should always be preferred in place of kmap() and
kmap_atomic().  "Only use when really necessary." is not consistent with
the Documentation/mm/highmem.rst and these kdocs it embeds.

Therefore, delete the above-mentioned sentence from kdocs.

Link: https://lkml.kernel.org/r/20220728154844.10874-7-fmdefrancesco@gmail.com
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Suggested-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Peter Collingbourne <pcc@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/highmem.h