]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq / OPP: Fix the order of arguments for kcalloc()
authorAnand Moon <moon.linux@yahoo.com>
Fri, 5 Sep 2014 03:08:30 +0000 (08:38 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 7 Sep 2014 22:02:58 +0000 (00:02 +0200)
commit8f6e8dcec14a5be3ec1a1a8ed868df514897ba08
tree93ffacd67303516d44d17f477a2e563a9c00cbb4
parent969d86809b18735507d034f1519f5a00c34e6281
cpufreq / OPP: Fix the order of arguments for kcalloc()

These changes fix the argument to the kcalloc
        @n: number of elements.
        @size: element size.
        @flags: the type of memory to allocate (see kmalloc).

        void *kcalloc(size_t n, size_t size, gfp_t flags)

Fixes: 419acdba5c17 (cpufreq: OPP: Avoid sleeping while atomic)
Signed-off-by: Anand Moon <moon.linux@yahoo.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_opp.c