Skip to content
Snippets Groups Projects
  1. Aug 14, 2008
    • Adrian Bunk's avatar
      [netdrvr] uninline atl1e_setup_mac_ctrl() · 1595ab5d
      Adrian Bunk authored
      
      There doesn't seem to be a compelling reason why atl1e_setup_mac_ctrl()
      is marked as "inline":
      
      It's not used in any place where speed would matter much, and as long as
      it has only one caller non-ancient gcc versions anyway inline it
      automatically.
      
      This patch fixes the following compile error with gcc 3.4:
      
      <--  snip  -->
      
      ...
        CC      drivers/net/atl1e/atl1e_main.o
      atl1e_main.c: In function `atl1e_check_link':
      atl1e_main.c:50: sorry, unimplemented: inlining failed in call to
      atl1e_main.c:196: sorry, unimplemented: called from here
      make[4]: *** [drivers/net/atl1e/atl1e_main.o] Error 1
      
      <--  snip  -->
      
      Reported-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      1595ab5d
  2. Aug 09, 2008
    • Adrian Bunk's avatar
      uninline atl1e_setup_mac_ctrl() · e6ca2328
      Adrian Bunk authored
      
      There doesn't seem to be a compelling reason why atl1e_setup_mac_ctrl()
      is marked as "inline":
      
      It's not used in any place where speed would matter much, and as long as
      it has only one caller non-ancient gcc versions anyway inline it
      automatically.
      
      This patch fixes the following compile error with gcc 3.4:
      
          CC      drivers/net/atl1e/atl1e_main.o
        atl1e_main.c: In function `atl1e_check_link':
        atl1e_main.c:50: sorry, unimplemented: inlining failed in call to
        atl1e_main.c:196: sorry, unimplemented: called from here
      
      Reported-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e6ca2328
  3. Jul 22, 2008
Loading