DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] unchecked return value in enic driver
@ 2016-06-13 11:17 Kerlin, MarcinX
  2016-06-20 11:11 ` Kerlin, MarcinX
  0 siblings, 1 reply; 3+ messages in thread
From: Kerlin, MarcinX @ 2016-06-13 11:17 UTC (permalink / raw)
  To: johndale, neescoba; +Cc: dev

Hi John and Nelson,

I have a question regarding Coverity defects:

File: /drivers/net/enic/enic_ethdev.c
Line: 379

CID 13197: Unchecked return value (CHECKED_RETURN)1. check_return: Calling rte_atomic64_cmpset without checking return value (as is done elsewhere 15 out of 17 times)

Can I mark this error as "False Positive" in Coverity Classification ? reason:
1. Function returns a void type so change the return type to int requires changes all drivers
2. rte_atomic64_cmpset is at the end of function so nonsense added a return

What is your opinion?

Regards,
Marcin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-20 18:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-13 11:17 [dpdk-dev] unchecked return value in enic driver Kerlin, MarcinX
2016-06-20 11:11 ` Kerlin, MarcinX
2016-06-20 18:44   ` John Daley (johndale)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).