[2.6 patch] generic_serial.h: kill incorrect gs_debug reference

From: Adrian Bunk (bunk_at_stusta.de)
Date: 01/31/05

  • Next message: Adrian Bunk: "[2.6 patch] drm_memory.h doesn't need to #include tlbflush.h"
    Date:	Mon, 31 Jan 2005 13:17:23 +0100
    To: Andrew Morton <akpm@osdl.org>
    
    

    generic_serial.h contained an incorrect extern reference to the static
    variable gs_debug (Benoit Boissinot reported that gcc 4.0 rejects this).

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    ---
    This patch was already sent on:
    - 21 Jan 2005
    --- linux-2.6.11-rc1-mm2-full/include/linux/generic_serial.h.old	2005-01-20 23:26:07.000000000 +0100
    +++ linux-2.6.11-rc1-mm2-full/include/linux/generic_serial.h	2005-01-20 23:26:20.000000000 +0100
    @@ -93,6 +93,4 @@
     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
    -
    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: Adrian Bunk: "[2.6 patch] drm_memory.h doesn't need to #include tlbflush.h"

    Relevant Pages

    • Re: [PATCH 12/39] NLKD/i386 - time adjustment
      ... The patch includes code that seems to imply that gcc can not do mpy of variables. ... I really do not see the relavence of the run time library patches given the above. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [CFT] updated gcc-3.4.0 fixes patch for 2.4.27-pre1
      ... I propose fixing problems that will appear with gcc 3.5, ... Here is a patch for the few places I got hit at. ... pci_set_drvdata(pci_dev, dev); ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 1/2] new valid_signal function (fwd)
      ... A while back I attempted to fix a little, not at all critical, gcc -W ... Below is the first patch that adds the new function. ... pointless and generates warnings when building with gcc -W. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] Re: Kernels > 2.6.1-mm3 do not boot. - REALLY SOLVED
      ... My version of gcc, I just sent you adding the ... >> secondary kernel, recompiled without it and all was fine again. ... This patch should fix it. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [patch] Re: Kernels > 2.6.1-mm3 do not boot. - SOLVED
      ... Later I'll try with more recents releases, ... the patch has solved this issue:) ... +# Check the gcc version since -funit-at-a-time is available since gcc 3.4, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)