On Fri, Jan 03, 2020 at 04:40:13AM +0000, Chester Lin wrote: > + eject_node = (struct eject_data *)adev->eject_stat; No need for this cast. You do that all over this patch, it can be removed everywhere. thanks, greg k-h
On Fri, Jan 03, 2020 at 04:40:13AM +0000, Chester Lin wrote: > + eject_node = (struct eject_data *)adev->eject_stat; No need for this cast. You do that all over this patch, it can be removed everywhere. thanks, greg k-h