]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
Avoid casting the type to integer in user build.
authorJames Huang <jamehuang@nvidia.com>
Wed, 25 Oct 2017 06:57:12 +0000 (14:57 +0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 27 Oct 2017 16:48:12 +0000 (09:48 -0700)
commit9fcf4518a2082c03768e3e17570e76f19eacb0ba
tree557ddfde435d93150fe8da492e2a228122314e28
parent083a23c1e79e065aff05331e76eba67901befa2f
Avoid casting the type to integer in user build.

When choosecombo variant is 'user', the complier
will throw a Werror: assignment makes integer from
pointer without a cast.

Bug 200341041

Change-Id: Ie81536c099cbed83b7b3fcabe659226e54fec209
Reviewed-on: https://git-master.nvidia.com/r/1585164
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hayden Du <haydend@nvidia.com>
Tested-by: Hayden Du <haydend@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/soc/tegra/tegra-cpu-edp.c