aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMd Haris Iqbal <[email protected]>2020-09-07 15:52:16 +0530
committerJason Gunthorpe <[email protected]>2020-09-09 13:28:14 -0300
commit39c2d639ca183a400ba3259fa0825714cbb09c53 (patch)
treecb79db5399343e6f58b8ebd86213f795dcbc106a /tools/perf/scripts/python/export-to-postgresql.py
parent9e712446a80bba9ede824ff00f2af630ed9ac0be (diff)
RDMA/rtrs-srv: Set .release function for rtrs srv device during device init
The device .release function was not being set during the device initialization. This was leading to the below warning, in error cases when put_srv was called before device_add was called. Warning: Device '(null)' does not have a release() function, it is broken and must be fixed. See Documentation/kobject.txt. So, set the device .release function during device initialization in the __alloc_srv() function. Fixes: baa5b28b7a47 ("RDMA/rtrs-srv: Replace device_register with device_initialize and device_add") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Md Haris Iqbal <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Acked-by: Jack Wang <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions