1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/BBA1.5_platform/build/kernel.log
2024-07-22 01:58:46 -03:00

993 lines
58 KiB
Plaintext

KERNELPATH: /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21
------- deal kernel config ------
cp -pfT /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/tplink/build/XR500vSPv1/XR500vSPv1.kconfig /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21/.config
cp -f /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/app_bsp/script/add_kernel_config.sh /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21
chmod 777 /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21/add_kernel_config.sh
cd /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21 && ./add_kernel_config.sh /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21/.config /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21/.config_add
Add kernel config for Samba
======Make TP image, do not change kernel config======
modify kernel config finish
if test -e /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21/.config_add; \
then cp /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21/.config_add /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21/.config; rm /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21/.config_add; \
fi
rm -f /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21/kernel_config
cp /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21/.config /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21/kernel_config
------ endof deal kernel config ------
make -C /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21
make[1]: Entering directory `/opt/bba/EN7526G_3.18Kernel_SDK/linux-3.18.21'
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC init/version.o
In file included from init/version.c:14:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
LD init/built-in.o
CC arch/mips/econet/tpproc.o
In file included from arch/mips/econet/tpproc.c:12:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
arch/mips/econet/tpproc.c: In function 'tp_proc_init':
arch/mips/econet/tpproc.c:82:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
struct proc_dir_entry *skb_debug_proc;
^
LD arch/mips/econet/built-in.o
LD arch/mips/built-in.o
CC kernel/sys.o
In file included from kernel/sys.c:42:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
LD kernel/built-in.o
CC drivers/mtd/chips/newspiflash.o
In file included from drivers/mtd/chips/newspiflash.c:23:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_read_id':
drivers/mtd/chips/newspiflash.c:388:2: warning: implicit declaration of function 'down_Normal_interruptible' [-Wimplicit-function-declaration]
down_Normal_interruptible(&SPI_SEM);
^
drivers/mtd/chips/newspiflash.c:398:2: warning: implicit declaration of function 'up_Normal' [-Wimplicit-function-declaration]
up_Normal(&SPI_SEM);
^
drivers/mtd/chips/newspiflash.c:382:5: warning: unused variable 'cur_mode' [-Wunused-variable]
u8 cur_mode=0;
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_erase':
drivers/mtd/chips/newspiflash.c:505:6: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=]
printk("\nErase fail at Address %X::index is %d, value is %X, should be %X, reg 0xBFA10000 is 0x%08x, clk_rate is %s\n", destAddr+i, i, rd_buf[i], 0xFF, SF_READ_MODE_VALUE, ((SF_CLK_CHANGE_VALUE==0)?("25MHZ"):("50MHZ")));
^
drivers/mtd/chips/newspiflash.c:408:5: warning: unused variable 'cur_mode' [-Wunused-variable]
u8 cur_mode=0;
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_manual_read_internal':
drivers/mtd/chips/newspiflash.c:555:16: warning: unused variable 'dest_addr' [-Wunused-variable]
unsigned long dest_addr = from;
^
drivers/mtd/chips/newspiflash.c:554:5: warning: unused variable 'cur_mode' [-Wunused-variable]
u8 cur_mode=0;
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_read':
drivers/mtd/chips/newspiflash.c:740:2: warning: implicit declaration of function 'memcpy4' [-Wimplicit-function-declaration]
memcpy4((unsigned char*)to, (unsigned char*)(map->virt + from), size);
^
drivers/mtd/chips/newspiflash.c:709:5: warning: unused variable 'cur_mode' [-Wunused-variable]
u8 cur_mode=0;
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_write':
drivers/mtd/chips/newspiflash.c:892:5: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=]
printk("\nProgram fail at Address %X::index is %d, value is %X, should be %X, reg 0xBFA10000 is 0x%08x, clk_rate is %s\n", destAddr+i, i, rd_buf[i], buf[i], SF_READ_MODE_VALUE, ((SF_CLK_CHANGE_VALUE==0)?("25MHZ"):("50MHZ")));
^
drivers/mtd/chips/newspiflash.c:764:5: warning: unused variable 'cur_mode' [-Wunused-variable]
u8 cur_mode=0;
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_probe_tc3162':
drivers/mtd/chips/newspiflash.c:1246:30: warning: assignment from incompatible pointer type
chip_info->read_manual = spiflash_manual_fast_read;
^
drivers/mtd/chips/newspiflash.c: In function 'ReadSPIByte':
drivers/mtd/chips/newspiflash.c:1432:3: warning: return makes integer from pointer without a cast
return NULL;
^
drivers/mtd/chips/newspiflash.c:1434:12: warning: assignment makes pointer from integer without a cast
map->virt = 0xBC000000;
^
drivers/mtd/chips/newspiflash.c:1437:28: warning: passing argument 3 of 'spiflash_read' makes integer from pointer without a cast
spiflash_read(map, index, buf, len);
^
drivers/mtd/chips/newspiflash.c:707:1: note: expected 'u32' but argument is of type 'unsigned char *'
spiflash_read (struct map_info *map, u32 from, u32 to, u32 size)
^
drivers/mtd/chips/newspiflash.c: In function 'ReadSPIDWord':
drivers/mtd/chips/newspiflash.c:1452:3: warning: return makes integer from pointer without a cast
return NULL;
^
drivers/mtd/chips/newspiflash.c:1454:12: warning: assignment makes pointer from integer without a cast
map->virt = 0xBC000000;
^
drivers/mtd/chips/newspiflash.c:1457:28: warning: passing argument 3 of 'spiflash_read' makes integer from pointer without a cast
spiflash_read(map, index, buf, len);
^
drivers/mtd/chips/newspiflash.c:707:1: note: expected 'u32' but argument is of type 'unsigned char *'
spiflash_read (struct map_info *map, u32 from, u32 to, u32 size)
^
drivers/mtd/chips/newspiflash.c: In function 'sfc_AutoManualInterrupt_handler':
drivers/mtd/chips/newspiflash.c:1468:3: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
printk("\n>>> %d: Auto Mode and Manual Mode access in the same time, Reg(0xbfb40054) is 0x%08x\n", AUTO_MANUAL_INT, VPint(0xbfb40054));
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_probe_init':
drivers/mtd/chips/newspiflash.c:1655:35: warning: passing argument 2 of 'request_irq' from incompatible pointer type
if (request_irq(AUTO_MANUAL_INT, sfc_AutoManualInterrupt_handler, 0, "SFC_AutoManual", NULL) != 0) {
^
In file included from include/linux/mtd/cfi.h:26:0,
from include/linux/mtd/gen_probe.h:26,
from drivers/mtd/chips/newspiflash.c:29:
include/linux/interrupt.h:128:1: note: expected 'irq_handler_t' but argument is of type 'void (*)(void)'
request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags,
^
drivers/mtd/chips/newspiflash.c: At top level:
drivers/mtd/chips/newspiflash.c:157:13: warning: 'byte_program_mode' defined but not used [-Wunused-variable]
static __u8 byte_program_mode = 0;
^
drivers/mtd/chips/newspiflash.c:158:13: warning: 'four_byte_mode' defined but not used [-Wunused-variable]
static __u8 four_byte_mode = 0;
^
drivers/mtd/chips/newspiflash.c:520:12: warning: 'spiflash_wait_ready' defined but not used [-Wunused-function]
static int spiflash_wait_ready(int state)
^
drivers/mtd/chips/newspiflash.c:679:1: warning: 'spiflash_manual_read_data' defined but not used [-Wunused-function]
spiflash_manual_read_data(struct mtd_info *mtd, unsigned long from, unsigned char *buf, unsigned long len)
^
drivers/mtd/chips/newspiflash.c:693:1: warning: 'spiflash_manual_fast_read_dualOut' defined but not used [-Wunused-function]
spiflash_manual_fast_read_dualOut(struct mtd_info *mtd, unsigned long from, unsigned char *buf, unsigned long len)
^
drivers/mtd/chips/newspiflash.c:700:1: warning: 'spiflash_manual_fast_read_dualIO' defined but not used [-Wunused-function]
spiflash_manual_fast_read_dualIO(struct mtd_info *mtd, unsigned long from, unsigned char *buf, unsigned long len)
^
CC drivers/mtd/chips/spi_nand_flash.o
In file included from drivers/mtd/chips/spi_nand_flash.c:45:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spi_nand_probe':
drivers/mtd/chips/spi_nand_flash.c:3000:29: warning: passing argument 1 of 'spi_nand_protocol_read_id' from incompatible pointer type
spi_nand_protocol_read_id( (struct SPI_NAND_FLASH_INFO_T *)ptr_rtn_device_t );
^
drivers/mtd/chips/spi_nand_flash.c:1122:29: note: expected 'struct _SPI_NAND_FLASH_ID_T *' but argument is of type 'struct SPI_NAND_FLASH_INFO_T *'
static SPI_NAND_FLASH_RTN_T spi_nand_protocol_read_id ( struct _SPI_NAND_FLASH_ID_T * ptr_rtn_flash_id )
^
drivers/mtd/chips/spi_nand_flash.c:3030:32: warning: passing argument 1 of 'spi_nand_protocol_read_id_2' from incompatible pointer type
spi_nand_protocol_read_id_2( (struct SPI_NAND_FLASH_INFO_T *)ptr_rtn_device_t );
^
drivers/mtd/chips/spi_nand_flash.c:1165:29: note: expected 'struct _SPI_NAND_FLASH_ID_T *' but argument is of type 'struct SPI_NAND_FLASH_INFO_T *'
static SPI_NAND_FLASH_RTN_T spi_nand_protocol_read_id_2 ( struct _SPI_NAND_FLASH_ID_T *ptr_rtn_flash_id )
^
drivers/mtd/chips/spi_nand_flash.c: In function 'SPI_NAND_Flash_Init':
drivers/mtd/chips/spi_nand_flash.c:3316:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
_SPI_NAND_PRINTF("SPI_NAND_Flash_init: before init, mtx_mode_tog=0xl%x, manaul_en=0x%lx\n", VPint(0xbfa10014), VPint(0xbfa10020) );
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_read_id':
drivers/mtd/chips/spi_nand_flash.c:3742:30: warning: unused variable 'flash_id' [-Wunused-variable]
struct _SPI_NAND_FLASH_ID_T flash_id;
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_program_page':
drivers/mtd/chips/spi_nand_flash.c:4005:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
struct SPI_NAND_FLASH_INFO_T *ptr_dev_info_t;
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_erase_block':
drivers/mtd/chips/spi_nand_flash.c:4062:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
struct SPI_NAND_FLASH_INFO_T *ptr_dev_info_t;
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_write_buf':
drivers/mtd/chips/spi_nand_flash.c:4087:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int min_oob_size;
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_write_page_hwecc':
drivers/mtd/chips/spi_nand_flash.c:4155:61: warning: passing argument 2 of 'spi_nand_flash_debug_printf_array' discards 'const' qualifier from pointer target type
_SPI_NAND_DEBUG_PRINTF_ARRAY(SPI_NAND_FLASH_DEBUG_LEVEL_2, &buf[0], mtd->writesize);
^
drivers/mtd/chips/spi_nand_flash.c:722:13: note: expected 'char *' but argument is of type 'const uint8_t *'
static void spi_nand_flash_debug_printf_array( SPI_NAND_FLASH_DEBUG_LEVEL_T DEBUG_LEVEL, char *buf, u32 len )
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_read_page_hwecc':
drivers/mtd/chips/spi_nand_flash.c:4165:9: warning: unused variable 'idx' [-Wunused-variable]
u32 idx;
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_write_page':
drivers/mtd/chips/spi_nand_flash.c:4214:53: warning: passing argument 3 of 'spi_nand_write_page_internal' discards 'const' qualifier from pointer target type
rtn_status = spi_nand_write_page_internal(page, 0, buf, (ptr_dev_info_t->page_size), 0, (state->oob_buf), MAX_LINUX_USE_OOB_SIZE, SPI_NAND_FLASH_WRITE_SPEED_MODE_SINGLE);
^
drivers/mtd/chips/spi_nand_flash.c:2400:29: note: expected 'u8 *' but argument is of type 'const u8 *'
static SPI_NAND_FLASH_RTN_T spi_nand_write_page_internal( u32 page_number,
^
drivers/mtd/chips/spi_nand_flash.c: At top level:
drivers/mtd/chips/spi_nand_flash.c:4466:2: warning: missing braces around initializer [-Wmissing-braces]
{NULL, 0, 0, 0, 0, 0},
^
drivers/mtd/chips/spi_nand_flash.c:4466:2: warning: (near initialization for 'spi_nand_flash_ids[0].<anonymous>') [-Wmissing-braces]
drivers/mtd/chips/spi_nand_flash.c: In function 'spi_nand_setup':
drivers/mtd/chips/spi_nand_flash.c:4620:31: warning: assignment discards 'const' qualifier from pointer target type
spi_nand_flash_ids[0].name = ptr_dev_info_t->ptr_name;
^
drivers/mtd/chips/spi_nand_flash.c:4701:20: warning: assignment from incompatible pointer type
ranand_read_byte = SPI_NAND_Flash_Read_Byte;
^
drivers/mtd/chips/spi_nand_flash.c:4702:20: warning: assignment from incompatible pointer type
ranand_read_dword = SPI_NAND_Flash_Read_DWord;
^
drivers/mtd/chips/spi_nand_flash.c:4705:23: warning: assignment makes integer from pointer without a cast
*ptr_rtn_mtd_address = mtd;
^
drivers/mtd/chips/spi_nand_flash.c: In function 'nandflash_read':
drivers/mtd/chips/spi_nand_flash.c:4889:43: warning: passing argument 3 of 'SPI_NAND_Flash_Read_NByte' from incompatible pointer type
if( SPI_NAND_Flash_Read_NByte(from, len, retlen, buf, SPI_NAND_FLASH_READ_SPEED_MODE_SINGLE) == SPI_NAND_FLASH_RTN_NO_ERROR )
^
drivers/mtd/chips/spi_nand_flash.c:3426:5: note: expected 'u32 *' but argument is of type 'long unsigned int *'
u32 SPI_NAND_Flash_Read_NByte( unsigned long long addr,
^
drivers/mtd/chips/spi_nand_flash.c: In function 'nandflash_write':
drivers/mtd/chips/spi_nand_flash.c:4902:42: warning: passing argument 3 of 'SPI_NAND_Flash_Write_Nbyte' from incompatible pointer type
if( SPI_NAND_Flash_Write_Nbyte(to, len, retlen, buf, SPI_NAND_FLASH_READ_SPEED_MODE_SINGLE) == SPI_NAND_FLASH_RTN_NO_ERROR )
^
drivers/mtd/chips/spi_nand_flash.c:3387:22: note: expected 'u32 *' but argument is of type 'long unsigned int *'
SPI_NAND_FLASH_RTN_T SPI_NAND_Flash_Write_Nbyte( u32 dst_addr,
^
drivers/mtd/chips/spi_nand_flash.c:4902:50: warning: passing argument 4 of 'SPI_NAND_Flash_Write_Nbyte' discards 'const' qualifier from pointer target type
if( SPI_NAND_Flash_Write_Nbyte(to, len, retlen, buf, SPI_NAND_FLASH_READ_SPEED_MODE_SINGLE) == SPI_NAND_FLASH_RTN_NO_ERROR )
^
drivers/mtd/chips/spi_nand_flash.c:3387:22: note: expected 'u8 *' but argument is of type 'const unsigned char *'
SPI_NAND_FLASH_RTN_T SPI_NAND_Flash_Write_Nbyte( u32 dst_addr,
^
drivers/mtd/chips/spi_nand_flash.c: At top level:
drivers/mtd/chips/spi_nand_flash.c:676:12: warning: 'generic_ffs' defined but not used [-Wunused-function]
static int generic_ffs(int x)
^
drivers/mtd/chips/spi_nand_flash.c:1606:29: warning: 'spi_nand_protocol_program_load_random_single_speed' defined but not used [-Wunused-function]
static SPI_NAND_FLASH_RTN_T spi_nand_protocol_program_load_random_single_speed ( u32 addr,
^
drivers/mtd/chips/spi_nand_flash.c:1655:29: warning: 'spi_nand_protocol_program_load_random_quad_speed' defined but not used [-Wunused-function]
static SPI_NAND_FLASH_RTN_T spi_nand_protocol_program_load_random_quad_speed ( u32 addr,
^
drivers/mtd/chips/spi_nand_flash.c:3688:12: warning: 'enable_hw_ecc' defined but not used [-Wunused-variable]
static int enable_hw_ecc;
^
drivers/mtd/chips/spi_nand_flash.c:3689:12: warning: 'enable_read_hw_ecc' defined but not used [-Wunused-variable]
static int enable_read_hw_ecc;
^
drivers/mtd/chips/spi_nand_flash.c:3831:12: warning: 'spinand_enable_ecc' defined but not used [-Wunused-function]
static int spinand_enable_ecc(struct spi_device *spi_nand)
^
drivers/mtd/chips/spi_nand_flash.c:3850:12: warning: 'spinand_disable_ecc' defined but not used [-Wunused-function]
static int spinand_disable_ecc(struct spi_device *spi_nand)
^
drivers/mtd/chips/spi_nand_flash.c:3878:12: warning: 'spinand_write_enable' defined but not used [-Wunused-function]
static int spinand_write_enable(struct spi_device *spi_nand)
^
drivers/mtd/chips/spi_nand_flash.c:3883:12: warning: 'spinand_read_page_to_cache' defined but not used [-Wunused-function]
static int spinand_read_page_to_cache(struct spi_device *spi_nand, u32 page_id)
^
drivers/mtd/chips/spi_nand_flash.c:3897:12: warning: 'spinand_read_from_cache' defined but not used [-Wunused-function]
static int spinand_read_from_cache(struct spi_device *spi_nand, u32 page_id,
^
drivers/mtd/chips/spi_nand_flash.c:3932:12: warning: 'spinand_read_page' defined but not used [-Wunused-function]
static int spinand_read_page(struct spi_device *spi_nand, u32 page_id,
^
drivers/mtd/chips/spi_nand_flash.c:3966:12: warning: 'spinand_program_data_to_cache' defined but not used [-Wunused-function]
static int spinand_program_data_to_cache(struct spi_device *spi_nand,
^
drivers/mtd/chips/spi_nand_flash.c:3981:12: warning: 'spinand_program_execute' defined but not used [-Wunused-function]
static int spinand_program_execute(struct spi_device *spi_nand, u32 page_id)
^
drivers/mtd/chips/spi_nand_flash.c:4039:12: warning: 'spinand_erase_block_erase' defined but not used [-Wunused-function]
static int spinand_erase_block_erase(struct spi_device *spi_nand, u32 block_id)
^
drivers/mtd/chips/spi_nand_flash.c:4200:12: warning: 'spinand_write_page' defined but not used [-Wunused-function]
static int spinand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
^
drivers/mtd/chips/spi_nand_flash.c:4252:12: warning: 'spinand_read_oob' defined but not used [-Wunused-function]
static int spinand_read_oob(struct mtd_info *mtd,struct nand_chip *chip, int page, int sndcmd)
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spi_nand_write_page_internal.constprop':
drivers/mtd/chips/spi_nand_flash.c:2457:15: warning: 'addr_offset' may be used uninitialized in this function [-Wmaybe-uninitialized]
rtn_status = spi_nand_write_page(page_number, addr_offset, ptr_data, data_len, 0, ptr_oob, MAX_USE_OOB_SIZE , speed_mode);
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spi_nand_probe_kernel':
drivers/mtd/chips/spi_nand_flash.c:4802:3: warning: 'mtd_address' may be used uninitialized in this function [-Wmaybe-uninitialized]
free_allcate_memory( (struct mtd_info * )(mtd_address) );
^
LD drivers/mtd/chips/built-in.o
LD drivers/mtd/built-in.o
CC drivers/usb/core/hcd.o
In file included from drivers/usb/core/hcd.c:27:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
LD drivers/usb/core/usbcore.o
LD drivers/usb/core/built-in.o
CC [M] drivers/usb/gadget/function/f_acm.o
In file included from include/linux/usb/composite.h:38:0,
from drivers/usb/gadget/function/u_serial.h:15,
from drivers/usb/gadget/function/f_acm.c:23:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
LD [M] drivers/usb/gadget/function/usb_f_acm.o
CC [M] drivers/usb/gadget/function/u_serial.o
In file included from include/linux/usb/composite.h:38:0,
from drivers/usb/gadget/function/u_serial.h:15,
from drivers/usb/gadget/function/u_serial.c:31:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
CC [M] drivers/usb/gadget/function/f_serial.o
In file included from include/linux/usb/composite.h:38:0,
from drivers/usb/gadget/function/u_serial.h:15,
from drivers/usb/gadget/function/f_serial.c:18:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
LD [M] drivers/usb/gadget/function/usb_f_serial.o
CC [M] drivers/usb/gadget/function/f_obex.o
In file included from include/linux/usb/composite.h:38:0,
from drivers/usb/gadget/function/u_serial.h:15,
from drivers/usb/gadget/function/f_obex.c:22:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
LD [M] drivers/usb/gadget/function/usb_f_obex.o
CC [M] drivers/usb/gadget/legacy/serial.o
In file included from include/linux/usb/composite.h:38:0,
from ./drivers/usb/gadget/function/u_serial.h:15,
from drivers/usb/gadget/legacy/serial.c:19:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
LD [M] drivers/usb/gadget/legacy/g_serial.o
CC [M] drivers/usb/gadget/config.o
In file included from include/linux/usb/composite.h:38:0,
from drivers/usb/gadget/config.c:22:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
CC [M] drivers/usb/gadget/composite.o
In file included from include/linux/usb/composite.h:38:0,
from drivers/usb/gadget/composite.c:21:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
CC [M] drivers/usb/gadget/functions.o
In file included from include/linux/usb/composite.h:38:0,
from drivers/usb/gadget/functions.c:6:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
CC [M] drivers/usb/gadget/configfs.o
In file included from include/linux/usb/composite.h:38:0,
from drivers/usb/gadget/configfs.c:6:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
LD [M] drivers/usb/gadget/libcomposite.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
CC net/ipv4/netfilter/nf_nat_masquerade_ipv4.o
In file included from net/ipv4/netfilter/nf_nat_masquerade_ipv4.c:28:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
net/ipv4/netfilter/nf_nat_masquerade_ipv4.c: In function 'find_fullcone_exp':
net/ipv4/netfilter/nf_nat_masquerade_ipv4.c:350:21: warning: unused variable 'n' [-Wunused-variable]
struct hlist_node *n;
^
net/ipv4/netfilter/nf_nat_masquerade_ipv4.c: At top level:
net/ipv4/netfilter/nf_nat_masquerade_ipv4.c:196:12: warning: 'tplink_nat_fullcone_check' defined but not used [-Wunused-function]
static int tplink_nat_fullcone_check(struct sk_buff *pskb, unsigned int protoff,
^
LD net/ipv4/netfilter/built-in.o
LD net/ipv4/built-in.o
CC net/nat/foe_hook/hook.o
In file included from net/nat/foe_hook/hook.c:31:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
LD net/nat/foe_hook/foe_hook.o
LD net/nat/foe_hook/built-in.o
CC net/netfilter/xt_massurl.o
In file included from net/netfilter/xt_massurl.c:40:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
net/netfilter/xt_massurl.c:190:5: warning: initialization from incompatible pointer type
.match = &match,
^
net/netfilter/xt_massurl.c:190:5: warning: (near initialization for 'xt_massurl_match[0].match')
net/netfilter/xt_massurl.c:192:5: warning: initialization from incompatible pointer type
.checkentry = &checkentry,
^
net/netfilter/xt_massurl.c:192:5: warning: (near initialization for 'xt_massurl_match[0].checkentry')
net/netfilter/xt_massurl.c:198:5: warning: initialization from incompatible pointer type
.match = &match,
^
net/netfilter/xt_massurl.c:198:5: warning: (near initialization for 'xt_massurl_match[1].match')
net/netfilter/xt_massurl.c:200:5: warning: initialization from incompatible pointer type
.checkentry = &checkentry,
^
net/netfilter/xt_massurl.c:200:5: warning: (near initialization for 'xt_massurl_match[1].checkentry')
net/netfilter/xt_massurl.c: In function 'url_strhash':
net/netfilter/xt_massurl.c:667:21: warning: unused variable 'pNode' [-Wunused-variable]
struct hlist_node *pNode;
^
net/netfilter/xt_massurl.c: In function 'url_list_show':
net/netfilter/xt_massurl.c:983:21: warning: unused variable 'pNode' [-Wunused-variable]
struct hlist_node *pNode;
^
LD net/netfilter/built-in.o
CC [M] net/netfilter/nf_conntrack_rtsp.o
In file included from include/linux/netfilter/nf_conntrack_rtsp.h:18:0,
from net/netfilter/nf_conntrack_rtsp.c:46:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
In file included from net/netfilter/nf_conntrack_rtsp.c:57:0:
net/netfilter/ecnt_netfilter.h:14:38: warning: backslash and newline separated by space
#define ECNT_NF_CT_SYSCTL_TABLE_HOOK \
^
net/netfilter/nf_conntrack_rtsp.c:65:0: warning: "pr_debug" redefined
#define pr_debug(fmt, ...) printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/list.h:8,
from include/linux/module.h:9,
from net/netfilter/nf_conntrack_rtsp.c:37:
include/linux/printk.h:271:0: note: this is the location of the previous definition
#define pr_debug(fmt, ...) \
^
CC [M] net/netfilter/nf_nat_rtsp.o
In file included from net/netfilter/nf_nat_rtsp.c:40:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
In file included from include/linux/netfilter/nf_conntrack_rtsp.h:18:0,
from net/netfilter/nf_nat_rtsp.c:48:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
In file included from net/netfilter/nf_nat_rtsp.c:40:0:
include/generated/uapi/linux/version.h:3:0: note: this is the location of the previous definition
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
In file included from include/linux/netfilter/nf_conntrack_rtsp.h:18:0,
from net/netfilter/nf_nat_rtsp.c:48:
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
In file included from net/netfilter/nf_nat_rtsp.c:40:0:
include/generated/uapi/linux/version.h:4:0: note: this is the location of the previous definition
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
net/netfilter/nf_nat_rtsp.c:69:0: warning: "pr_debug" redefined
#define pr_debug(fmt, ...) printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/list.h:8,
from include/linux/module.h:9,
from net/netfilter/nf_nat_rtsp.c:39:
include/linux/printk.h:271:0: note: this is the location of the previous definition
#define pr_debug(fmt, ...) \
^
LD net/built-in.o
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
In file included from init/version.c:14:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:33:42 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:33:42 UTC 2021"
^
LD init/built-in.o
KSYM .tmp_kallsyms1.o
KSYM .tmp_kallsyms2.o
LD vmlinux
SORTEX vmlinux
SYSMAP System.map
OBJCOPY arch/mips/boot/vmlinux.bin
Building modules, stage 2.
MODPOST 82 modules
LD [M] drivers/usb/gadget/function/u_serial.ko
LD [M] drivers/usb/gadget/function/usb_f_acm.ko
LD [M] drivers/usb/gadget/function/usb_f_obex.ko
LD [M] drivers/usb/gadget/function/usb_f_serial.ko
LD [M] drivers/usb/gadget/legacy/g_serial.ko
LD [M] drivers/usb/gadget/libcomposite.ko
LD [M] net/netfilter/nf_conntrack_rtsp.ko
LD [M] net/netfilter/nf_nat_rtsp.ko
make[1]: Leaving directory `/opt/bba/EN7526G_3.18Kernel_SDK/linux-3.18.21'
make -C /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21 linux.7z
make[1]: Entering directory `/opt/bba/EN7526G_3.18Kernel_SDK/linux-3.18.21'
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC init/version.o
In file included from init/version.c:14:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:34:02 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:34:02 UTC 2021"
^
LD init/built-in.o
CC arch/mips/econet/tpproc.o
In file included from arch/mips/econet/tpproc.c:12:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:34:02 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:34:02 UTC 2021"
^
arch/mips/econet/tpproc.c: In function 'tp_proc_init':
arch/mips/econet/tpproc.c:82:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
struct proc_dir_entry *skb_debug_proc;
^
LD arch/mips/econet/built-in.o
LD arch/mips/built-in.o
CC kernel/sys.o
In file included from kernel/sys.c:42:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:34:02 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:34:02 UTC 2021"
^
LD kernel/built-in.o
CC drivers/mtd/chips/newspiflash.o
In file included from drivers/mtd/chips/newspiflash.c:23:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:34:02 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:34:02 UTC 2021"
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_read_id':
drivers/mtd/chips/newspiflash.c:388:2: warning: implicit declaration of function 'down_Normal_interruptible' [-Wimplicit-function-declaration]
down_Normal_interruptible(&SPI_SEM);
^
drivers/mtd/chips/newspiflash.c:398:2: warning: implicit declaration of function 'up_Normal' [-Wimplicit-function-declaration]
up_Normal(&SPI_SEM);
^
drivers/mtd/chips/newspiflash.c:382:5: warning: unused variable 'cur_mode' [-Wunused-variable]
u8 cur_mode=0;
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_erase':
drivers/mtd/chips/newspiflash.c:505:6: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=]
printk("\nErase fail at Address %X::index is %d, value is %X, should be %X, reg 0xBFA10000 is 0x%08x, clk_rate is %s\n", destAddr+i, i, rd_buf[i], 0xFF, SF_READ_MODE_VALUE, ((SF_CLK_CHANGE_VALUE==0)?("25MHZ"):("50MHZ")));
^
drivers/mtd/chips/newspiflash.c:408:5: warning: unused variable 'cur_mode' [-Wunused-variable]
u8 cur_mode=0;
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_manual_read_internal':
drivers/mtd/chips/newspiflash.c:555:16: warning: unused variable 'dest_addr' [-Wunused-variable]
unsigned long dest_addr = from;
^
drivers/mtd/chips/newspiflash.c:554:5: warning: unused variable 'cur_mode' [-Wunused-variable]
u8 cur_mode=0;
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_read':
drivers/mtd/chips/newspiflash.c:740:2: warning: implicit declaration of function 'memcpy4' [-Wimplicit-function-declaration]
memcpy4((unsigned char*)to, (unsigned char*)(map->virt + from), size);
^
drivers/mtd/chips/newspiflash.c:709:5: warning: unused variable 'cur_mode' [-Wunused-variable]
u8 cur_mode=0;
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_write':
drivers/mtd/chips/newspiflash.c:892:5: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=]
printk("\nProgram fail at Address %X::index is %d, value is %X, should be %X, reg 0xBFA10000 is 0x%08x, clk_rate is %s\n", destAddr+i, i, rd_buf[i], buf[i], SF_READ_MODE_VALUE, ((SF_CLK_CHANGE_VALUE==0)?("25MHZ"):("50MHZ")));
^
drivers/mtd/chips/newspiflash.c:764:5: warning: unused variable 'cur_mode' [-Wunused-variable]
u8 cur_mode=0;
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_probe_tc3162':
drivers/mtd/chips/newspiflash.c:1246:30: warning: assignment from incompatible pointer type
chip_info->read_manual = spiflash_manual_fast_read;
^
drivers/mtd/chips/newspiflash.c: In function 'ReadSPIByte':
drivers/mtd/chips/newspiflash.c:1432:3: warning: return makes integer from pointer without a cast
return NULL;
^
drivers/mtd/chips/newspiflash.c:1434:12: warning: assignment makes pointer from integer without a cast
map->virt = 0xBC000000;
^
drivers/mtd/chips/newspiflash.c:1437:28: warning: passing argument 3 of 'spiflash_read' makes integer from pointer without a cast
spiflash_read(map, index, buf, len);
^
drivers/mtd/chips/newspiflash.c:707:1: note: expected 'u32' but argument is of type 'unsigned char *'
spiflash_read (struct map_info *map, u32 from, u32 to, u32 size)
^
drivers/mtd/chips/newspiflash.c: In function 'ReadSPIDWord':
drivers/mtd/chips/newspiflash.c:1452:3: warning: return makes integer from pointer without a cast
return NULL;
^
drivers/mtd/chips/newspiflash.c:1454:12: warning: assignment makes pointer from integer without a cast
map->virt = 0xBC000000;
^
drivers/mtd/chips/newspiflash.c:1457:28: warning: passing argument 3 of 'spiflash_read' makes integer from pointer without a cast
spiflash_read(map, index, buf, len);
^
drivers/mtd/chips/newspiflash.c:707:1: note: expected 'u32' but argument is of type 'unsigned char *'
spiflash_read (struct map_info *map, u32 from, u32 to, u32 size)
^
drivers/mtd/chips/newspiflash.c: In function 'sfc_AutoManualInterrupt_handler':
drivers/mtd/chips/newspiflash.c:1468:3: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
printk("\n>>> %d: Auto Mode and Manual Mode access in the same time, Reg(0xbfb40054) is 0x%08x\n", AUTO_MANUAL_INT, VPint(0xbfb40054));
^
drivers/mtd/chips/newspiflash.c: In function 'spiflash_probe_init':
drivers/mtd/chips/newspiflash.c:1655:35: warning: passing argument 2 of 'request_irq' from incompatible pointer type
if (request_irq(AUTO_MANUAL_INT, sfc_AutoManualInterrupt_handler, 0, "SFC_AutoManual", NULL) != 0) {
^
In file included from include/linux/mtd/cfi.h:26:0,
from include/linux/mtd/gen_probe.h:26,
from drivers/mtd/chips/newspiflash.c:29:
include/linux/interrupt.h:128:1: note: expected 'irq_handler_t' but argument is of type 'void (*)(void)'
request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags,
^
drivers/mtd/chips/newspiflash.c: At top level:
drivers/mtd/chips/newspiflash.c:157:13: warning: 'byte_program_mode' defined but not used [-Wunused-variable]
static __u8 byte_program_mode = 0;
^
drivers/mtd/chips/newspiflash.c:158:13: warning: 'four_byte_mode' defined but not used [-Wunused-variable]
static __u8 four_byte_mode = 0;
^
drivers/mtd/chips/newspiflash.c:520:12: warning: 'spiflash_wait_ready' defined but not used [-Wunused-function]
static int spiflash_wait_ready(int state)
^
drivers/mtd/chips/newspiflash.c:679:1: warning: 'spiflash_manual_read_data' defined but not used [-Wunused-function]
spiflash_manual_read_data(struct mtd_info *mtd, unsigned long from, unsigned char *buf, unsigned long len)
^
drivers/mtd/chips/newspiflash.c:693:1: warning: 'spiflash_manual_fast_read_dualOut' defined but not used [-Wunused-function]
spiflash_manual_fast_read_dualOut(struct mtd_info *mtd, unsigned long from, unsigned char *buf, unsigned long len)
^
drivers/mtd/chips/newspiflash.c:700:1: warning: 'spiflash_manual_fast_read_dualIO' defined but not used [-Wunused-function]
spiflash_manual_fast_read_dualIO(struct mtd_info *mtd, unsigned long from, unsigned char *buf, unsigned long len)
^
CC drivers/mtd/chips/spi_nand_flash.o
In file included from drivers/mtd/chips/spi_nand_flash.c:45:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:34:02 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:34:02 UTC 2021"
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spi_nand_probe':
drivers/mtd/chips/spi_nand_flash.c:3000:29: warning: passing argument 1 of 'spi_nand_protocol_read_id' from incompatible pointer type
spi_nand_protocol_read_id( (struct SPI_NAND_FLASH_INFO_T *)ptr_rtn_device_t );
^
drivers/mtd/chips/spi_nand_flash.c:1122:29: note: expected 'struct _SPI_NAND_FLASH_ID_T *' but argument is of type 'struct SPI_NAND_FLASH_INFO_T *'
static SPI_NAND_FLASH_RTN_T spi_nand_protocol_read_id ( struct _SPI_NAND_FLASH_ID_T * ptr_rtn_flash_id )
^
drivers/mtd/chips/spi_nand_flash.c:3030:32: warning: passing argument 1 of 'spi_nand_protocol_read_id_2' from incompatible pointer type
spi_nand_protocol_read_id_2( (struct SPI_NAND_FLASH_INFO_T *)ptr_rtn_device_t );
^
drivers/mtd/chips/spi_nand_flash.c:1165:29: note: expected 'struct _SPI_NAND_FLASH_ID_T *' but argument is of type 'struct SPI_NAND_FLASH_INFO_T *'
static SPI_NAND_FLASH_RTN_T spi_nand_protocol_read_id_2 ( struct _SPI_NAND_FLASH_ID_T *ptr_rtn_flash_id )
^
drivers/mtd/chips/spi_nand_flash.c: In function 'SPI_NAND_Flash_Init':
drivers/mtd/chips/spi_nand_flash.c:3316:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
_SPI_NAND_PRINTF("SPI_NAND_Flash_init: before init, mtx_mode_tog=0xl%x, manaul_en=0x%lx\n", VPint(0xbfa10014), VPint(0xbfa10020) );
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_read_id':
drivers/mtd/chips/spi_nand_flash.c:3742:30: warning: unused variable 'flash_id' [-Wunused-variable]
struct _SPI_NAND_FLASH_ID_T flash_id;
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_program_page':
drivers/mtd/chips/spi_nand_flash.c:4005:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
struct SPI_NAND_FLASH_INFO_T *ptr_dev_info_t;
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_erase_block':
drivers/mtd/chips/spi_nand_flash.c:4062:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
struct SPI_NAND_FLASH_INFO_T *ptr_dev_info_t;
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_write_buf':
drivers/mtd/chips/spi_nand_flash.c:4087:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int min_oob_size;
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_write_page_hwecc':
drivers/mtd/chips/spi_nand_flash.c:4155:61: warning: passing argument 2 of 'spi_nand_flash_debug_printf_array' discards 'const' qualifier from pointer target type
_SPI_NAND_DEBUG_PRINTF_ARRAY(SPI_NAND_FLASH_DEBUG_LEVEL_2, &buf[0], mtd->writesize);
^
drivers/mtd/chips/spi_nand_flash.c:722:13: note: expected 'char *' but argument is of type 'const uint8_t *'
static void spi_nand_flash_debug_printf_array( SPI_NAND_FLASH_DEBUG_LEVEL_T DEBUG_LEVEL, char *buf, u32 len )
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_read_page_hwecc':
drivers/mtd/chips/spi_nand_flash.c:4165:9: warning: unused variable 'idx' [-Wunused-variable]
u32 idx;
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spinand_write_page':
drivers/mtd/chips/spi_nand_flash.c:4214:53: warning: passing argument 3 of 'spi_nand_write_page_internal' discards 'const' qualifier from pointer target type
rtn_status = spi_nand_write_page_internal(page, 0, buf, (ptr_dev_info_t->page_size), 0, (state->oob_buf), MAX_LINUX_USE_OOB_SIZE, SPI_NAND_FLASH_WRITE_SPEED_MODE_SINGLE);
^
drivers/mtd/chips/spi_nand_flash.c:2400:29: note: expected 'u8 *' but argument is of type 'const u8 *'
static SPI_NAND_FLASH_RTN_T spi_nand_write_page_internal( u32 page_number,
^
drivers/mtd/chips/spi_nand_flash.c: At top level:
drivers/mtd/chips/spi_nand_flash.c:4466:2: warning: missing braces around initializer [-Wmissing-braces]
{NULL, 0, 0, 0, 0, 0},
^
drivers/mtd/chips/spi_nand_flash.c:4466:2: warning: (near initialization for 'spi_nand_flash_ids[0].<anonymous>') [-Wmissing-braces]
drivers/mtd/chips/spi_nand_flash.c: In function 'spi_nand_setup':
drivers/mtd/chips/spi_nand_flash.c:4620:31: warning: assignment discards 'const' qualifier from pointer target type
spi_nand_flash_ids[0].name = ptr_dev_info_t->ptr_name;
^
drivers/mtd/chips/spi_nand_flash.c:4701:20: warning: assignment from incompatible pointer type
ranand_read_byte = SPI_NAND_Flash_Read_Byte;
^
drivers/mtd/chips/spi_nand_flash.c:4702:20: warning: assignment from incompatible pointer type
ranand_read_dword = SPI_NAND_Flash_Read_DWord;
^
drivers/mtd/chips/spi_nand_flash.c:4705:23: warning: assignment makes integer from pointer without a cast
*ptr_rtn_mtd_address = mtd;
^
drivers/mtd/chips/spi_nand_flash.c: In function 'nandflash_read':
drivers/mtd/chips/spi_nand_flash.c:4889:43: warning: passing argument 3 of 'SPI_NAND_Flash_Read_NByte' from incompatible pointer type
if( SPI_NAND_Flash_Read_NByte(from, len, retlen, buf, SPI_NAND_FLASH_READ_SPEED_MODE_SINGLE) == SPI_NAND_FLASH_RTN_NO_ERROR )
^
drivers/mtd/chips/spi_nand_flash.c:3426:5: note: expected 'u32 *' but argument is of type 'long unsigned int *'
u32 SPI_NAND_Flash_Read_NByte( unsigned long long addr,
^
drivers/mtd/chips/spi_nand_flash.c: In function 'nandflash_write':
drivers/mtd/chips/spi_nand_flash.c:4902:42: warning: passing argument 3 of 'SPI_NAND_Flash_Write_Nbyte' from incompatible pointer type
if( SPI_NAND_Flash_Write_Nbyte(to, len, retlen, buf, SPI_NAND_FLASH_READ_SPEED_MODE_SINGLE) == SPI_NAND_FLASH_RTN_NO_ERROR )
^
drivers/mtd/chips/spi_nand_flash.c:3387:22: note: expected 'u32 *' but argument is of type 'long unsigned int *'
SPI_NAND_FLASH_RTN_T SPI_NAND_Flash_Write_Nbyte( u32 dst_addr,
^
drivers/mtd/chips/spi_nand_flash.c:4902:50: warning: passing argument 4 of 'SPI_NAND_Flash_Write_Nbyte' discards 'const' qualifier from pointer target type
if( SPI_NAND_Flash_Write_Nbyte(to, len, retlen, buf, SPI_NAND_FLASH_READ_SPEED_MODE_SINGLE) == SPI_NAND_FLASH_RTN_NO_ERROR )
^
drivers/mtd/chips/spi_nand_flash.c:3387:22: note: expected 'u8 *' but argument is of type 'const unsigned char *'
SPI_NAND_FLASH_RTN_T SPI_NAND_Flash_Write_Nbyte( u32 dst_addr,
^
drivers/mtd/chips/spi_nand_flash.c: At top level:
drivers/mtd/chips/spi_nand_flash.c:676:12: warning: 'generic_ffs' defined but not used [-Wunused-function]
static int generic_ffs(int x)
^
drivers/mtd/chips/spi_nand_flash.c:1606:29: warning: 'spi_nand_protocol_program_load_random_single_speed' defined but not used [-Wunused-function]
static SPI_NAND_FLASH_RTN_T spi_nand_protocol_program_load_random_single_speed ( u32 addr,
^
drivers/mtd/chips/spi_nand_flash.c:1655:29: warning: 'spi_nand_protocol_program_load_random_quad_speed' defined but not used [-Wunused-function]
static SPI_NAND_FLASH_RTN_T spi_nand_protocol_program_load_random_quad_speed ( u32 addr,
^
drivers/mtd/chips/spi_nand_flash.c:3688:12: warning: 'enable_hw_ecc' defined but not used [-Wunused-variable]
static int enable_hw_ecc;
^
drivers/mtd/chips/spi_nand_flash.c:3689:12: warning: 'enable_read_hw_ecc' defined but not used [-Wunused-variable]
static int enable_read_hw_ecc;
^
drivers/mtd/chips/spi_nand_flash.c:3831:12: warning: 'spinand_enable_ecc' defined but not used [-Wunused-function]
static int spinand_enable_ecc(struct spi_device *spi_nand)
^
drivers/mtd/chips/spi_nand_flash.c:3850:12: warning: 'spinand_disable_ecc' defined but not used [-Wunused-function]
static int spinand_disable_ecc(struct spi_device *spi_nand)
^
drivers/mtd/chips/spi_nand_flash.c:3878:12: warning: 'spinand_write_enable' defined but not used [-Wunused-function]
static int spinand_write_enable(struct spi_device *spi_nand)
^
drivers/mtd/chips/spi_nand_flash.c:3883:12: warning: 'spinand_read_page_to_cache' defined but not used [-Wunused-function]
static int spinand_read_page_to_cache(struct spi_device *spi_nand, u32 page_id)
^
drivers/mtd/chips/spi_nand_flash.c:3897:12: warning: 'spinand_read_from_cache' defined but not used [-Wunused-function]
static int spinand_read_from_cache(struct spi_device *spi_nand, u32 page_id,
^
drivers/mtd/chips/spi_nand_flash.c:3932:12: warning: 'spinand_read_page' defined but not used [-Wunused-function]
static int spinand_read_page(struct spi_device *spi_nand, u32 page_id,
^
drivers/mtd/chips/spi_nand_flash.c:3966:12: warning: 'spinand_program_data_to_cache' defined but not used [-Wunused-function]
static int spinand_program_data_to_cache(struct spi_device *spi_nand,
^
drivers/mtd/chips/spi_nand_flash.c:3981:12: warning: 'spinand_program_execute' defined but not used [-Wunused-function]
static int spinand_program_execute(struct spi_device *spi_nand, u32 page_id)
^
drivers/mtd/chips/spi_nand_flash.c:4039:12: warning: 'spinand_erase_block_erase' defined but not used [-Wunused-function]
static int spinand_erase_block_erase(struct spi_device *spi_nand, u32 block_id)
^
drivers/mtd/chips/spi_nand_flash.c:4200:12: warning: 'spinand_write_page' defined but not used [-Wunused-function]
static int spinand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
^
drivers/mtd/chips/spi_nand_flash.c:4252:12: warning: 'spinand_read_oob' defined but not used [-Wunused-function]
static int spinand_read_oob(struct mtd_info *mtd,struct nand_chip *chip, int page, int sndcmd)
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spi_nand_write_page_internal.constprop':
drivers/mtd/chips/spi_nand_flash.c:2457:15: warning: 'addr_offset' may be used uninitialized in this function [-Wmaybe-uninitialized]
rtn_status = spi_nand_write_page(page_number, addr_offset, ptr_data, data_len, 0, ptr_oob, MAX_USE_OOB_SIZE , speed_mode);
^
drivers/mtd/chips/spi_nand_flash.c: In function 'spi_nand_probe_kernel':
drivers/mtd/chips/spi_nand_flash.c:4802:3: warning: 'mtd_address' may be used uninitialized in this function [-Wmaybe-uninitialized]
free_allcate_memory( (struct mtd_info * )(mtd_address) );
^
LD drivers/mtd/chips/built-in.o
LD drivers/mtd/built-in.o
CC drivers/usb/core/hcd.o
In file included from drivers/usb/core/hcd.c:27:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:34:02 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:34:02 UTC 2021"
^
LD drivers/usb/core/usbcore.o
LD drivers/usb/core/built-in.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
CC net/ipv4/netfilter/nf_nat_masquerade_ipv4.o
In file included from net/ipv4/netfilter/nf_nat_masquerade_ipv4.c:28:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:34:02 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:34:02 UTC 2021"
^
net/ipv4/netfilter/nf_nat_masquerade_ipv4.c: In function 'find_fullcone_exp':
net/ipv4/netfilter/nf_nat_masquerade_ipv4.c:350:21: warning: unused variable 'n' [-Wunused-variable]
struct hlist_node *n;
^
net/ipv4/netfilter/nf_nat_masquerade_ipv4.c: At top level:
net/ipv4/netfilter/nf_nat_masquerade_ipv4.c:196:12: warning: 'tplink_nat_fullcone_check' defined but not used [-Wunused-function]
static int tplink_nat_fullcone_check(struct sk_buff *pskb, unsigned int protoff,
^
LD net/ipv4/netfilter/built-in.o
LD net/ipv4/built-in.o
CC net/nat/foe_hook/hook.o
In file included from net/nat/foe_hook/hook.c:31:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:34:02 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:34:02 UTC 2021"
^
LD net/nat/foe_hook/foe_hook.o
LD net/nat/foe_hook/built-in.o
CC net/netfilter/xt_massurl.o
In file included from net/netfilter/xt_massurl.c:40:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:34:02 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:34:02 UTC 2021"
^
net/netfilter/xt_massurl.c:190:5: warning: initialization from incompatible pointer type
.match = &match,
^
net/netfilter/xt_massurl.c:190:5: warning: (near initialization for 'xt_massurl_match[0].match')
net/netfilter/xt_massurl.c:192:5: warning: initialization from incompatible pointer type
.checkentry = &checkentry,
^
net/netfilter/xt_massurl.c:192:5: warning: (near initialization for 'xt_massurl_match[0].checkentry')
net/netfilter/xt_massurl.c:198:5: warning: initialization from incompatible pointer type
.match = &match,
^
net/netfilter/xt_massurl.c:198:5: warning: (near initialization for 'xt_massurl_match[1].match')
net/netfilter/xt_massurl.c:200:5: warning: initialization from incompatible pointer type
.checkentry = &checkentry,
^
net/netfilter/xt_massurl.c:200:5: warning: (near initialization for 'xt_massurl_match[1].checkentry')
net/netfilter/xt_massurl.c: In function 'url_strhash':
net/netfilter/xt_massurl.c:667:21: warning: unused variable 'pNode' [-Wunused-variable]
struct hlist_node *pNode;
^
net/netfilter/xt_massurl.c: In function 'url_list_show':
net/netfilter/xt_massurl.c:983:21: warning: unused variable 'pNode' [-Wunused-variable]
struct hlist_node *pNode;
^
LD net/netfilter/built-in.o
LD net/built-in.o
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
In file included from init/version.c:14:0:
include/generated/uapi/linux/version.h:3:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
#define __DATE__ "Mon Jan 11 01:34:02 UTC 2021"
^
include/generated/uapi/linux/version.h:4:0: warning: "__TIME__" redefined [-Wbuiltin-macro-redefined]
#define __TIME__ "Mon Jan 11 01:34:02 UTC 2021"
^
LD init/built-in.o
KSYM .tmp_kallsyms1.o
KSYM .tmp_kallsyms2.o
LD vmlinux
SORTEX vmlinux
SYSMAP System.map
mips-buildroot-linux-uclibc-objcopy -O binary vmlinux linux.bin
../tools/lzma e linux.bin linux.7z
LZMA 4.27 Copyright (c) 1999-2005 Igor Pavlov 2005-08-07
../tools/trx/trx -f linux.7z -o linux.7z.trx -c ../tools/trx/trx_config
mjn3's trx replacement - v0.81.1
Model 3 6035 122 0
version 7.3.234.200_v001
customerversion
make[1]: Leaving directory `/opt/bba/EN7526G_3.18Kernel_SDK/linux-3.18.21'
#cd /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21 && make V=2 linux.7z
cp /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21/linux.7z /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/tplink/output/XR500vSPv1/kernel/
cp /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/linux-3.18.21/vmlinux /opt/bba/BBA1.5_platform/build/../../EN7526G_3.18Kernel_SDK/tplink/output/XR500vSPv1/kernel/
Compile kernel success