[RTEMS Project] #2826: arm_cp15_get_translation_table_base_control_register warning.

RTEMS trac trac at rtems.org
Thu Nov 24 02:08:26 UTC 2016


#2826: arm_cp15_get_translation_table_base_control_register warning.
---------------------+------------------
 Reporter:  chrisj   |      Owner:
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  4.12
Component:  General  |    Version:  4.12
 Severity:  normal   |   Keywords:
---------------------+------------------
 arm_cp15_get_translation_table_base_control_register in
 c/src/lib/libcpu/arm/shared/include/arm-cp15.h returns a pointer however
 ttb_cr is not a pointer"

 {{{
 ../../cpukit/../../../xilinx_zynq_zedboard/lib/include/libcpu/arm-cp15.h:
 In function 'arm_cp15_get_translation_table_base_control_register':
 ../../cpukit/../../../xilinx_zynq_zedboard/lib/include/libcpu/arm-
 cp15.h:401:10: warning: return makes pointer from integer without a cast
 [-Wint-conversion]
    return ttb_cr;
           ^~~~~~
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/2826>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list