Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
makefile: clang: disable constant-conversion for now
log: ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:563:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3495 to 167 [-Werror,-Wconstant-conversion] /* Data[8].ctlEdges[7].bChannel */ FREQ2FBIN(5795, 0) ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:562:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3455 to 127 [-Werror,-Wconstant-conversion] /* Data[8].ctlEdges[6].bChannel */ FREQ2FBIN(5755, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:561:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3370 to 42 [-Werror,-Wconstant-conversion] /* Data[8].ctlEdges[5].bChannel */ FREQ2FBIN(5670, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:560:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3250 to 178 [-Werror,-Wconstant-conversion] /* Data[8].ctlEdges[4].bChannel */ FREQ2FBIN(5550, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:559:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3210 to 138 [-Werror,-Wconstant-conversion] /* Data[8].ctlEdges[3].bChannel */ FREQ2FBIN(5510, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:558:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 2970 to 154 [-Werror,-Wconstant-conversion] /* Data[8].ctlEdges[2].bChannel */ FREQ2FBIN(5270, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:557:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 2930 to 114 [-Werror,-Wconstant-conversion] /* Data[8].ctlEdges[1].bChannel */ FREQ2FBIN(5230, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:556:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 2890 to 74 [-Werror,-Wconstant-conversion] /* Data[8].ctlEdges[0].bChannel */ FREQ2FBIN(5190, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:552:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3525 to 197 [-Werror,-Wconstant-conversion] /* Data[7].ctlEdges[7].bChannel */ FREQ2FBIN(5825, 0) ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:551:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3445 to 117 [-Werror,-Wconstant-conversion] /* Data[7].ctlEdges[6].bChannel */ FREQ2FBIN(5745, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:550:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3400 to 72 [-Werror,-Wconstant-conversion] /* Data[7].ctlEdges[5].bChannel */ FREQ2FBIN(5700, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:549:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3260 to 188 [-Werror,-Wconstant-conversion] /* Data[7].ctlEdges[4].bChannel */ FREQ2FBIN(5560, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:548:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3200 to 128 [-Werror,-Wconstant-conversion] /* Data[7].ctlEdges[3].bChannel */ FREQ2FBIN(5500, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:547:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3020 to 204 [-Werror,-Wconstant-conversion] /* Data[7].ctlEdges[2].bChannel */ FREQ2FBIN(5320, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:546:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 2960 to 144 [-Werror,-Wconstant-conversion] /* Data[7].ctlEdges[1].bChannel */ FREQ2FBIN(5260, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:545:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 2880 to 64 [-Werror,-Wconstant-conversion] /* Data[7].ctlEdges[0].bChannel */ FREQ2FBIN(5180, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:541:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3445 to 117 [-Werror,-Wconstant-conversion] /* Data[6].ctlEdges[7].bChannel */ FREQ2FBIN(5745, 0) ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:540:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3400 to 72 [-Werror,-Wconstant-conversion] /* Data[6].ctlEdges[6].bChannel */ FREQ2FBIN(5700, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:539:39: error: implicit conversion from 'int' to 'u8' (aka 'unsigned char') changes value from 3300 to 228 [-Werror,-Wconstant-conversion] /* Data[6].ctlEdges[5].bChannel */ FREQ2FBIN(5600, 0), ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/ath/ath9k/eeprom.h:98:38: note: expanded from macro 'FREQ2FBIN' #define FREQ2FBIN(x, y) ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) ~~~~^~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] AR net/ipv6/ipv6.o Change-Id: caa7f2246ccc0ec4063e975841915ecbe1d85f51 Signed-off-by: TogoFire <italomellopereira@gmail.com>
- Loading branch information