<div>Hi xiao</div><div><br></div><div>I only fixed the null pointer. the sub test13 fail is not related to my patch, it fails because of no enough memory range for pci. I will look into this failure next week. But it should not block this fix.</div><div>Best Regards</div><div>Yang Xu</div><div><!--emptysign--></div><div><div style="font-size:12px;padding:2px 0;">---Original---</div><div style="font-size:12px;background:#f0f0f0;color:#212121;padding:8px!important;border-radius:4px;line-height:1.5;"><div><b>From:</b> "Xiao Yang"<yangx.jy@cn.fujitsu.com></div><div><b>Date:</b> Fri, Apr 3, 2020 18:11 PM</div><div><b>To:</b> "Yang Xu"<xuyang2018.jy@cn.fujitsu.com>;</div><div><b>Cc:</b> "ltp"<ltp@lists.linux.it>;</div><div><b>Subject:</b> Re: [LTP] [PATCH] ltp_tpci.c: fix a null pointer</div></div><br>On 2020/3/18 12:55, Yang Xu wrote:<br>> ps: I want to use a dymaic domain to fix it but failed. If someone know,<br>> please tell me. Also, this case failed when merging this patch because<br>> test 13 (test_assign_resources) report no space error as below:<br>> [754930.757585] ltp_tpci: test-case 13<br>> [754930.757585] ltp_tpci: assign resources<br>> [754930.757585] ltp_tpci: assign resource #0<br>> [754930.757586] ltp_tpci: name = 0000:00:08.0, flags = 262401, start 0xc140, end 0xc17f<br>> [754930.757586] ltp_tpci: assign resource #1<br>> [754930.757587] ltp_tpci: name = 0000:00:08.0, flags = 262656, start 0xfebd7000, end 0xfebd7fff<br>> [754930.757587] ltp_tpci: assign resource #2<br>> [754930.757587] ltp_tpci: name = 0000:00:08.0, flags = 0, start 0x0, end 0x0<br>> [754930.757588] ltp_tpci: assign resource #3<br>> [754930.757588] ltp_tpci: name = 0000:00:08.0, flags = 0, start 0x0, end 0x0<br>> [754930.757588] ltp_tpci: assign resource #4<br>> [754930.757589] ltp_tpci: name = 0000:00:08.0, flags = 538190348, start 0xfe80c000, end 0xfe80ffff<br>> [754930.757593] virtio-pci 0000:00:08.0: BAR 4: no space for [mem size 0x00004000 64bit pref]<br>> [754930.757594] virtio-pci 0000:00:08.0: BAR 4: failed to assign [mem size 0x00004000 64bit pref<br>><br>Hi Xu,<br><br>Do you mean that the fix patch results in the failure of subtest 13?<br>If so, we may need a better solution.<br><br>Thanks,<br>Xiao Yang<br><br><br><br>-- <br>Mailing list info: https://lists.linux.it/listinfo/ltp<br></div>