import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / misc / mediatek / connectivity / combo / drv_wlan / mt6630 / wlan / lint / mt6620.lnt
CommitLineData
6fa3eb70
S
1// Please note -- this is the set of error/warning suppression options
2// for MT6620 driver.
3
4// Microsoft C/C++, Versions 4.0 - 12.0(VC6)
5-cmsc
6
7//===========================================================================
8// Define include path of MT6620 headers
9// Currently we'll use windows' gl_os.h
10//
11-i".\include"
12-i".\include\nic"
13-i".\os"
14-i".\os\windows\include"
15-i".\os\windows\ce\hif\sdio\include"
16
17//===========================================================================
18// NOTE(Kevin): we need to define following compiling flags to avoid
19// Warning 553: Undefined preprocessor variable.
20//
21-dDBG=1
22-dMT6620
23
24//===========================================================================
25// Integer-model-for-Enum flag (default OFF).
26// Warning 641: Converting enum 'ENUM_INT_EVENT_T' to int
27// for (u4IntIdx = 0; u4IntIdx < INT_EVENT_NUM; u4IntIdx++)
28+fie
29
30//===========================================================================
31// dump.c
32// Warning 661: Possible access of out-of-bounds pointer
33// Warning 662: Possible creation of out-of-bounds pointer
34-efunc(613,dumpMemory8)
35-efunc(661,dumpMemory8)
36-efunc(662,dumpMemory8)
37-efunc(613,dumpMemory32)
38-efunc(661,dumpMemory32)
39-efunc(662,dumpMemory32)
40
41
42//Warning 507: Size incompatibility - (UINT_8)NULL
43-emacro(507,NULL)
44
45// debug.h
46//Warning 506: Constant value Boolean
47-emacro(506,DBGLOG)
48-emacro(774,DBGLOG)
49
50// ASSERT(0)
51-emacro(506,ASSERT)
52-emacro(774,ASSERT)
53
54// Ignore WARN 621 Likeness between Symbols - identifier clash
55-e621
56
57// Ignore INFO 793 ANSI limit of 1024 'macros in module' exceeded
58// Ignore INFO 793 ANSI limit of 6 'external identifiers
59-e793
60
61// Ignore NOTE 950 Non-ANSI reserved word or construct: '//'
62-e950
63
64-emacro(534, HAL_MCR_RD)
65-emacro(534, HAL_MCR_WR)
66-emacro(534, HAL_PORT_RD)
67-emacro(534, HAL_PORT_WR)
68
69//Ignore fgIsTransition not used warning, actuall used at macro
70-e550
71
72//Kevin: Ignore Warning 534: Ignoring return value of function
73-e534
74
75//Kevin: Ignore Warning 526: Symbol 'kal*()' not defined
76-e526
77
78//Kevin: Ignore Warning 506: Constant value Boolean [MTK Rule 6.1.3]
79// MTK Rule 6.1.3 metion that we shouldn't write code like that - if (fgXxx == TRUE)
80// However Warning 506 cannot check that, it only can check while(0), while(1), if (1) ... cases
81-e506
82
83//Kevin: Ignore Warning 613, the null pointer should be check by every handler.
84-efunc(613, wlanSetInformation, wlanQueryInformation)
85
86-efunc(415,wlanoidQueryCapability)
87-efunc(416,wlanoidQueryCapability)