summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorMaria Yu <aiquny@codeaurora.org>2018-03-02 16:23:32 +0800
committerMichael Bestas <mkbestas@lineageos.org>2019-12-23 23:43:32 +0200
commit30cd8e406300627bc05bf2c53666aef37946fea2 (patch)
treed608a25fb0da8da4d071b5ab88b36c9e8d1ae72f /scripts/basic
parentbee4323e24ed464d75efbda84363b9af0444525b (diff)
PM / devfreq: bw_hwmon: use unsigned parameter for bytes_to_mbps
In bytes_to_mbps function, the parameter is all unsigned, so change the decleration of the function to include unsigned long long to avoid compilation errors in 32 bit environment. Also changed the return value as unsigned long to avoid any data loss possible in 64 bit environment. Change-Id: Ib3906bb4bc16086ae343764c5a718f6f005428c5 Signed-off-by: Maria Yu <aiquny@codeaurora.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions