]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: Don't init pointer to zero, but NULL
authorMarek Vasut <marex@denx.de>
Tue, 26 Apr 2016 23:55:10 +0000 (01:55 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 6 May 2016 16:35:06 +0000 (18:35 +0200)
commit2f1b4302e352800b8b651a300281a7fae67cdf80
treec9f6e2a049c227d5e58d38935aaedb593ce33368
parent79d867c2e683f7080a8724a54a4a12ac0ce1f837
usb: Don't init pointer to zero, but NULL

The pointer should always be inited to NULL, not zero (0). These are
two different things and not necessarily equal.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Stephen Warren <swarren@nvidia.com>
common/usb.c