Skip to contentSkip to conversation

PROBLEM: there exists a wrong return value of function myri10ge_probe()

DISCUSSION Hyong-Youb Kim 1 participant 1 message Jun 9, 2015 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

On Tue, Jun 09, 2015 at 07:08:34PM +0800, anna wrote:
[...]

Quoted 4 lines

mgp->sram_size satisfy the condition in line 4062, the value of status is 0. So the function myri10ge_probe() will return 0 to its caller functions when it runs error, leading to a wrong return value of function myri10ge_probe().

Okay, that is a bug. I will try to prepare a patch. Is this a real problem for you (i.e. your setup is tripping this bug), or a theoretical one you found via scripts or something? If it is a real problem, can you give me more context (e.g. NIC model, firmware version)?

Also, I am going to need a proper "your name <address>", unless you do not want your name in the patch.