Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 014f182b authored by Jordan Crouse's avatar Jordan Crouse
Browse files

cnss2: Fix compile warnings



Fix the following compiler warning(s) from gcc 6.1.1 with -Werror enabled:

 drivers/net/wireless/cnss2/qmi.c:1678:
   format '%llx' expects argument of type 'long long unsigned int', but
	argument 3 has type 'long unsigned int' [-Werror=format=]
  cnss_pr_dbg("COEX Server Connected: 0x%llx\n",

 drivers/net/wireless/cnss2/qmi.c:1449:
   format '%zx' expects argument of type 'size_t', but argument 3 has
	type 'u32 {aka const unsigned int}' [-Werror=format=]
   cnss_pr_dbg("QDSS requests for memory, size: 0x%zx, type: %u\n",

 drivers/net/wireless/cnss2/power.c:101:
   return type defaults to 'int' [-Werror=return-type]
 static cnss_vreg_on_single(struct cnss_vreg_info *vreg)

 drivers/net/wireless/cnss2/main.c:1224:
   format '%p' expects argument of type 'void *', but argument 3 has type
	'u64 {aka long long unsigned int}' [-Werror=format=]
   cnss_pr_err("Fail to find matching va for pa %pa\n",

Fixes: 659d5f3f ("cnss2: Add support for coexistence QMI service")
Fixes: 36d1fba9 ("cnss2: Add support for QDSS trace collecting")
Fixes: 90fde779 ("cnss2: Re-arch power related APIs")
Change-Id: Ic0dedbadaa37d758443d7b46eea9446ca7442c57
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent e62ea311
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment