[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151224072210.15d6ee6c@lwn.net>
Date: Thu, 24 Dec 2015 07:22:10 -0700
From: Jonathan Corbet <corbet@....net>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>
Cc: linux-doc@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: Re: [PATCH 1/3] Documentation-getdelays: Fix a check for container
file usage in main()
On Thu, 24 Dec 2015 13:34:20 +0100
SF Markus Elfring <elfring@...rs.sourceforge.net> wrote:
> The close() function could be called by the main() function even if
> the passed variable "cfd" was assigned a negative value.
>
> * Corresponding implementation details could be improved by adjustments
> for jump targets according to the Linux coding style convention.
>
> * Fix the affected condition check.
This seems more easily fixed by simply making the condition > 0.
Meanwhile, I'd really not add labels-inside-if-statements as an example
in the documentation tree.
Thanks,
jon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists