aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2020-04-14 20:02:07 -0300
committerDavid S. Miller <[email protected]>2020-04-15 12:33:29 -0700
commit7dba92037baf3fa00b4880a31fd532542264994c (patch)
treebb8dda947f92717171d9ad0c1ff7960c369384ad /tools/perf/scripts/python/bin/export-to-postgresql-report
parent87b0f983f66f23762921129fd35966eddc3f2dae (diff)
net/rds: Use ERR_PTR for rds_message_alloc_sgs()
Returning the error code via a 'int *ret' when the function returns a pointer is very un-kernely and causes gcc 10's static analysis to choke: net/rds/message.c: In function ‘rds_message_map_pages’: net/rds/message.c:358:10: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized] 358 | return ERR_PTR(ret); Use a typical ERR_PTR return instead. Signed-off-by: Jason Gunthorpe <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions