summaryrefslogtreecommitdiff
path: root/drivers/usb/renesas_usbhs/rcar3.h
diff options
context:
space:
mode:
authorJim Baxter <jim_baxter@mentor.com>2016-09-08 11:18:16 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-09-08 13:53:01 +0300
commit3262ad824307c275922161e82c2db1458822f28c (patch)
tree92e829db6fad476dd9c69301ba5b647fb2f0cd80 /drivers/usb/renesas_usbhs/rcar3.h
parent9d6173e125d92e38d4e39bc71f0c3c2cf95cba1a (diff)
usb: gadget: f_fs: Stop ffs_closed NULL pointer dereference
The struct ffs_data::private_data has a pointer to ffs_dev stored in it during the ffs_fs_mount() function however it is not cleared when the ffs_dev is freed later which causes the ffs_closed function to crash with "Unable to handle kernel NULL pointer dereference" error when using the data in ffs_data::private_data. This clears this pointer during the ffs_free_dev clean up function. Signed-off-by: Jim Baxter <jim_baxter@mentor.com> Signed-off-by: Jiada Wang <jiada_wang@mentor.com> Signed-off-by: Harish Jenny K N <harish_kandiga@mentor.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/rcar3.h')
0 files changed, 0 insertions, 0 deletions