aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-03-23 14:03:32 +0100
committerDavid S. Miller <davem@davemloft.net>2021-03-24 15:16:09 -0700
commit4adec7f81df8e4fbf55f9d5ca98afa39f15b050f (patch)
tree63d515f89bec673f2ed9917820e966f32b05da45 /tools/perf/scripts/python/export-to-sqlite.py
parentocteontx2: fix -Wnonnull warning (diff)
rhashtable: avoid -Wrestrict warning on overlapping sprintf output
sprintf() is declared with a restrict keyword to not allow input and output to point to the same buffer: lib/test_rhashtable.c: In function 'print_ht': lib/test_rhashtable.c:504:4: error: 'sprintf' argument 3 overlaps destination object 'buff' [-Werror=restrict] 504 | sprintf(buff, "%s\nbucket[%d] -> ", buff, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/test_rhashtable.c:489:7: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 489 | char buff[512] = ""; | ^~~~ Rework this function to remember the last offset instead to avoid the warning. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
m Priestley1-11/+0 2013-08-19staging: vt6656: desc.h remove typedef SRrvTime_ab to new structure.Malcolm Priestley1-8/+0 2013-08-19staging: vt6656: desc.h: Move typedef struct tagSRrvTime_gCTS to new structure in rxtx.hMalcolm Priestley1-10/+0 2013-08-19staging: vt6656: desc.h: Move typedef tagSRrvTime_gRTS to new structure in rxtx.hMalcolm Priestley1-12/+0 2013-08-15staging: vt6656: desc.h Move typedef struct tagSCTS* to new structures in rxtx.hMalcolm Priestley1-32/+0 2013-08-15staging: vt6656: desc.h Remove typedef struct tagSRTS_* to new strutures in rxtx.hMalcolm Priestley1-66/+0 2013-08-12staging: vt6656: desc.h remove typedef struct tagSCTSDataMalcolm Priestley1-10/+4 2013-08-12staging: vt6656: desc.h remove typedef struct tagSRTSDataMalcolm Priestley1-14/+5 2013-03-11staging: vt6656: removed no longer useful ttype.h fileAndres More1-1/+1 2013-03-11staging: vt6656: replaced custom WORD definition with u16Andres More1-80/+80 2013-03-11staging: vt6656: replaced custom BYTE definition with u8Andres More1-34/+34 2013-02-03staging: vt6656: fixed C99 // commentsAndres More1-90/+93 2012-11-13staging: vt6656: 64bit fixes: desh.h fix size. replace DWORD with u32.Malcolm Priestley1-14/+14 2012-07-09staging: vt6656: desc.h: Remove commented macros and useless commentsMarcos Paulo de Souza1-19/+0 2010-06-18Staging: vt6656: code cleanup, resolved checkpatch findings in headersAndres More1-43/+36 2010-05-11Staging: vt6656: code cleanup, fixed comments style at the end of headersAndres More1-5/+1 2010-05-11Staging: vt6656: incorporated ETH_ALEN macro instead of custom oneAndres More1-3/+3 2009-09-15Staging: vt665x: Clean up include files, Part 1Jim Lieb1-10/+0 2009-09-15Staging: vt665x: Typedef and macro cleanup Part 1Jim Lieb1-37/+37 2009-09-15Staging: Add pristine upstream vt6656 driver sources to drivers/staging/vt6656.Forest Bond1-0/+453