From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934150AbdAKULU (ORCPT ); Wed, 11 Jan 2017 15:11:20 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:42596 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750969AbdAKUKQ (ORCPT ); Wed, 11 Jan 2017 15:10:16 -0500 Date: Wed, 11 Jan 2017 21:04:18 +0100 From: Greg KH To: "Gustavo A. R. Silva" Cc: don.brace@microsemi.com, esc.storagedev@microsemi.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: block: Remove unnecessary cast Message-ID: <20170111200418.GA16314@kroah.com> References: <20170111184105.GA10766@embeddedgus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170111184105.GA10766@embeddedgus> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 11, 2017 at 12:41:05PM -0600, Gustavo A. R. Silva wrote: > This issue was detected using Coccinelle and the following semantic patch: > > @@ > expression * e; > expression arg1, arg2; > type T; > @@ > > - e = (T *) > + e = > kmalloc(arg1, arg2); > > Signed-off-by: Gustavo A. R. Silva > --- > drivers/block/cciss_scsi.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Why send this to me?