[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9929d2390806181624g2749a7cex9b1d687c3db0d050@mail.gmail.com>
Date: Wed, 18 Jun 2008 16:24:27 -0700
From: "Jeff Kirsher" <jeffrey.t.kirsher@...el.com>
To: "Randy Dunlap" <randy.dunlap@...cle.com>
Cc: netdev <netdev@...r.kernel.org>, jgarzik <jgarzik@...ox.com>,
jesse.brandeburg@...el.com, akpm <akpm@...ux-foundation.org>
Subject: Re: [PATCH -next] e100: fix printk format warning
On Wed, Jun 18, 2008 at 2:07 PM, Randy Dunlap <randy.dunlap@...cle.com> wrote:
> From: Randy Dunlap <randy.dunlap@...cle.com>
>
> Fix printk format warning:
>
> drivers/net/e100.c:1145: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
>
> Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
> ---
> drivers/net/e100.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-next-20080618.orig/drivers/net/e100.c
> +++ linux-next-20080618/drivers/net/e100.c
> @@ -1142,7 +1142,7 @@ static const struct firmware *e100_reque
> /* Firmware should be precisely UCODE_SIZE (words) plus three bytes
> indicating the offsets for BUNDLESMALL, BUNDLEMAX, INTDELAY */
> if (fw->size != UCODE_SIZE * 4 + 3) {
> - DPRINTK(PROBE,ERR, "Firmware \"%s\" has wrong size %d\n",
> + DPRINTK(PROBE,ERR, "Firmware \"%s\" has wrong size %zu\n",
> fw_name, fw->size);
> release_firmware(fw);
> return ERR_PTR(-EINVAL);
>
Ack.
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
--
Cheers,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists