[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150220045730.GA7936@alexpilon.ca>
Date: Thu, 19 Feb 2015 23:57:30 -0500
From: Alex Pilon <alp@...xpilon.ca>
To: Jonathon Reinhart <jonathon.reinhart@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] Allow specifying bridge port STP state by name rather
than number.
On Thu, Feb 19, 2015 at 09:00:23PM -0500, Jonathon Reinhart wrote:
> Please don't pass -1 to exit(). It is outside the acceptable range (0 to 255)
> of exit status values:
>
> https://www.gnu.org/software/libc/manual/html_node/Exit-Status.html
>
> Most programs exit(1) when presented with invalid user input.
I was being consistent with nearby code, and the dominant style. But if
that's the case, then there's a few hundred such mistakes that need
correcting. Should I fix all of them, and if so, should that be a
single patch, or multiple?
There's also only a few instances of EXIT_{SUCCESS,FAILURE}, so I took
it wasn't the style to use that.
Regards,
Alex Pilon
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists