| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: [PATCH] MIPS: Rewrite cpu_to_name so it has one statement per line. |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Tue, 14 Oct 2008 09:14:56 -0700 |
| Cc: | linux-mips@linux-mips.org, "Paoletti, Tomaso" <Tomaso.Paoletti@caviumnetworks.com> |
| In-reply-to: | <20081014090109.GB30880@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <48F38CBE.20303@caviumnetworks.com> <20081014090109.GB30880@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Thunderbird 2.0.0.16 (X11/20080723) |
Ralf Baechle wrote: On Mon, Oct 13, 2008 at 11:00:30AM -0700, David Daney wrote:Rewrite cpu_to_name so it has one statement per line. Future changes can now pass checkpatch.pl It increases the size of the cpuinfo_mips structure by sizeof(char *) for data that is only ever used in /proc/cpuinfo, also it goes against my sense of data normalization. So I think the current method of looking it up on demand is fine. I am not enamored with my patch as it doubles the number of lines in the function. So we will defer to you and follow which ever style you decide is best. David Daney |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH v4] IP27: Switch over to RTC class driver, Thomas Bogendoerfer |
|---|---|
| Next by Date: | Re: [PATCH] MIPS: Align .data.cacheline_aligned based on MIPS_L1_CACHE_SHIFT, David Daney |
| Previous by Thread: | Re: [PATCH] MIPS: Rewrite cpu_to_name so it has one statement per line., Ralf Baechle |
| Next by Thread: | Re: [PATCH] MIPS: Rewrite cpu_to_name so it has one statement per line., David VomLehn |
| Indexes: | [Date] [Thread] [Top] [All Lists] |