summaryrefslogtreecommitdiff
path: root/lib/bcd.c
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2015-07-13 15:07:11 +0300
committerJon Mason <jdmason@kudzu.us>2015-08-09 23:32:22 +0300
commit260bee9451b4f0f5f9845c5b3024f0bfb8de8f22 (patch)
treedba4fe246963f2d57fa4b80d4b06325f3dea013c /lib/bcd.c
parentda4eb27a2c2efd034bdd645650114b82c479329c (diff)
downloadlinux-260bee9451b4f0f5f9845c5b3024f0bfb8de8f22.tar.xz
NTB: Fix oops in debugfs when transport is half-up
When the remote side is not up, we do not have all the context for the transport, and that causes NULL ptr access. Have the debugfs reads check to see if transport is up before we make access. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'lib/bcd.c')
0 files changed, 0 insertions, 0 deletions