Messages in this thread | | | Date | Mon, 12 Apr 2021 10:26:24 +0300 | From | Leon Romanovsky <> | Subject | Re: [PATCH net-next 4/7] net: ipa: ipa_stop() does not return an error |
| |
On Sun, Apr 11, 2021 at 08:42:15AM -0500, Alex Elder wrote: > On 4/11/21 8:28 AM, Leon Romanovsky wrote: > >> I think *not* checking an available return value is questionable > >> practice. I'd really rather have a build option for a > >> "__need_not_check" tag and have "must_check" be the default. > > __need_not_check == void ??? > > I'm not sure I understand your statement here, but...
We are talking about the same thing. My point was that __need_not_check is actually void. The API author was supposed to declare that by declaring that function doesn't return anything.
Thanks
| |