RE: [PATCH 2/4] staging: dwc2: Make dwc2_set_uninitialized more specific

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Matthijs Kooijman [mailto:matthijs@xxxxxxxx]
> Sent: Thursday, April 11, 2013 9:44 AM
> 
> Before, it was a function that would set all members of a given struct
> containing only int members to -1. Now, it is renamed to
> dwc_set_all_params and it works only on the dwc2_core_params struct.
> This makes sure that all of the slightly dubious casting and assumptions
> happen inside the function instead of by the caller.
> 
> Signed-off-by: Matthijs Kooijman <matthijs@xxxxxxxx>

Acked-by: Paul Zimmerman <paulz@xxxxxxxxxxxx>

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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux