aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorToshi Kani <[email protected]>2016-08-16 13:08:40 -0600
committerDan Williams <[email protected]>2016-09-01 18:20:39 -0700
commitaee6598748335794dc25d7c4f16f0d4801f6b584 (patch)
tree0fcbceaa2e2776249cb9bf36a64bb8e51cf0ed11 /net/unix/sysctl_net_unix.c
parentae551e9ca289762c63a6a139872a63dd66183209 (diff)
libnvdimm: Fix nvdimm_probe error on NVDIMM-N
'ndctl list --buses --dimms' does not list any NVDIMM-Ns since they are considered as idle. ndctl checks if any driver is attached to nmem device. nvdimm_probe() always fails in nvdimm_init_nsarea() since NVDIMM-Ns do not implement optinal ND_CMD_GET_CONFIG_DATA command. Change nvdimm_probe() to accept the case that the CONFIG_DATA command is not implemented for NVDIMM-Ns. The driver attaches without ndd, which keeps it no-op to the device. Reported-by: Brian Boylston <[email protected]> Signed-off-by: Toshi Kani <[email protected]> Cc: Dan Williams <[email protected]> Tested-by: Johannes Thumshirn <[email protected]> Acked-by: Johannes Thumshirn <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions