Re: [PATCH 2/6] cpumask: avoid playing with cpus_allowed inspeedstep-ich.c
From: Dave Jones
Date: Thu Jun 11 2009 - 19:31:41 EST
On Thu, Jun 11, 2009 at 10:59:58PM +0930, Rusty Russell wrote:
Minor nit (and this was there before your change, but because
you moved it, checkpatch now whines..)
> +static void get_freqs_on_cpu(void *_get_freqs)
> +{
> + struct get_freqs *get_freqs = _get_freqs;
> +
> + get_freqs->ret =
> + speedstep_get_freqs(speedstep_processor,
> + &speedstep_freqs[SPEEDSTEP_LOW].frequency,
> + &speedstep_freqs[SPEEDSTEP_HIGH].frequency,
> + &get_freqs->policy->cpuinfo.transition_latency,
> + &speedstep_set_state);
> +}
line over 80 characters.
I'll just pull it back one tab.
Perhaps some variable renaming in this file is called for to reduce
some of the redundancy in such lines.
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/