[2.6 patch] make myri10ge_get_firmware_capabilities() static - Kernel

This is a discussion on [2.6 patch] make myri10ge_get_firmware_capabilities() static - Kernel ; This patch makes the needlessly global myri10ge_get_firmware_capabilities() static. Signed-off-by: Adrian Bunk --- 0442d0c2cb767d312f5264cc226a1595c47f3dbf diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index c91b12e..36be6ef 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c @@ -631,7 +631,7 @@ static int myri10ge_adopt_running_firmware(struct myri10ge_priv *mgp) return status; } -int myri10ge_get_firmware_capabilities(struct myri10ge_priv *mgp) ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: [2.6 patch] make myri10ge_get_firmware_capabilities() static

  1. [2.6 patch] make myri10ge_get_firmware_capabilities() static

    This patch makes the needlessly global
    myri10ge_get_firmware_capabilities() static.

    Signed-off-by: Adrian Bunk

    ---
    0442d0c2cb767d312f5264cc226a1595c47f3dbf diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
    index c91b12e..36be6ef 100644
    --- a/drivers/net/myri10ge/myri10ge.c
    +++ b/drivers/net/myri10ge/myri10ge.c
    @@ -631,7 +631,7 @@ static int myri10ge_adopt_running_firmware(struct myri10ge_priv *mgp)
    return status;
    }

    -int myri10ge_get_firmware_capabilities(struct myri10ge_priv *mgp)
    +static int myri10ge_get_firmware_capabilities(struct myri10ge_priv *mgp)
    {
    struct myri10ge_cmd cmd;
    int status;

    --
    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: [2.6 patch] make myri10ge_get_firmware_capabilities() static

    Adrian Bunk wrote:
    > This patch makes the needlessly global
    > myri10ge_get_firmware_capabilities() static.
    >
    > Signed-off-by: Adrian Bunk
    >

    Acked-by: Brice Goglin

    > ---
    > 0442d0c2cb767d312f5264cc226a1595c47f3dbf diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
    > index c91b12e..36be6ef 100644
    > --- a/drivers/net/myri10ge/myri10ge.c
    > +++ b/drivers/net/myri10ge/myri10ge.c
    > @@ -631,7 +631,7 @@ static int myri10ge_adopt_running_firmware(struct myri10ge_priv *mgp)
    > return status;
    > }
    >
    > -int myri10ge_get_firmware_capabilities(struct myri10ge_priv *mgp)
    > +static int myri10ge_get_firmware_capabilities(struct myri10ge_priv *mgp)
    > {
    > struct myri10ge_cmd cmd;
    > int status;
    >
    >


    --
    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: [2.6 patch] make myri10ge_get_firmware_capabilities() static

    Adrian Bunk wrote:
    > This patch makes the needlessly global
    > myri10ge_get_firmware_capabilities() static.
    >
    > Signed-off-by: Adrian Bunk


    applied


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