From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([198.137.202.133]:36992 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbeERQP4 (ORCPT ); Fri, 18 May 2018 12:15:56 -0400 Date: Fri, 18 May 2018 09:15:52 -0700 From: Christoph Hellwig To: Alexander Potapenko Cc: jthumshirn@suse.de, jejb@linux.vnet.ibm.com, dgilbert@interlog.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-scsi@vger.kernel.org, dvyukov@google.com, hare@suse.com, torvalds@linux-foundation.org Subject: Re: [PATCH] scsi: sg: allocate with __GFP_ZERO in sg_build_indirect() Message-ID: <20180518161552.GA23907@infradead.org> References: <20180518142318.200260-1-glider@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180518142318.200260-1-glider@google.com> Sender: stable-owner@vger.kernel.org List-ID: On Fri, May 18, 2018 at 04:23:18PM +0200, Alexander Potapenko wrote: > This shall help avoid copying uninitialized memory to the userspace > when calling ioctl(fd, SG_IO) with an empty command. Looks good, Reviewed-by: Christoph Hellwig