[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070801011655.08e3c17b@the-village.bc.nu>
Date: Wed, 1 Aug 2007 01:16:55 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Mariusz Kozlowski <m.kozlowski@...land.pl>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>, khc@...waw.pl
Subject: Re: [PATCH 55] drivers/char/n_hdlc.c: kmalloc + memset conversion
to kzalloc
On Tue, 31 Jul 2007 23:27:30 +0200
Mariusz Kozlowski <m.kozlowski@...land.pl> wrote:
> Signed-off-by: Mariusz Kozlowski <m.kozlowski@...land.pl>
NAK
> - struct n_hdlc *n_hdlc = kmalloc(sizeof(*n_hdlc), GFP_KERNEL);
> -
> + struct n_hdlc *n_hdlc;
> +
> + n_hdlc = kzalloc(sizeof(*n_hdlc), GFP_KERNEL);
Change looks fine but please keep the original formatting style
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists