From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gustavo Padovan Date: Mon, 08 May 2017 14:31:51 +0000 Subject: Re: [PATCH 2/4] dma-buf: Improve a size determination in dma_buf_attach() Message-Id: <20170508143151.GB28331@joana> List-Id: References: <3d972fa2-787a-d1f2-ff86-5c05494e00d3@users.sourceforge.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: SF Markus Elfring Cc: kernel-janitors@vger.kernel.org, LKML , dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-media@vger.kernel.org 2017-05-08 SF Markus Elfring : > From: Markus Elfring > Date: Mon, 8 May 2017 10:50:09 +0200 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the corresponding size > determination a bit safer according to the Linux coding style convention. > > Signed-off-by: Markus Elfring > --- > drivers/dma-buf/dma-buf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Gustavo Padovan Gustavo