mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
%p prints (ptrval) instead of hexadecimal value until it gathers enough entropy. During early boot stage, it can make invalid cache name like "nvgpu-cache-0x (ptrval)-128-1" and that kind of cache name can make failure of kmem_cache_create(). To avoid invalid cache name, replace %p with %px for cache name. Bug 4100509 Change-Id: Iae0ae9cf1a30ec91aeddddaafda9e7376fc80796 Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2929270 Reviewed-by: Dmitry Pervushin <dpervushin@nvidia.com> Reviewed-by: Kwangwoo Lee <kwangwool@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
15 KiB
15 KiB