On Wed, Nov 20, 2019 at 08:16:27PM +0100, Ján Tomko wrote:
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
scripts/check-aclrules.py | 2 +-
scripts/check-driverimpls.py | 2 +-
scripts/check-symfile.py | 6 +++---
scripts/dtrace2systemtap.py | 4 ++--
scripts/genpolkit.py | 4 ++--
scripts/gensystemtap.py | 2 +-
6 files changed, 10 insertions(+), 10 deletions(-)
With the following squashed in:
diff --git a/scripts/dtrace2systemtap.py b/scripts/dtrace2systemtap.py
index cf4d8e1a79..d6bf1f8d1f 100755
--- a/scripts/dtrace2systemtap.py
+++ b/scripts/dtrace2systemtap.py
@@ -126,7 +126,7 @@ for file in filelist:
for idx in range(len(argbits)):
arg = argbits[idx]
isstr = False
- if arg.find("char *") != -1:
+ if 'char *' in arg:
isstr = True
m = re.search(r'''^.*\s\*?(\S+)$''', arg)
Reviewed-by: Erik Skultety <eskultet(a)redhat.com>