> "Pan" == Pan Bian writes:
Pan> Variable ret is reset in the loop, and its value will be 0 during
Pan> the after repeat of the loop. Then, if pci_alloc_consistent()
Pan> returns NULL, the return value is 0. 0 means no error, which may
Pan> make it impossible for the callers of beiscsi_create
Variable ret is reset in the loop, and its value will be 0 during the
after repeat of the loop. Then, if pci_alloc_consistent() returns NULL,
the return value is 0. 0 means no error, which may make it impossible
for the callers of beiscsi_create_cqs() to detect the memory allocation
error. This
2 matches
Mail list logo