Re: [PATCH][2.6.11] generic_serial.h gcc4 fix

From: Adrian Bunk (bunk_at_stusta.de)
Date: 03/15/05

  • Next message: Seth, Rohit: "Mprotect needs arch hook for updated PTE settings"
    Date:	Tue, 15 Mar 2005 18:39:46 +0100
    To: Mikael Pettersson <mikpe@user.it.uu.se>
    
    

    On Tue, Mar 15, 2005 at 06:13:33PM +0100, Mikael Pettersson wrote:
    > Fix
    >
    > drivers/char/generic_serial.c:38: error: static declaration of 'gs_debug' follows non-static declaration
    > include/linux/generic_serial.h:94: error: previous declaration of 'gs_debug' was here
    >
    > compilation error from gcc4 in generic_serial.h.
    >
    > /Mikael
    >
    > --- linux-2.6.11/include/linux/generic_serial.h.~1~ 2005-03-02 19:24:19.000000000 +0100
    > +++ linux-2.6.11/include/linux/generic_serial.h 2005-03-15 17:11:07.000000000 +0100
    > @@ -91,6 +91,4 @@ int gs_setserial(struct gs_port *port,
    > int gs_getserial(struct gs_port *port, struct serial_struct __user *sp);
    > void gs_got_break(struct gs_port *port);
    >
    > -extern int gs_debug;
    > -
    > #endif

    This patch is already in -mm for ages.

    When doing such patches, -mm is usually a better basis than Linus' tree.

    cu
    Adrian

    -- 
           "Is there not promise of rain?" Ling Tan asked suddenly out
            of the darkness. There had been need of rain for many days.
           "Only a promise," Lao Er said.
                                           Pearl S. Buck - Dragon Seed
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Seth, Rohit: "Mprotect needs arch hook for updated PTE settings"

    Relevant Pages

    • Re: Gigabit Kconfig problems with yesterdays update
      ... > I have one machine with a gigabit NIC which I updated today from Linus' ... > bk tree. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.9-mm1
      ... Which part that isn't now in Linus' tree is missing? ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.8-rc2-mm1: DVB: "errno" undefined
      ... which hopefully won't happen before the affected modules are properly ... fixed, Linus' tree isn't affected. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: post 2.6.7 BK change breaks Java?
      ... > wouldn't expect either Linus or Andrew to have decided to merge an NX ... Linus' tree. ... how do I tell BitKeeper "pull up to revision..."? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: My thoughts on the "new development model"
      ... this was simple one more bug... ... IMHO Andrew+Linus should open a short-living 2.7 tree soon and Andrew ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)