aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-04-11 10:57:57 +0800
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-04-29 08:56:41 +0200
commit7b4b199459f31541141c4510e542bd4533a60585 (patch)
tree76068d82b6e888b8ff7623d058d2b7f647f4e27f /tools/perf/scripts/python/export-to-postgresql.py
parentmtd: rawnand: sunxi: Remove support for GPIO-based Ready/Busy polling (diff)
downloadwireguard-linux-7b4b199459f31541141c4510e542bd4533a60585.tar.xz
wireguard-linux-7b4b199459f31541141c4510e542bd4533a60585.zip
mtd: rawnand: diskonchip: Replace mdelay with usleep_range in doc_probe
doc_probe() is never called in atomic context. doc_probe() is only called by init_nanddoc(), which is only set as a parameter of module_init(). This function is not called in atomic context. Despite never getting called from atomic context, doc_probe() calls mdelay() to busily wait. This is not necessary and can be replaced with usleep_range() to avoid busy waiting. This is found by a static analysis tool named DCNS written by myself. And I also manually check it. Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions