From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Javier Martinez Canillas <javier@osg.samsung.com>
Cc: linux-kernel@vger.kernel.org, iss_storagedev@hp.com,
linux-scsi@vger.kernel.org,
"James E.J. Bottomley" <jejb@linux.vnet.ibm.com>,
esc.storagedev@microsemi.com, Don Brace <don.brace@microsemi.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>
Subject: Re: [PATCH] scsi: hpsa: remove unneeded void pointer cast
Date: Fri, 14 Oct 2016 16:23:16 -0400 [thread overview]
Message-ID: <yq1wphak7d7.fsf@sermon.lab.mkp.net> (raw)
In-Reply-To: <1476375008-10034-1-git-send-email-javier@osg.samsung.com> (Javier Martinez Canillas's message of "Thu, 13 Oct 2016 13:10:08 -0300")
>>>>> "Javier" == Javier Martinez Canillas <javier@osg.samsung.com> writes:
Javier> It's not necessary to cast the result of kmalloc, since void
Javier> pointers are promoted to any other type. This also fixes
Javier> following coccinelle warning:
Javier> casting value returned by memory allocation function to
Javier> (BIG_IOCTL_Command_struct *) is useless.
Applied to 4.10/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2016-10-14 20:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-13 16:10 Javier Martinez Canillas
2016-10-13 20:45 ` Don Brace
2016-10-14 20:23 ` Martin K. Petersen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yq1wphak7d7.fsf@sermon.lab.mkp.net \
--to=martin.petersen@oracle.com \
--cc=don.brace@microsemi.com \
--cc=esc.storagedev@microsemi.com \
--cc=iss_storagedev@hp.com \
--cc=javier@osg.samsung.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®