[PATCH] pci-calgary: fix function declaration - Kernel

This is a discussion on [PATCH] pci-calgary: fix function declaration - Kernel ; From: Randy Dunlap cc: muli@il.ibm.com , jdmason@kudzu.us Fix function declaration: linux-next-20080807/arch/x86/kernel/pci-calgary_64.c:1353:36: warning: non-ANSI function declaration of function 'get_tce_space_from_tar' Signed-off-by: Randy Dunlap --- arch/x86/kernel/pci-calgary_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20080807.orig/arch/x86/kernel/pci-calgary_64.c +++ linux-next-20080807/arch/x86/kernel/pci-calgary_64.c @@ -1350,7 +1350,7 ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: [PATCH] pci-calgary: fix function declaration

  1. [PATCH] pci-calgary: fix function declaration

    From: Randy Dunlap
    cc: muli@il.ibm.com, jdmason@kudzu.us

    Fix function declaration:

    linux-next-20080807/arch/x86/kernel/pci-calgary_64.c:1353:36: warning: non-ANSI function declaration of function 'get_tce_space_from_tar'

    Signed-off-by: Randy Dunlap
    ---
    arch/x86/kernel/pci-calgary_64.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- linux-next-20080807.orig/arch/x86/kernel/pci-calgary_64.c
    +++ linux-next-20080807/arch/x86/kernel/pci-calgary_64.c
    @@ -1350,7 +1350,7 @@ static void calgary_init_bitmap_from_tce
    * Function for kdump case. Get the tce tables from first kernel
    * by reading the contents of the base adress register of calgary iommu
    */
    -static void get_tce_space_from_tar()
    +static void get_tce_space_from_tar(void)
    {
    int bus;
    void __iomem *target;


    ---
    ~Randy
    Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
    http://linuxplumbersconf.org/
    --
    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/

  2. Re: [PATCH] pci-calgary: fix function declaration

    On Thu, Aug 07, 2008 at 03:14:55PM -0700, Randy Dunlap wrote:
    > From: Randy Dunlap
    > cc: muli@il.ibm.com, jdmason@kudzu.us
    >
    > Fix function declaration:
    >
    > linux-next-20080807/arch/x86/kernel/pci-calgary_64.c:1353:36: warning: non-ANSI function declaration of function 'get_tce_space_from_tar'
    >
    > Signed-off-by: Randy Dunlap


    Acked-by: Muli Ben-Yehuda

    Cheers,
    Muli
    --
    Workshop on I/O Virtualization (WIOV '08)
    Co-located with OSDI '08, Dec 2008, San Diego, CA
    http://www.usenix.org/wiov08
    --
    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/

  3. Re: [PATCH] pci-calgary: fix function declaration


    * Muli Ben-Yehuda wrote:

    > On Thu, Aug 07, 2008 at 03:14:55PM -0700, Randy Dunlap wrote:
    > > From: Randy Dunlap
    > > cc: muli@il.ibm.com, jdmason@kudzu.us
    > >
    > > Fix function declaration:
    > >
    > > linux-next-20080807/arch/x86/kernel/pci-calgary_64.c:1353:36: warning: non-ANSI function declaration of function 'get_tce_space_from_tar'
    > >
    > > Signed-off-by: Randy Dunlap

    >
    > Acked-by: Muli Ben-Yehuda


    applied to tip/x86/urgent - thanks.

    Ingo
    --
    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/

+ Reply to Thread