summaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2019-03-20 16:57:54 +0100
committerMika Westerberg <mika.westerberg@linux.intel.com>2019-03-22 11:23:31 +0100
commit2cc12751cf464a722ff57b54d17d30c84553f9c0 (patch)
tree9a72d0caf356d9f6ebc7a32f57d752fd631e2699 /drivers/nfc
parentthunderbolt: Fix a missing check of kmemdup (diff)
downloadlinux-2cc12751cf464a722ff57b54d17d30c84553f9c0.tar.xz
linux-2cc12751cf464a722ff57b54d17d30c84553f9c0.zip
thunderbolt: Fix to check for kmemdup failure
Memory allocated via kmemdup might fail and return a NULL pointer. This patch adds a check on the return value of kmemdup and passes the error upstream. Signed-off-by: Aditya Pakki <pakki001@umn.edu> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions