Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1470549

Re: [PATCH] scsi: not need to alloc zero buffer for local_atto_ioctl

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] scsi: not need to alloc zero buffer for local_atto_ioctl
Date Fri, 26 Aug 2016 07:20:01 +0200
Message-ID <sahIB-2JS-1@gated-at.bofh.it> (permalink)
References <s8qQ1-2U0-1@gated-at.bofh.it>
Organization Oracle Corporation
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version 1.0
Content-Type text/plain
X-Source-IP aserp1040.oracle.com [141.146.126.69]
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 9
X-Original-Cc Bradley Grove <linuxdrivers@attotech.com>, jejb@linux.vnet.ibm.com, "Martin K. Petersen" <martin.petersen@oracle.com>, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Thu, 25 Aug 2016 22:29:01 -0400
X-Original-Message-ID <yq1h9a8b6vm.fsf@sermon.lab.mkp.net>
X-Original-References <1471746809-31218-1-git-send-email-shawn.lin@rock-chips.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1470549

Show key headers only | View raw


>>>>> "Shawn" == Shawn Lin <shawn.lin@rock-chips.com> writes:

Shawn> We don't need to use kzalloc as we will always memset the
Shawn> local_atto_ioctl later.

Applied to 4.9/scsi-queue.

-- 
Martin K. Petersen	Oracle Linux Engineering

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] scsi: not need to alloc zero buffer for local_atto_ioctl "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-08-26 07:20 +0200

csiph-web