[alsa-devel] [PATCH v5 1/6] ALSA: ctxfi: changed void * to struct hw *

Takashi Iwai tiwai at suse.de
Tue Sep 30 10:44:44 CEST 2014


At Mon, 29 Sep 2014 14:33:21 +0530,
Sudip Mukherjee wrote:
> 
> in the code we have void *hw and while using we are always typecasting
> it to (struct hw *). it is better to use void type of pointer when we
> store different types of pointer , but in this code we are only having
> struct hw.
> So changed all the relevant reference of void *hw to struct hw *hw,
> without any modification of the existing code logic.
> the next patch of the series will remove the typecasting which is
> not required now.

Thanks, all patches look much better now, so I took them.


Takashi


More information about the Alsa-devel mailing list