mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-05 02:10:17 -05:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
drivers/misc/qseecom.c:3723:28: error: cast to smaller integer type 'uint32_t' (aka 'unsigned int') from 'void *' [-Werror,-Wvoid-pointer-to-int-cast]
send_data_req.req_ptr = (uint32_t)req->cmd_req_buf;
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/qseecom.c:3724:28: error: cast to smaller integer type 'uint32_t' (aka 'unsigned int') from 'void *' [-Werror,-Wvoid-pointer-to-int-cast]
send_data_req.rsp_ptr = (uint32_t)req->resp_buf;
^~~~~~~~~~~~~~~~~~~~~~~
Fix `send_data_req.rsp_ptr = (uint32_t)req->resp_buf;` by casting
pointer value into uintptr_t, then compiler assignment will truncate to 32bit
to fit `uint32_t send_data_req.rsp_ptr` later.
Bug: 171827315
Signed-off-by: lucaswei <[email protected]>
Change-Id: I0643c4a556d933293715c7ef7727148d0fb59c25
|
||
| .. | ||
| altera-stapl | ||
| c2port | ||
| cardreader | ||
| cb710 | ||
| cxl | ||
| echo | ||
| eeprom | ||
| genwqe | ||
| habanalabs | ||
| ibmasm | ||
| lis3lv02d | ||
| lkdtm | ||
| mei | ||
| mic | ||
| ocxl | ||
| sgi-gru | ||
| sgi-xp | ||
| ti-st | ||
| vmw_vmci | ||
| ad525x_dpot-i2c.c | ||
| ad525x_dpot-spi.c | ||
| ad525x_dpot.c | ||
| ad525x_dpot.h | ||
| apds990x.c | ||
| apds9802als.c | ||
| atmel-ssc.c | ||
| atmel_tclib.c | ||
| bh1770glc.c | ||
| compat_qseecom.c | ||
| compat_qseecom.h | ||
| cs5535-mfgpt.c | ||
| ds1682.c | ||
| dummy-irq.c | ||
| enclosure.c | ||
| fastrpc.c | ||
| hdcp_qseecom.c | ||
| hisi_hikey_usb.c | ||
| hmc6352.c | ||
| hpilo.c | ||
| hpilo.h | ||
| ibmvmc.c | ||
| ibmvmc.h | ||
| ics932s401.c | ||
| isl29003.c | ||
| isl29020.c | ||
| Kconfig | ||
| kgdbts.c | ||
| lattice-ecp3-config.c | ||
| Makefile | ||
| pch_phub.c | ||
| pci_endpoint_test.c | ||
| phantom.c | ||
| profiler.c | ||
| pti.c | ||
| pvpanic.c | ||
| qcom-coincell.c | ||
| qseecom.c | ||
| qseecom_kernel.h | ||
| sram-exec.c | ||
| sram.c | ||
| sram.h | ||
| tifm_7xx1.c | ||
| tifm_core.c | ||
| tsl2550.c | ||
| uid_sys_stats.c | ||
| vexpress-syscfg.c | ||
| vmw_balloon.c | ||
| wigig_sensing.c | ||
| wigig_sensing.h | ||
| xilinx_sdfec.c | ||