aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBaolin Wang <[email protected]>2017-08-28 11:02:41 +0000
committerGreg Kroah-Hartman <[email protected]>2017-08-31 16:08:47 +0000
commiteb3c74de28b24f5a36d12d6c84f1fceb25d12c4f (patch)
treeeb30f865259f233e31169b04d5456afd9ebf5c8a /net/unix/af_unix.c
parentusb: imx21-hcd: make imx21_hc_driver const (diff)
downloadkernel-eb3c74de28b24f5a36d12d6c84f1fceb25d12c4f.tar.gz
kernel-eb3c74de28b24f5a36d12d6c84f1fceb25d12c4f.zip
usb: phy: Avoid unchecked dereference warning
Move the USB phy NULL checking before issuing usb_phy_set_charger_current() to avoid unchecked dereference warning. Signed-off-by: Baolin Wang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions