diff options
| author | Greg Kroah-Hartman <[email protected]> | 2025-05-21 12:08:44 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-05-21 12:08:44 +0000 |
| commit | 4a6e2325afc980920b48d5337a5fd3d1649b0aff (patch) | |
| tree | 073b27722462a63718cc1cb7a8d9d0f117b42ef1 /drivers/fpga/tests | |
| parent | Merge tag 'counter-updates-for-6.16' of ssh://gitolite.kernel.org/pub/scm/lin... (diff) | |
| parent | fpga: fix potential null pointer deref in fpga_mgr_test_img_load_sgt() (diff) | |
| download | kernel-4a6e2325afc980920b48d5337a5fd3d1649b0aff.tar.gz kernel-4a6e2325afc980920b48d5337a5fd3d1649b0aff.zip | |
Merge tag 'fpga-for-6.16-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/fpga/linux-fpga into char-misc-next
Xu writes:
FPGA Manager changes for 6.16-rc1
- Peter hands over the maintain role of m10bmc-sec driver to Matthew.
- Qasim's change fix potential NULL pointer for fpga test.
All patches have been reviewed on the mailing list, and have been in the
last linux-next releases (as part of our for-next branch).
Signed-off-by: Xu Yilun <[email protected]>
* tag 'fpga-for-6.16-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/fpga/linux-fpga:
fpga: fix potential null pointer deref in fpga_mgr_test_img_load_sgt()
fpga: m10bmc-sec: change contact for secure update driver
Diffstat (limited to 'drivers/fpga/tests')
| -rw-r--r-- | drivers/fpga/tests/fpga-mgr-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/fpga/tests/fpga-mgr-test.c b/drivers/fpga/tests/fpga-mgr-test.c index 8748babb0504..62975a39ee14 100644 --- a/drivers/fpga/tests/fpga-mgr-test.c +++ b/drivers/fpga/tests/fpga-mgr-test.c @@ -263,6 +263,7 @@ static void fpga_mgr_test_img_load_sgt(struct kunit *test) img_buf = init_test_buffer(test, IMAGE_SIZE); sgt = kunit_kzalloc(test, sizeof(*sgt), GFP_KERNEL); + KUNIT_ASSERT_NOT_ERR_OR_NULL(test, sgt); ret = sg_alloc_table(sgt, 1, GFP_KERNEL); KUNIT_ASSERT_EQ(test, ret, 0); sg_init_one(sgt->sgl, img_buf, IMAGE_SIZE); |
