diff options
| author | Liam R. Howlett (Oracle) <liam@infradead.org> | 2026-06-30 15:08:38 -0400 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-07-25 21:49:10 -0700 |
| commit | c18b07a5457fa7ab2a145f33da94ba1f5d4cebca (patch) | |
| tree | 14d485cae8b525493f0132648eb9df76dfd115bd /.gitattributes | |
| parent | 7a043f6fc714139a3fa04b5f010f67cefa63a9ec (diff) | |
| download | linux-next-c18b07a5457fa7ab2a145f33da94ba1f5d4cebca.tar.gz linux-next-c18b07a5457fa7ab2a145f33da94ba1f5d4cebca.zip | |
maple_tree: WARN_ON_ONCE when allocations fail
Allocations should never fail in the circumstances that are expected to
occur. Add checks in the code to ensure the circumstances are correctly
set up by the user and warn if they are not.
Also add a warning on failure to allocate, which should never happen.
Link: https://lore.kernel.org/20260630190843.3563858-15-liam@infradead.org
Signed-off-by: Liam R. Howlett (Oracle) <liam@infradead.org>
Cc: Rik van Riel <riel@surriel.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Chris Mason <clm@meta.com>
Cc: Chuck Lever <cel@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Waiman Long <longman@redhat.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions
