board_crashdump:use consistent type from outer function for file name

This commit is contained in:
David Sidrane 2020-08-04 10:14:54 -07:00 committed by Xiang Xiao
parent 188d4b0fb4
commit ed5d00edd8
6 changed files with 6 additions and 6 deletions

View File

@ -116,7 +116,7 @@ static void copy_reverse(stack_word_t *dest, stack_word_t *src, int size)
****************************************************************************/
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
FAR const uint8_t *filename, int lineno)
FAR const char *filename, int lineno)
{
FAR struct tcb_s *rtcb;
fullcontext_t *pdump;

View File

@ -379,7 +379,7 @@ int stm32_bbsram_int(void)
#if defined(CONFIG_STM32F4_SAVE_CRASHDUMP)
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
FAR const uint8_t *filename, int lineno)
FAR const char *filename, int lineno)
{
fullcontext_t *pdump = (fullcontext_t *)&g_sdata;
FAR struct tcb_s *rtcb;

View File

@ -393,7 +393,7 @@ int stm32_bbsram_int(void)
#if defined(CONFIG_STM32F7_SAVE_CRASHDUMP)
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
FAR const uint8_t *filename, int lineno)
FAR const char *filename, int lineno)
{
fullcontext_t *pdump = (fullcontext_t *)&g_sdata;
FAR struct tcb_s *rtcb;

View File

@ -332,7 +332,7 @@ int rx65n_sbram_int(void)
#if defined(CONFIG_RX65N_SAVE_CRASHDUMP)
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
FAR const uint8_t *filename, int lineno)
FAR const char *filename, int lineno)
{
struct fullcontext *pdump ;
pdump = (struct fullcontext *)&g_sdata;

View File

@ -330,7 +330,7 @@ int rx65n_sbram_int(void)
#if defined(CONFIG_RX65N_SAVE_CRASHDUMP)
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
FAR const uint8_t *filename, int lineno)
FAR const char *filename, int lineno)
{
struct fullcontext *pdump ;
pdump = (struct fullcontext *)&g_sdata;

View File

@ -695,7 +695,7 @@ int board_button_irq(int id, xcpt_t irqhandler, FAR void *arg);
#ifdef CONFIG_BOARD_CRASHDUMP
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
FAR const uint8_t *filename,
FAR const char *filename,
int lineno);
#endif