summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-12-19 20:33:50 +0100
committerVinod Koul <vkoul@kernel.org>2023-12-21 21:29:21 +0530
commit1075ee66a8c19bfa375b19c236fd6a22a867f138 (patch)
tree680bb5ed93169c5c49fc2af845f0d33f9167b98d /scripts/const_structs.checkpatch
parent70f008fb3ea9bd2e6727eebc858405acd49a212b (diff)
downloadkernel-1075ee66a8c19bfa375b19c236fd6a22a867f138.tar.gz
dmaengine: idxd: Remove usage of the deprecated ida_simple_xx() API
ida_alloc() and ida_free() should be preferred to the deprecated ida_simple_get() and ida_simple_remove(). This is less verbose. Note that the upper limit of ida_simple_get() is exclusive, but the one of ida_alloc_range() is inclusive. Sothis change allows one more device. MINORMASK is ((1U << MINORBITS) - 1), so allowing MINORMASK as a maximum value makes sense. It is also consistent with other "ida_.*MINORMASK" and "ida_*MINOR()" usages. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Fenghua Yu <fenghua.yu@intel.com> Acked-by: Lijun Pan <lijun.pan@intel.com> Link: https://lore.kernel.org/r/ac991f5f42112fa782a881d391d447529cbc4a23.1702967302.git.christophe.jaillet@wanadoo.fr Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
warningsRandy Dunlap 2024-01-04dma-debug: make dma_debug_add_bus take a const pointerGreg Kroah-Hartman 2023-10-23dma-debug: Fix a typo in a debugging eye-catcherChuck Lever 2023-08-30dma-debug: don't call __dma_entry_alloc_check_leak() under free_entries_lockSergey Senozhatsky 2023-03-30dma-debug: Use %pa to format phys_addr_tGeert Uytterhoeven 2023-03-28dma-debug: add cacheline to user/kernel space dump messagesDesnes Nunes 2023-03-28dma-debug: small dma_debug_entry's comment and variable name updatesDesnes Nunes 2022-09-07dma-debug: improve search for partial syncsRobin Murphy 2022-06-02dma-debug: make things less spammy under memory pressureRob Clark 2022-05-11dma-debug: change allocation mode from GFP_NOWAIT to GFP_ATIOMICMikulas Patocka 2022-03-03dma-debug: fix return value of __setup handlersRandy Dunlap 2021-10-18dma-debug: teach add_dma_entry() about DMA_ATTR_SKIP_CPU_SYNCHamza Mahfooz 2021-10-11dma-debug: fix sg checks in debug_dma_map_sg()Gerald Schaefer 2021-09-13dma-debug: prevent an error message from causing runtime problemsHamza Mahfooz 2021-08-09dma-debug: fix debugfs initialization orderAnthony Iliopoulos 2021-08-09dma-debug: use memory_intersects() directlyKefeng Wang 2021-06-22dma-debug: report -EEXIST errors in add_dma_entryHamza Mahfooz 2020-10-06dma-mapping: move dma-debug.h to kernel/dma/Christoph Hellwig 2020-09-21dma-debug: convert comma to semicolonXu Wang 2020-09-11dma-debug: remove most exportsChristoph Hellwig 2020-08-14dma-debug: remove debug_dma_assert_idle() functionLinus Torvalds 2020-08-14dma-debug: fix debug_dma_assert_idle(), use rcu_read_lock()Hugh Dickins 2020-08-04Merge tag 'docs-5.9' of git://git.lwn.net/linuxLinus Torvalds 2020-08-04Merge tag 'dma-mapping-5.9' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds 2020-07-19dma-debug: use named initializers for dir2nameChristoph Hellwig 2020-07-16treewide: Remove uninitialized_var() usageKees Cook 2020-06-26docs: fix references for DMA*.txt filesMauro Carvalho Chehab