Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

lib/nlattr.c: move EXPORT_SYMBOL after functions

Fix some checkpatch warnings:
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Pablo Neira <pablo@netfilter.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Fabian Frederick and committed by
Linus Torvalds
6d6a138f 54b14f40

+8 -9
+8 -9
lib/nlattr.c
··· 136 136 errout: 137 137 return err; 138 138 } 139 + EXPORT_SYMBOL(nla_validate); 139 140 140 141 /** 141 142 * nla_policy_len - Determin the max. length of a policy ··· 163 162 164 163 return len; 165 164 } 165 + EXPORT_SYMBOL(nla_policy_len); 166 166 167 167 /** 168 168 * nla_parse - Parse a stream of attributes into a tb buffer ··· 210 208 errout: 211 209 return err; 212 210 } 211 + EXPORT_SYMBOL(nla_parse); 213 212 214 213 /** 215 214 * nla_find - Find a specific attribute in a stream of attributes ··· 231 228 232 229 return NULL; 233 230 } 231 + EXPORT_SYMBOL(nla_find); 234 232 235 233 /** 236 234 * nla_strlcpy - Copy string attribute payload into a sized buffer ··· 262 258 263 259 return srclen; 264 260 } 261 + EXPORT_SYMBOL(nla_strlcpy); 265 262 266 263 /** 267 264 * nla_memcpy - Copy a netlink attribute into another memory area ··· 283 278 284 279 return minlen; 285 280 } 281 + EXPORT_SYMBOL(nla_memcpy); 286 282 287 283 /** 288 284 * nla_memcmp - Compare an attribute with sized memory area ··· 301 295 302 296 return d; 303 297 } 298 + EXPORT_SYMBOL(nla_memcmp); 304 299 305 300 /** 306 301 * nla_strcmp - Compare a string attribute against a string ··· 324 317 325 318 return d; 326 319 } 320 + EXPORT_SYMBOL(nla_strcmp); 327 321 328 322 #ifdef CONFIG_NET 329 323 /** ··· 510 502 } 511 503 EXPORT_SYMBOL(nla_append); 512 504 #endif 513 - 514 - EXPORT_SYMBOL(nla_validate); 515 - EXPORT_SYMBOL(nla_policy_len); 516 - EXPORT_SYMBOL(nla_parse); 517 - EXPORT_SYMBOL(nla_find); 518 - EXPORT_SYMBOL(nla_strlcpy); 519 - EXPORT_SYMBOL(nla_memcpy); 520 - EXPORT_SYMBOL(nla_memcmp); 521 - EXPORT_SYMBOL(nla_strcmp);