Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1155257pxp; Sat, 12 Mar 2022 03:18:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfRhBouZRBEOI982COS5P20XSa3lg+pYkz7aapnmz0lFSCKS7cARuTC0G3V6G8FK9g4LKm X-Received: by 2002:a17:906:bb01:b0:6a7:df9:d67c with SMTP id jz1-20020a170906bb0100b006a70df9d67cmr11612143ejb.733.1647083885470; Sat, 12 Mar 2022 03:18:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647083885; cv=none; d=google.com; s=arc-20160816; b=V3JI85DvGw7lwMckcYsC6xIHgBjBL1OeJ4myrJTIIbEsroho0QbfMkbj3C0oNJGWzh OHNeAEjjWXcBK5CONkLV/ey0GJ97JOo6iOHa0VE/eECKWc+tJKEZMOD2/ycWgF/HGGO2 hpD8fNyNY43mWJ1JjXqRv9Rf6Y/MTb8hudM46+FcSNZBNZw/gOb5UNkk8YkhSSQ2y+dE HALO5gpweTefq+aRLXYleEE1T3wFZ+UfaKINyLay7X8Y7ScykF8XpJDHv5j4GXVvp+AR Tg2kUoTYYZZxcOalpWpBcIFihfmvb8EHo7NFwAFQqbN3dnnFrAbTOwGUl0dPnxxolWGp o+Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=sADzXucFbvYQxoGycjfde7/Wl6yGzio2SkMVBhdfarY=; b=d/PVm58sebgF/DxoZ/smK8BTeHMpgl+v9FtEXGrxClfvRRrPtpJ2p1MyyOljC7r7hB GlY/Ov8AhEOgvTKiWpsQxdkVroyOTjxuDoZoqc+fV5sVHbpfbJxzVX6hDI8HhfpUD2+v YSNTcpDTI7UrJG/LWRrDdN5ZQaz64zT9E0rheHw9WzLm6Xuxt5wXQ1O840RZHerj0FgY DUymNqLuZ74RkjHOPWPvSzmNa+kfRVbRDelme7nMzTHJkPagLY+cJ6yWSgIX29yosCqV vlHqJTOjP08v/D4hqBQtP/DAE1rqG7uehwTlfytIAAIhl5yDVASD3HefKpxIac9ml4eE 62Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=j6QWgrxG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o18-20020aa7c7d2000000b00411b6c9bad6si6252665eds.79.2022.03.12.03.17.41; Sat, 12 Mar 2022 03:18:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=j6QWgrxG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231741AbiCLK2X (ORCPT + 99 others); Sat, 12 Mar 2022 05:28:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231719AbiCLK2W (ORCPT ); Sat, 12 Mar 2022 05:28:22 -0500 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 561751E6972; Sat, 12 Mar 2022 02:27:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=sADzXucFbvYQxoGycjfde7/Wl6yGzio2SkMVBhdfarY=; b=j6QWgrxGryMhxSMA3Gi6JmdMZ2AEEwpWhkicG5GEBsR5gb7tpaRO9MKN qxPbbNFJS0mb0JLudfu5b6E/NXBAkB7IARm729wGXywLtuY0+WhQ5PUO4 UwsVAy58sLeTRSxGNU80+9aDaVFZn9QhCg6B6X2BMu1tuitCTOC6d9UkD Y=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=Julia.Lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.90,175,1643670000"; d="scan'208";a="25781346" Received: from i80.paris.inria.fr (HELO i80.paris.inria.fr.) ([128.93.90.48]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2022 11:27:11 +0100 From: Julia Lawall To: linux-wireless@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, alsa-devel@alsa-project.org, samba-technical@lists.samba.org, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-scsi@vger.kernel.org, Andrey Konovalov , linux-usb@vger.kernel.org Subject: [PATCH 0/6] use kzalloc Date: Sat, 12 Mar 2022 11:26:59 +0100 Message-Id: <20220312102705.71413-1-Julia.Lawall@inria.fr> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use kzalloc instead of kmalloc + memset. --- drivers/net/ethernet/mellanox/mlx4/en_rx.c | 3 +-- drivers/net/wireless/zydas/zd1201.c | 3 +-- drivers/scsi/lpfc/lpfc_debugfs.c | 9 ++------- drivers/usb/gadget/legacy/raw_gadget.c | 3 +-- fs/cifs/transport.c | 3 +-- sound/core/seq/oss/seq_oss_init.c | 3 +-- 6 files changed, 7 insertions(+), 17 deletions(-)