All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/15]Remove unneeded casts of memory-alloc function return values
@ 2015-04-23  5:33 Firo Yang
  2015-04-23  5:45 ` Julia Lawall
  0 siblings, 1 reply; 2+ messages in thread
From: Firo Yang @ 2015-04-23  5:33 UTC (permalink / raw)
  To: kernel-janitors

The memory-alloc() functions return a void pointer, so when 
assigning to a pointer type variable there is no need to cast 
the return value.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/15]Remove unneeded casts of memory-alloc function return values
  2015-04-23  5:33 [PATCH 0/15]Remove unneeded casts of memory-alloc function return values Firo Yang
@ 2015-04-23  5:45 ` Julia Lawall
  0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2015-04-23  5:45 UTC (permalink / raw)
  To: kernel-janitors



On Thu, 23 Apr 2015, Firo Yang wrote:

> The memory-alloc() functions return a void pointer, so when
> assigning to a pointer type variable there is no need to cast
> the return value.

If you used a tool to find these, it would be nice to give credit to that
tool.

julia

>
> --
> To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-23  5:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-23  5:33 [PATCH 0/15]Remove unneeded casts of memory-alloc function return values Firo Yang
2015-04-23  5:45 ` Julia Lawall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.