Re: [PATCH] net/ipv6/tcp_ipv6.c: fix sparse warnings



From: "H Hartley Sweeten" <hartleys@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Apr 2009 20:35:39 -0400

Fix the following sparse warnings in net/ipv6/tcp_ipv6.c.

warning: symbol 'tcp6_gro_receive' was not declared. Should it be static?
warning: symbol 'tcp6_gro_complete' was not declared. Should it be static?

Both symbols are exported but not referenced anywhere outside of
this source file. Remove the exports and make the functions static.

Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>

1) Please post networking patches with netdev@xxxxxxxxxxxxxxx
at least CC:'d

2) Your email client corrupted this patch, making it not apply
properly.

Please fix these details up and resubmit your patch, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: ATL Issues on VS 2005
    ... I am converting the code to class names (with only start ... this is a warning I get from compiling A.cpp ... again empty (for imports and exports), ...
    (microsoft.public.vc.atl)
  • Re: [PATCH] 2.4.33-rc3 needs to export memchr() for smbfs
    ... I noticed that smbfs built as a module needs memchr() ... since a recent fix, so this one now needs to be exported, which ... deltree server 'cos it exports some shares to 'doze ... Seems to be okay without the patch but... ...
    (Linux-Kernel)
  • Re: Problem exporting class with stl member
    ... > I get a warning if I exports a class which has an stl data-type as ... > hope anybody can give me a piece of advice how I can resolve this problem. ...
    (comp.lang.cpp)
  • dllexport classes with stdlib members or return types/ function args
    ... Does that mean I can ignore the warning? ... And if the client links to the same runtime, ... the client would compile with the same header file and therefore ... when a member function of such a class exports a type ...
    (microsoft.public.vc.language)
  • Problem exporting class with stl member
    ... I get a warning if I exports a class which has an stl data-type as ... clients of class 'type2' ...
    (comp.lang.cpp)