Re: [LIST] large local declarations

Randy.Dunlap (rddunlap@osdl.org)
Thu, 21 Nov 2002 22:49:23 -0800 (PST)


On 21 Nov 2002, Roland Dreier wrote:

| >>>>> "dan" == dan carpenter <error27@email.com> writes:
|
| dan> I have a smatch script (smatch.sf.net) that finds the the
| dan> size of local variables. I created an allyesconfig with
| dan> 2.5.48 and tested it. These were the functions that declared
| dan> local datas with size of 5 digits or more (in bits).
|
| This is a minor complaint, but... why do you report the data sizes in
| bits? I find myself forced to mentally divide every size by 8. Every
| variable (obviously) has a size that's a whole number of bytes. Why
| not just report bytes?

I second that.
It's not just Roland...

But thanks for doing it anyway.

-- 
~Randy

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/