Project

General

Profile

Feature #4185 ยป 0001-4185-NULL-pointer-constant-not-int-issues.patch

Richard PALO, 2015-09-17 06:34 AM

View differences:

usr/src/test/zfs-tests/tests/functional/checksum/edonr/edonr_test.c
100 100
	},
101 101
	{
102 102
		/* no test vector for test_msg1 */
103
		NULL
103
		0
104 104
	},
105 105
	{
106 106
		/* for test_msg2 */
......
127 127
	},
128 128
	{
129 129
		/* no test vector for test_msg1 */
130
		NULL
130
		0
131 131
	},
132 132
	{
133 133
		/* for test_msg2 */
usr/src/test/zfs-tests/tests/functional/checksum/sha2/sha2_test.c
86 86
	},
87 87
	{
88 88
		/* no test vector for test_msg1 */
89
		NULL
89
		0
90 90
	},
91 91
	{
92 92
		/* for test_msg2 */
......
113 113
	},
114 114
	{
115 115
		/* no test vector for test_msg1 */
116
		NULL
116
		0
117 117
	},
118 118
	{
119 119
		/* for test_msg2 */
......
138 138
	},
139 139
	{
140 140
		/* no test vector for test_msg1 */
141
		NULL
141
		0
142 142
	},
143 143
	{
144 144
		/* for test_msg2 */
......
159 159
	},
160 160
	{
161 161
		/* no test vector for test_msg1 */
162
		NULL
162
		0
163 163
	},
164 164
	{
165 165
		/* for test_msg2 */
usr/src/test/zfs-tests/tests/functional/checksum/skein/skein_test.c
165 165
	},
166 166
	{
167 167
		/* no test vector for test_msg1 */
168
		NULL
168
		0
169 169
	},
170 170
	{
171 171
		/* for test_msg2 */
......
214 214
	},
215 215
	{
216 216
		/* no test vector for test_msg1 */
217
		NULL
217
		0
218 218
	},
219 219
	{
220 220
		/* no test vector for test_msg2 */
221
		NULL
221
		0
222 222
	},
223 223
	{
224 224
		/* for test_msg3 */
usr/src/uts/common/crypto/io/skein_mod.c
153 153
	skein_mech_info_tab
154 154
};
155 155

  
156
static crypto_kcf_provider_handle_t skein_prov_handle = NULL;
156
static crypto_kcf_provider_handle_t skein_prov_handle = 0;
157 157

  
158 158
typedef struct skein_ctx {
159 159
	skein_mech_type_t		sc_mech_type;
160
- 
    (1-1/1)