From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755183AbcG0LWJ (ORCPT ); Wed, 27 Jul 2016 07:22:09 -0400 Received: from mail-lf0-f44.google.com ([209.85.215.44]:35722 "EHLO mail-lf0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755267AbcG0LWD (ORCPT ); Wed, 27 Jul 2016 07:22:03 -0400 Subject: Re: [PATCH v2 03/22] usb: serial: ti_usb_3410_5052: Use kzalloc instead of kmalloc To: Mathieu OTHACEHE , johan@kernel.org, gregkh@linuxfoundation.org References: <20160726180002.2398-1-m.othacehe@gmail.com> <20160726180002.2398-4-m.othacehe@gmail.com> Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org From: Sergei Shtylyov Message-ID: Date: Wed, 27 Jul 2016 14:21:58 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160726180002.2398-4-m.othacehe@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/26/2016 8:59 PM, Mathieu OTHACEHE wrote: > Use kzalloc instead of kmalloc to avoid field initialisation to 0. Avoid? kzalloc() does initialize to 0. :-) > Signed-off-by: Mathieu OTHACEHE MBR, Sergei