diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-12-17 15:32:47 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-16 18:36:08 +0300 |
| commit | 68a9459a5c4e8b978c3eb5d75be5446799e483de (patch) | |
| tree | 547055454f097d5f54286090444ee7cee9830aa5 /include | |
| parent | 86b31a2c81817d09cb5cbea9457a9f294ed9bb7d (diff) | |
| download | linux-68a9459a5c4e8b978c3eb5d75be5446799e483de.tar.xz | |
kunit: fix up const mis-match in many assert functions
In many kunit assert functions a const pointer is passed to
container_of() and out pops a non-const pointer, which really isn't the
correct thing to do at all. Fix this up by correctly marking the
casted-to pointer as const to preserve the marking.
Cc: Brendan Higgins <brendan.higgins@linux.dev>
Cc: David Gow <davidgow@google.com>
Cc: Rae Moar <raemoar63@gmail.com>
Cc: linux-kselftest@vger.kernel.org
Cc: kunit-dev@googlegroups.com
Reviewed-by: David Gow <davidgow@google.com>
Link: https://patch.msgid.link/2025121746-result-staleness-5a68@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
