Re: [sgi-xp] Missing break or false positive?

From: Robin Holt
Date: Wed Mar 20 2019 - 11:23:24 EST


I am sorry for my delayed response. I missed the earlier email.

On Wed, Mar 20, 2019 at 9:37 AM Gustavo A. R. Silva
<gustavo@xxxxxxxxxxxxxx> wrote:
>
...
> > I'm taking a look into the following piece of code in drivers/misc/sgi-xp/xpc_uv.c:
...
> > and I'm trying to figure out if the following warning is due to a missing break
> > at the end of the case, or if this is just a false positive and a /* fall through */
> > annotation should be added:

The fall-through is by design. The protocol previously had a windows
of failure where a connection
could be in the process of being established and a failure could be
detected prior to the
handling of the establishment message. I added the new open complete
message and leveraged
the fall-through to mark the connection established.

Please let me know if you do not intend to submit a patch for this.

Thank you,
Robin Holt