[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <56000777.6060208@samsung.com>
Date: Mon, 21 Sep 2015 15:34:47 +0200
From: Andrzej Hajda <a.hajda@...sung.com>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Gilles Muller <Gilles.Muller@...6.fr>,
Joe Perches <joe@...ches.com>,
Nicolas Palix <nicolas.palix@...g.fr>,
Michal Marek <mmarek@...e.com>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org, cocci@...teme.lip6.fr
Subject: Re: [PATCH v3] coccinelle: tests: unsigned value cannot be lesser than
zero
On 09/21/2015 03:02 PM, SF Markus Elfring wrote:
>> v3: added bool type
> I would appreciate a bit more feedback for my concerns around your
> evolving approach.
Ups, I have missed your email.
> * Reuse of "long int"?
If you mean adding int to 'unsigned long [long]' types, it does not work.
For some reason it works only without adding int after long.
> * Splitting of the suggested SmPL rule so that each source code check
> will be connected with appropriate warning messages.
Personally I prefer one message as it is more compact and
fits quite well in both cases, but I have no strong fillings with separate
message for each case.
>
> Will any more fine-tuning be useful?
Could you elaborate it.
Regards
Andrzej
>
> Regards,
> Markus
>
--
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