lkml.org 
[lkml]   [2013]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 002/228] cpufreq: don't break string in print statements
    Date
    As a rule its better not to break string (quoted inside "") in a print statement
    even if it crosses 80 column boundary as that may introduce unwanted bugs and so
    this patch rewrites one of the print statements..

    Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
    Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
    ---
    drivers/cpufreq/cpufreq.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
    index 3d5e6d6..6a8cae9 100644
    --- a/drivers/cpufreq/cpufreq.c
    +++ b/drivers/cpufreq/cpufreq.c
    @@ -1247,8 +1247,8 @@ static int __cpufreq_remove_dev_prepare(struct device *dev,
    unlock_policy_rwsem_write(cpu);

    if (!frozen) {
    - pr_debug("%s: policy Kobject moved to cpu: %d "
    - "from: %d\n",__func__, new_cpu, cpu);
    + pr_debug("%s: policy Kobject moved to cpu: %d from: %d\n",
    + __func__, new_cpu, cpu);
    }
    }
    }
    --
    1.7.12.rc2.18.g61b472e


    \
     
     \ /
      Last update: 2013-09-13 15:21    [W:4.020 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site