mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacld-3.0: Fix compilation issue for 32 bit builds
In function csr_roam_chk_lnk_disassoc_ind format specifier to print sizeof() is for 64 bit systems which leads in compilation error on 32 bit systems. Fix this issue by common format specifier for both 32 and 64 bit compilation. Change-Id: Ib3a5df243c8c29040321af4bdcf7230a6e5e0e52 CRs-Fixed: 1055344
This commit is contained in:
parent
38e8ce8849
commit
9130c3db8d
1 changed files with 1 additions and 1 deletions
|
|
@ -10295,7 +10295,7 @@ csr_roam_chk_lnk_disassoc_ind(tpAniSirGlobal mac_ctx, tSirSmeRsp *msg_ptr)
|
|||
cmd = qdf_mem_malloc(sizeof(*cmd));
|
||||
if (NULL == cmd) {
|
||||
sms_log(mac_ctx, LOGE,
|
||||
FL("memory allocation failed for size = %ld"),
|
||||
FL("memory allocation failed for size = %zu"),
|
||||
sizeof(*cmd));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue