Loading drivers/devfreq/devfreq.c +4 −3 Original line number Diff line number Diff line Loading @@ -505,7 +505,8 @@ struct devfreq *devfreq_add_device(struct device *dev, devfreq->profile->max_state * devfreq->profile->max_state, GFP_KERNEL); devfreq->time_in_state = devm_kzalloc(dev, sizeof(unsigned int) * devfreq->time_in_state = devm_kzalloc(dev, sizeof(*(devfreq->time_in_state)) * devfreq->profile->max_state, GFP_KERNEL); devfreq->last_stat_updated = jiffies; Loading Loading
drivers/devfreq/devfreq.c +4 −3 Original line number Diff line number Diff line Loading @@ -505,7 +505,8 @@ struct devfreq *devfreq_add_device(struct device *dev, devfreq->profile->max_state * devfreq->profile->max_state, GFP_KERNEL); devfreq->time_in_state = devm_kzalloc(dev, sizeof(unsigned int) * devfreq->time_in_state = devm_kzalloc(dev, sizeof(*(devfreq->time_in_state)) * devfreq->profile->max_state, GFP_KERNEL); devfreq->last_stat_updated = jiffies; Loading