From nobody Thu Oct 9 02:13:00 2025 Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76630241116 for ; Fri, 20 Jun 2025 23:01:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460518; cv=none; b=HXMtIUcMSpO9uruZN6aoOAgp2CQfopR4u+I6zXxWJvJpnANJxK/bHek8fpoNNix6EIV067IMSh4E2gWHseeVseA55IFXaaE9lNbk3xslW9+pNVAjdXkBcDQflhx+bEPtReN1/fPsVEvbrSZa2NF8FeAmACOFjgl1HuFclIARd10= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460518; c=relaxed/simple; bh=hZF2/K5LUC1X6Ro6SUAnPmnqhWHkrsl3oAupIaU8Ibc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Jy7XwYPtIEPYkZou/4ZgeAVx2zVHAHev3obb6p89mwbZErcsIzQwgSCXWK+O42Q1d3et1de0nL1t7lPO5kyYRVLG4wrOk/jO5fcddROYgt5lbPtngrSOKW+RyxnEBzW5CNbrxRXQAGo8MsyQmCTeUtu3ZVpn1rpBIdNqNWO3v2M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MXiXfseC; arc=none smtp.client-ip=209.85.219.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MXiXfseC" Received: by mail-yb1-f181.google.com with SMTP id 3f1490d57ef6-e7311e66a8eso2224990276.2 for ; Fri, 20 Jun 2025 16:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750460515; x=1751065315; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Wo2J4qkP1GaTlr0PKOfpFx/Fh4KIdWYU8BmTs1ZbZs0=; b=MXiXfseCGIQ6E9h5aK65cSeGNDs4b3E9VTEYeTC59zGxe3jmOSu02WHALWXn+bdIz1 cbX0Iq187J1kLtP1Jm3fplpLmhiED0EpYb5yrxFstSTmngefoZ1XufcxEH1awRgxMbGt hJAsIHXcgEhYIbRYpoLxvQov0O8dBlyRMaxmTCJmE3Jj1eIRHUQEOoSGspBECk+xMIfq lXsq0dKcK5FulCm5Hq36Od/XynJKfYECc26W5USfSYdi8KwlG3n7BknyzJPj7yeFtNB6 L1Lr6I/QzUHFFeR16K/ZDdgUIEaYZeum2872aavqP1+CT4EbKAkZLnUA4uY/txEJ8YBT fV2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750460515; x=1751065315; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Wo2J4qkP1GaTlr0PKOfpFx/Fh4KIdWYU8BmTs1ZbZs0=; b=xCAoTDT/JdMbGj26pgHppnmtnRgT50ZjoTZoNonewjcziKfQuOxzANVw1ixQK1q3Un RHQ2P/U7IwUcp9dBule37gLkZpM+20PHwKlhsQ016ct4hm0cLHyxKpSV/PgJ+HeDnON/ Pr470oa/Y2EdLyiLzfCn9kyEjBoSGKLzPI6Qnbg/cHCJ36hJYfCe6C//RmnN0S5c/ge3 H/g0KAfTtQpGBf4SLf3fj6TTb63MJs8UL1NzEKyiwAtmwGiz+hr3iS15JZ7nrOOzYqWw uftDPtdT2kfQFU1Q7vwQkTahPbufRzAkKCBIIrCyGL2CkRdOQJV6gEtL0L9UhZJmfBPx 6kUA== X-Forwarded-Encrypted: i=1; AJvYcCXS/HE//4NjmIqCh/Zv9hWOY38Y938mvrizYQ8z89eEwoJThsjKDxSjHQ1UfPvDMu+Olch7k93TinqdKSY=@vger.kernel.org X-Gm-Message-State: AOJu0Yyj3JR2scLiyuR4jEzz0Fg60DO184gYPwNZBXTVIMZgjtogb7Mz muNoCF8kuK4NArqUENIJ42CE4MYm1j9X6kF5om3u9oja/pdaVWmF2NBo8P4Tt0qT X-Gm-Gg: ASbGncvloTCX5/k9ojvWBFzeDuc3D1QM+NQieyhWEXH7XNbZK9dQErFa/RUw8QaYOjw bh3mvZLCvrJXAyzIxVf70SwOuJOERost/tKz5Mu3swE+LYSHCfyN9LiSTX0Z4CuHpckvd8vegCh I1rCJ1ZsgGUvmREMTRA8PQSskChrNQER26k0GQu6abpdoDXOaXgp0aYKCM0unhdEMVQS+x5IcAB gUFFbSHK4t/QV9y6MJgPo5/rzmdIDvZmeg9pcApRv5zyTxAfgxt0jmoF/ukynBJe3PjJYgdgnoh MpWg8iu8Jxos8uYJU1P0p/Ipx8bV9T68IUW0tzK+ZX9O8QU+8PFzYY3R9Ql+fztcZhRgkjLfVx2 fyc82V+/01Hsl X-Google-Smtp-Source: AGHT+IF0TEeCkxpDfY5j2YO0G6N7o+6FuOVUXfs9uSl0UmsgqRFjr9EOr1Ys462MhWHZjCY+J0brVg== X-Received: by 2002:a05:6902:18c3:b0:e7e:fa65:8fd8 with SMTP id 3f1490d57ef6-e842bc88d84mr6273130276.17.1750460515297; Fri, 20 Jun 2025 16:01:55 -0700 (PDT) Received: from Slackware.localdomain ([191.96.150.102]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e842ac984b4sm893270276.48.2025.06.20.16.01.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jun 2025 16:01:54 -0700 (PDT) From: Bhaskar Chowdhury To: dan.carpenter@linaro.org Cc: Bhaskar Chowdhury , linux-kernel@vger.kernel.org Subject: [PATCH 1/9] Replace pipes with a binary for cpu core count Date: Sat, 21 Jun 2025 04:08:50 +0530 Message-ID: <919ba691212bbc1436ce1f54ad072caf73c13022.1750459100.git.unixbhaskar@gmail.com> X-Mailer: git-send-email 2.46.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Change the piped series with nproc binary,hopefully for better readability Signed-off-by: Bhaskar Chowdhury --- smatch_scripts/build_generic_data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smatch_scripts/build_generic_data.sh b/smatch_scripts/build_ge= neric_data.sh index b18ceff8320c..c88ad3fcfc0f 100755 --- a/smatch_scripts/build_generic_data.sh +++ b/smatch_scripts/build_generic_data.sh @@ -3,7 +3,7 @@ # This is a generic script to parse --info output. For the kernel, don't = use # this script, use build_kernel_data.sh instead. -NR_CPU=3D$(cat /proc/cpuinfo | grep ^processor | wc -l) +NR_CPU=3D$(nproc) SCRIPT_DIR=3D$(dirname $0) DATA_DIR=3Dsmatch_data PROJECT=3Dsmatch_generic -- 2.46.3 From nobody Thu Oct 9 02:13:00 2025 Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65FE9242927 for ; Fri, 20 Jun 2025 23:01:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460520; cv=none; b=ZM5bm01gTXgrGpfX3NjaXseJ+kZlFQNQnUYsRNfarycqwwvPHUPrROi8hnnrW7Zq6i8tS2IlyWkwG1eylnKf3rgwcvR6F5/xaKPbu62l4NEhUAmY4WC8UfpsZ2wKL0JC34ExMdAoz91NTO3JEnHRsjz3QDLWekRg7jsVY2+iYrA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460520; c=relaxed/simple; bh=1zDua3kfs+AWNrJS2QHWoGx4JHS3YgeHabYItBYVWXE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XJzplWWsxhkdUZIkIwdwKcFZ0bS+SVCDIM/dH4vP7Mi9gMZc6pUecD+XKeBYEETiuldpKdQWlKAjKXxtxdvyX4OYVgbFBmXJBM5NEOaiOjd4YbEnfZaeHVWLpP/5Cma2a2SvnCpxCUEDZ32wL1ihHnKUnZXdGngt+gUA7wUujSA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nON1KO5Y; arc=none smtp.client-ip=209.85.219.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nON1KO5Y" Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-e818a572828so1774419276.1 for ; Fri, 20 Jun 2025 16:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750460518; x=1751065318; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=d54D6hE532iClrbhRqB5gQBbclVOCF7XOr3ODdKOfkU=; b=nON1KO5YMuLGSn1JmqYhWY9c3R3tD5xmS0XxK5SicNUBVP6/2KfviKo2cbAql7Azhg 9zrQN766wxBYbua4N5QjEKU1icP2AIFr6QHi4G85Owno8+uFWciRYNOBkwIJvWQ/VcXV bRqMsRy35vd8LgYzRo4Hgh6AWGndjn7M+N5pWA3fIWmBBS4cvkA9rcqF6bOzo18CFH43 HhdJVTl7x3PNEcamfVSE9ThO0vEj4v0SjqkDKElzJ3Z7pbC0RcDtsxEsmQOwJszkd4wz uitaZLdoQTNhzc7SgP0lQnAAa/7FgigCeR7A+Ws9Nl/WQV78aj+5IZU6WbPCUKcj5Klc RANg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750460518; x=1751065318; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d54D6hE532iClrbhRqB5gQBbclVOCF7XOr3ODdKOfkU=; b=Mr7ZFY6aT7V86gC7My+9Na3Pt8CZ6DwKGRv22ZjG2nrCoi3SHYWUnm1A/5YuU+oF/r VkYRq4h/oiQ7dnAjAShZXrBNW0j1LNisHKrSyiKg3EXxaTwKXzBGGepqMB9e8QC/ZLsA B9kFZKpB6n1HYkf1JeSUsWQ+Rw7Nsrt7HaeTVOfKMlzcAwluuPEDlq93fVdlJFCPlS3l K9O5Ko+P/rUyk6uQpIaYBSE1oXR1wgs6NUpjDFcZa87cysYJNJRval5c3DevnjffzVzu Rnlr33KAXx0/1Uk+9/g5g+hOMYAwNmJYon9ahOEm3S0yfFYUV/QfK/2dzONNAlZ9xdr5 wuPA== X-Forwarded-Encrypted: i=1; AJvYcCV1GWRm1l7VECsP6eziGl0bL/pyWds0IjhOH6Qi1O/mrTvB7BLx4GqagADXDZ4CajsWGJkER8si1mY29PI=@vger.kernel.org X-Gm-Message-State: AOJu0YwduXDCRlt7QWHQxEtpnwRhcTn8yslGrI9te/tnnc/hTDTr4ots Iyfb/1f/L9UdTCZKWDWbcEsRPILjNE8UMnPAv0/V9JtGdPlYf3l9jPG9 X-Gm-Gg: ASbGncvzKsFPVCBA3kt5fTzkWsDHVlycaGWuVqtA0GWs91wEW+BCX3Ie1AuPk077XLs yNHosIIFBLBBNkBMKem/g7QrvB9QenP4xTw2Eu2aKdp2P6BbBgbDckCgQxe0p2jw67rt3uG3KAd AjBe4ANVdNkvYhDyhZLh6Xl6N5oetjCMXXoduOmPQcSTHJfoZXz4qTRf7v5t2zRTFGP8KEFCtCf cxPxE/nZbdNlHDL6X5OFj06XSzQDLCe2xh2pS47LXRmQQefo1oECSeniBeQSycjg6jiKt0/mmhK wgb6nnRy9033FXeq6lt+SJjgyLIvZnK2SLwwQXgpGOqCs8XrF5kcP5T7UvwmhDt5JzQKXrjVIV7 DTQ== X-Google-Smtp-Source: AGHT+IEYnfAsarGvjhUKLVc06gyJ6C+12pvVnF47nOegJohz0xkXS9e+NgVaDChg/KSmyB9JBuTSfQ== X-Received: by 2002:a05:6902:200b:b0:e84:1bca:f21d with SMTP id 3f1490d57ef6-e842bcf2509mr6789860276.25.1750460518156; Fri, 20 Jun 2025 16:01:58 -0700 (PDT) Received: from Slackware.localdomain ([191.96.150.102]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e842ac984b4sm893270276.48.2025.06.20.16.01.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jun 2025 16:01:57 -0700 (PDT) From: Bhaskar Chowdhury To: dan.carpenter@linaro.org Cc: Bhaskar Chowdhury , linux-kernel@vger.kernel.org Subject: [PATCH 2/9] Looks nicer in usage output without the full path of the script Date: Sat, 21 Jun 2025 04:08:51 +0530 Message-ID: X-Mailer: git-send-email 2.46.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add basename to scriptname for the clean look of the output. Signed-off-by: Bhaskar Chowdhury --- smatch_scripts/build_kernel_data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smatch_scripts/build_kernel_data.sh b/smatch_scripts/build_ker= nel_data.sh index 87f1f0639c55..c338da6e43e4 100755 --- a/smatch_scripts/build_kernel_data.sh +++ b/smatch_scripts/build_kernel_data.sh @@ -6,7 +6,7 @@ PROJECT=3Dkernel function usage { echo - echo "Usage: $0" + echo "Usage: $(basename $0)" echo "Updates the smatch_data/ directory and builds the smatch databas= e" echo exit 1 -- 2.46.3 From nobody Thu Oct 9 02:13:00 2025 Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AC11246BC5 for ; Fri, 20 Jun 2025 23:02:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460534; cv=none; b=gFIWNs4RbJFbdzk2ZmepgaUtYE+FGB0IpGn7wakHSESVWoEHuFsXnQCOKAkY1+Ju+GypS7tIknutv60Ux+U+EP8me27BbTlRO5EXvnkjmr68FMXV0UVp/Y8S5oOZUAE059bsEM8BclpAr5q0u4nzZLrrZh4Bs2noMxj8EY6HNZQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460534; c=relaxed/simple; bh=XnkfGep55I541ApHJD2QZdhM5aWbZnlK1BM5kBi3CyY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=n84RXTJ+/quXEcgc3TbrelvcYiIiEljbu4Aw5ZG4/ihm6aTexBHs8g8lFoDWHwmVHY2LRG3nL6lcJ/Z2tFawc+YtfKOTtd3FB7uxIYq6AJJizYpGAvtyC4MLITZsXtpXEFEAlvJakxESRUtNCwvwJP0tv/5tfAMx0W4X3bcpvYs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=O0eW5L0/; arc=none smtp.client-ip=209.85.222.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="O0eW5L0/" Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-7d09a17d2f7so206233685a.1 for ; Fri, 20 Jun 2025 16:02:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750460532; x=1751065332; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6QuG91aj9FVspnq30Ro0SdZ3sAijtIfNiwe75Boh82w=; b=O0eW5L0/1NgWgJ7MfnjvPxaxFIo80HbzeMeuehLA2Zq3M8Ow9Xhgw/Jnq+pG7OMV7p 1RxMY5BxQKi3pnCjIZDMffGXb9Rr2cDyiIK/hqtG6FZ4+N+cUi/A4+A8qqg+URtMFkHr A0xUAMVJVbOwQsJ1ai3x49v2TKzg6n7p5P+M915b6dDqI1MXGm6kaH4Ghgf2xPosT1IH eaC1rpeM8RVUP0V9gGTa3/16D2bntw2ezZvaV4ON4ZgdO+1o7S5zhawfWu0PdSvugw1c IUrX4RtrMvFTdgJLQ3VaLP7aCi1bZY7yJ+j1a7bspbUDPL+AW+SPkbXW7mIrj7bkHe3a RPHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750460532; x=1751065332; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6QuG91aj9FVspnq30Ro0SdZ3sAijtIfNiwe75Boh82w=; b=IsByEaltvNjTRuNLwpc4VEp3zwV4/dlfBiw3BpJG8VoAdelj6cwxrXeOr62ggbTGEi GEy3+t4CubYm1eSrJg0vC4dib3I2MEtMgnQxjS/hZ3LQr4KOxjRikyjU3dbxlxGW/7yU unqDZxnqcADBFxhIrYIRwvdRPbaCgccLpmp0BC7xFYqMyi4qQw5Z5wJjLzXJo0WGGtXV xsfVGACut6HWxfgF1rcOwKmg3/a+RZrPQnIcz+N5kkIzZU5nwA49tll9YkANdL9h4XNP xVO/5P6wOfU8jCzK7aj4xqJlUl4xi7dXWcZWwmUzLeoO1JpoN2cSTIPu+3o+H+xaMcfh Q4cA== X-Forwarded-Encrypted: i=1; AJvYcCX5A3/62nk0/GUuaVAHu9D+oZV71JrFbf/2Xgtp92EBvyVqUVTpnu9BJ2I2ErvksGtOAgwa/F/9nCewzGM=@vger.kernel.org X-Gm-Message-State: AOJu0YyVW6bM7sYw93GRRcrkeGYhax+w3WP3/0I0iOINBydDR36oJt+H WzFYczhtfH0N8OyMZBghhrSy1Zqp/pmJz+kxvJ/lrk6b6TrM02mI4HWJItWIH9jf X-Gm-Gg: ASbGncvEdWGMw04msX5CvJmOK54fZUtk3hN2NnsYv5ROMYdaoMv6yRqJ0EgegfHWuJA Snnznww/S3Yf90K6TiaoEHt6mRL4eZk+FuEV3LibjZI2oJvbXpoZU8VhNIzN7TMehTBttmldfut 94epltJToU5R5bzYZzX7usr3Ccg+qqLZmaDWd79KAaNfFPVjhmJVXE+ClvHKJ8A2U7FBdZr/DN4 Lb0adbUed42oqhPN/msytKgcGssuSMtCzzJ7bU39mxAzqxSXS2N2auTQWP8Z6c6prQouGd6fdU3 rT3z44rueQCi+pHqzpNfEJKBI1JWtxxIvTLkR0VPo6oAozKcJe1Zz2xlrfslF6szEOBa4vtRNnD DSA== X-Google-Smtp-Source: AGHT+IGNj3h+Rpu5SikVNW6ff7BWM+PCiJO4+wXZXfuc9+jR2gtExRzEx3jNWUJZg4Y3tr/pE5qFMw== X-Received: by 2002:a05:6902:2388:b0:e84:2a27:f30f with SMTP id 3f1490d57ef6-e842bb4bab9mr5748413276.0.1750460521069; Fri, 20 Jun 2025 16:02:01 -0700 (PDT) Received: from Slackware.localdomain ([191.96.150.102]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e842ac984b4sm893270276.48.2025.06.20.16.01.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jun 2025 16:02:00 -0700 (PDT) From: Bhaskar Chowdhury To: dan.carpenter@linaro.org Cc: Bhaskar Chowdhury , linux-kernel@vger.kernel.org Subject: [PATCH 3/9] Eliminate the full path to the script in usage output Date: Sat, 21 Jun 2025 04:08:52 +0530 Message-ID: <88fe1267b23608c27ba4e6dbe69c12a49dab4290.1750459100.git.unixbhaskar@gmail.com> X-Mailer: git-send-email 2.46.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Clean to the usage outputted text without full path of the script Signed-off-by: Bhaskar Chowdhury --- smatch_scripts/filter_kernel_deref_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smatch_scripts/filter_kernel_deref_check.sh b/smatch_scripts/f= ilter_kernel_deref_check.sh index c70d7994ead9..88071a464c45 100755 --- a/smatch_scripts/filter_kernel_deref_check.sh +++ b/smatch_scripts/filter_kernel_deref_check.sh @@ -2,7 +2,7 @@ file=3D$1 if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 " + echo "Usage: $(basename $0) " exit 1 fi -- 2.46.3 From nobody Thu Oct 9 02:13:00 2025 Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com [209.85.219.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BA6402405F9 for ; Fri, 20 Jun 2025 23:02:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460526; cv=none; b=F9TiRTB8R7xzLLmZsk+AM9wSxCzWx5IwOWlmndR3QmT23pPpihMliQQkJv/FvoPcyy6+6cOE6mUpk5mU0niT2fn50PhSB7FXud1xQWVr3nU37z2SShTvt9XIxQV4tIZKacz5wkgjnuA5jzp739IssayNufZ8imnxk6qdp7Q9ALI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460526; c=relaxed/simple; bh=ZmhCAfFsbP8HzjXLpfEsaIh15zCG/QnRjgaSxbnOxz4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TMe1ZEXHCF5aQ/Ll9nUhRFmMdivflHBr3F1P7WZElyGlvdrQU567OPu+mGdPx7pGKD33AlIdnsNT96D6DbKOW0VWqL8LNyHlqsEiFvF7fDu66EsBq2DqPoVRzTTvhcj+vofcdI9A/nOLxxgFIinBdAXeUtQnHIck1ZItljccA+0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dIOc1g/N; arc=none smtp.client-ip=209.85.219.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dIOc1g/N" Received: by mail-yb1-f172.google.com with SMTP id 3f1490d57ef6-e8259b783f6so2079200276.3 for ; Fri, 20 Jun 2025 16:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750460524; x=1751065324; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=d/1QIWRbzRKxzNSeHg/2eVD4jkQvQIPlD9+yolNy+D8=; b=dIOc1g/NFvMgbDEPaR5MtIOI6opOkGxhheG8i55IHrBFY+BwZFQEguDnITD+f7ZssL zWpLIqv9CpN+YeytPLACJL6jjf55Do+C4BNTSrasHTopmNUyXr1zMFnuzFtx/Km4PlyJ bovSV9K9vYEiqGMC08ErZLDKiMzZ2kTv0mdsgEtX1iKdRuHz5puTsJOcom63gQbLEQlc XMlkTm8gDUHvodHl72jyY63rXmtvma6SwJtj+2cYXG4uHomT6cpvKMha+Kvi/93y+TE+ qBM8MwkY66lZVOYs7F4UPw+TD96WcZ1EafGbGLXPkcxQvmHYZ4qiqLAV7XD2zgTSl61n YBPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750460524; x=1751065324; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d/1QIWRbzRKxzNSeHg/2eVD4jkQvQIPlD9+yolNy+D8=; b=sEzR9zLqEiU6uWDYp7dmp4Ss5KvyweHa+LvdE+S5bWGKT9RExIyTXAyHAK/BxV44ix 4Xfp50m1TX/46hOEY2g+mLKTdFOzBTP9ADNxWhHlDtV82u4CkqVfhlAneQG+43dknG9j SSxGINv+OWrJnRwA6VOtFfrWm8fch6uS0H9/QG/hfwqvErlsPL9bzDHxkullmqGA6izT W3/IjLvd1bV/BowvfR4zTBHulN1BMvyIk2G7sQiZF2krjCi2h/4SMKvgXlc3hkwQU5D0 Nzv+aNZKo0IC6y0jOArqhfcljVs3Q+JTl5U2vs86q8yXMCMe2nIhWiosfE3+XZPQ20jB 6GJw== X-Forwarded-Encrypted: i=1; AJvYcCXsDDuwem7G5FXNS/EQcC37OaqXTnTyQwAzMbMX+kBLcRG2DluswLsHtcw61lYEUKCTXMuQadHXwgIihCE=@vger.kernel.org X-Gm-Message-State: AOJu0YxXJNjNE495Z2TRHLaUaK8jsj4U/G7kd5/9Dp37fHG5eMPAbISO KDA47BLXLg3ePSElDAxQyWowx0tUthvyFw8sy7lMNg14f4IyQx4WVNJxgYmBln59 X-Gm-Gg: ASbGncsiCqz1OfEBOUmgLDU3gExfTxS03kzxDExyZIlK7q3F1LWav1SGisyjVQ8t9D1 MD8StG1f1PFkqYCSoBn72w2DhzpYtheZkrflFk2NzwGYMVBl+nbDiwMguGlAXpuOGlXk0O1xX+p y4UEHz1DrM36WcYoIHrlA4FN/N9FYVN3+R8zDBiUvFvqDNcKo6qS8BzS75J5q2Q9SXmdLrPTC9j vuihaAvfAUyd774nnYFHAnN9LhBhznLcbQBHAXVX8jOHpzb1WHhZPvtFA0MAY7TiBwJ9ftrjuyw NuJCZP9ZFrgWTzSPSQt1KMWxDZqOCokwjn/Su+4EgyxNnp+LlmrKl9+/yJfu6JIhhyqcPN5XoKT UXw== X-Google-Smtp-Source: AGHT+IGX4IufRywQjEM7JFniXjofJ8cQ0neKxCM0222lvjekXAFNwhnvngUj9sfvXYaAfrKauKeUfw== X-Received: by 2002:a05:6902:2743:b0:e82:65d2:5120 with SMTP id 3f1490d57ef6-e842bcf3610mr6063904276.27.1750460523581; Fri, 20 Jun 2025 16:02:03 -0700 (PDT) Received: from Slackware.localdomain ([191.96.150.102]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e842ac984b4sm893270276.48.2025.06.20.16.02.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jun 2025 16:02:03 -0700 (PDT) From: Bhaskar Chowdhury To: dan.carpenter@linaro.org Cc: Bhaskar Chowdhury , linux-kernel@vger.kernel.org Subject: [PATCH 4/9] Doing it for the consistency in the tree,eliminating the full path to the script Date: Sat, 21 Jun 2025 04:08:53 +0530 Message-ID: <4ac24fc6d88cc4cc11ac6a4590562d23882deba6.1750459100.git.unixbhaskar@gmail.com> X-Mailer: git-send-email 2.46.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Just try to making things consistent across the tree by eliminating full pa= th to the script. Signed-off-by: Bhaskar Chowdhury --- smatch_scripts/find_null_params.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smatch_scripts/find_null_params.sh b/smatch_scripts/find_null_= params.sh index 9e39146d2d40..a78eb7623fb4 100755 --- a/smatch_scripts/find_null_params.sh +++ b/smatch_scripts/find_null_params.sh @@ -3,7 +3,7 @@ file=3D$1 if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 " + echo "Usage: $(basename $0) " exit 1 fi @@ -13,7 +13,7 @@ cat null_calls.txt unchecked | sort | uniq -d > null_para= ms.txt IFS=3D" " for i in $(cat null_params.txt) ; do - grep "$i" $file | grep -w undefined + grep "$i" $file | grep -w undefined done -- 2.46.3 From nobody Thu Oct 9 02:13:00 2025 Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EFB20243969 for ; Fri, 20 Jun 2025 23:02:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460528; cv=none; b=omhijvJu9Ud9B6rTFKrcseUF3rHoOwwZO+QC0/RwjqGvIO6p0Cg94XbEDQCKE7btMQZ/Ke2BFIUtCA0Ib62n6TKpWrA/7CAsA8AfE7sN89+XoXe/VOUry4oDD55IpYkCeE/xtvG9H4r7WglAVaN1QR3jLC4EP5HkCXvzGJPa/tg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460528; c=relaxed/simple; bh=VU5ve1vXDz4vEnUoQ5DThRrS+FaqftBC7adiCxqhfEg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Bpnzwyz0axwmdhIrjFpbOTSPR82EGvd8VmNf+IfRIKSDXF7sUgvfA4VS6reFad5YN96o+Lr84HM3jn4TvDNPDpOrvA6hUyanjeYhc8gbJ1j5B2pM/zMcm/W690Wb/Q2Aho2sVig1S28OPHAtlRwMwssg+OPpviJV5g27exB1RYw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=W1s9XFGJ; arc=none smtp.client-ip=209.85.219.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="W1s9XFGJ" Received: by mail-yb1-f176.google.com with SMTP id 3f1490d57ef6-e7dc89108bfso1911106276.3 for ; Fri, 20 Jun 2025 16:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750460526; x=1751065326; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=de4qQV+4u4zXoiMEHXM5DE6gp65EZeEI+U6dIaYnNb8=; b=W1s9XFGJiwTvNvIeVlhwKgfvLd1LsEIfhsZxtmbFuBrUV9pWv+BQD0VRY8/tJz8L8j 7ciuVkH2h+YsU0Mi3FF6+9cdyDDXak2mCTmMr+QyEkm2SX7aZc7dtV8Kr0OYpGnBxgIq HW025U+ZnrW1VKkguhqJrQIdPvUYLLJWbaN6MfKXYi4xMC0KMKmRNiQdnyqHHUtBfykg o8LZXqDIOwg312l4+fdj0r30R6K4XwXMBdnOLbpKWHQlN6rQycHBGN8aNR5snhAwNekq pENGszDVixCeBncRqpKxRk0uD0g8mLOjI51SuN//K4u3KNE0uBu0vgd4kJgIUm7xizjU Xcug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750460526; x=1751065326; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=de4qQV+4u4zXoiMEHXM5DE6gp65EZeEI+U6dIaYnNb8=; b=wkZ4mInSkkhRGvQCuwAkg5RmEm4P8Tx92f4w1JsyFWfPZf1vA49gGyGF3Pu0Te8gEb uvQuZWChTVrN0QhPLm/jxPlQZ1MlfQVtpHNiW9Pz+an3g3TbNIvuOPOn3rnFeDNiR+9y FJF2aln4rEL2tFHpfuB3dAJg6nLChu9S8CbhUfEJL4oke5OMv2HQRtaP5GIJkG4j7nX8 iP1sY8kZQfsth00aiIn0OO6x3UYCvIiXaGdeVVTcLM9Kj6NnYgQ7kI7YS22+ZJkHVaQc 9N66WDwgvRkHASfAUrUHwAl+X0wtosy5V7QRsFDH+uadT1qkOT7nnB0O3HnQS7IHi1Nu Lj+A== X-Forwarded-Encrypted: i=1; AJvYcCUdUGtbHUZPJsq99t9vHqYqUsV0hsNEYmr1XlJLrxVagPEpTxgbRwPl4Exeq8X27bBGC3gT770R0BjF8J0=@vger.kernel.org X-Gm-Message-State: AOJu0Yx4NCji935pvQZKWLFN6iuDJMrf2b/2dLNlU+1cSB92AO3qT5Nh cadaNc6nVa80hqudx2Jme6HaAWEtKTQoGHyNlYN+KK3AC4WfRhtdYXTM X-Gm-Gg: ASbGncvMndsTKPJpyZTYZJU0xqfWBwoUOUM4qS9ZxLSLtUol3oHZ0UxHfpySqZgQt4y JOQVGSZIR1qtIpa0wmPF1TOJ0TsZMOn48eT4FN/aqqLlPzSn+ca21Apu2hxOCjtz/Xi/MxzIY/j yIQQRNN7RZO4fkj6PNcI4t0RgOcQLfh5hTsCQcczYTvR9oltrgNLgBEfHPplSWAwi/0FvwDoRfy 9BdF3vjgPdtuAFBvDPKcY0HCrdqxNanW8fVP2qW76cWNMPa/d3BzmFIplILr1s2tKWPgUbW+W2t /ZOt/ic9IbO02yvisGXS4bssXUshQ/Svt9XEnIkazxWSUsGwQ6x6CF8iD+byVN6qGwr3nIh5/xX vMw== X-Google-Smtp-Source: AGHT+IHvoccqPD3JKtr4PnNECJV+A2rPWgNXNHrGRlM+Ylg2iEUiB7MSphrjBWo/D2hxkIsdY1VY4w== X-Received: by 2002:a05:6902:161b:b0:e81:b0ae:43c0 with SMTP id 3f1490d57ef6-e842bd03228mr6848828276.27.1750460525894; Fri, 20 Jun 2025 16:02:05 -0700 (PDT) Received: from Slackware.localdomain ([191.96.150.102]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e842ac984b4sm893270276.48.2025.06.20.16.02.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jun 2025 16:02:05 -0700 (PDT) From: Bhaskar Chowdhury To: dan.carpenter@linaro.org Cc: Bhaskar Chowdhury , linux-kernel@vger.kernel.org Subject: [PATCH 5/9] Again, for the consistency, eliminate full path to the script Date: Sat, 21 Jun 2025 04:08:54 +0530 Message-ID: X-Mailer: git-send-email 2.46.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Just for the cleanliness. Signed-off-by: Bhaskar Chowdhury --- smatch_scripts/gen_allocation_list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smatch_scripts/gen_allocation_list.sh b/smatch_scripts/gen_all= ocation_list.sh index 20175624bd64..3dac0bc0b0a8 100755 --- a/smatch_scripts/gen_allocation_list.sh +++ b/smatch_scripts/gen_allocation_list.sh @@ -4,7 +4,7 @@ file=3D$1 project=3D$(echo "$2" | cut -d =3D -f 2) if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 -p=3D" + echo "Usage: $(basename $0) -p=3D" exit 1 fi -- 2.46.3 From nobody Thu Oct 9 02:13:00 2025 Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCFC224635E for ; Fri, 20 Jun 2025 23:02:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460532; cv=none; b=aCdMIQrOHIQZ5BeVTnVQGjyDAcmrq2rbpJaJSgXLZ5ekbbOh9PHjOw1b3Ybw9FcLFzwHpIq+MjzjzjM+jFTpAuPeR/fQRySeK8/ORSSVsir6K961045dixFSZ1NB7vHsFvjk8B0WrdkbDNwvnZkt6fpkryfD3k87wV16/kNnLvU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460532; c=relaxed/simple; bh=ctRqnhUwQjPPmpLTJUICJ9v8xhclEmGaCkW+nnKiT34=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FYH9g1uH8geqKXgHuJmd4FLcQu8/S6gGRpYktPkfgKQlZQBYEggQ8Htio0WOTuyEwqbKnH/ULNCPQDbG46CgIgsMv/jltBfwanqZ8B5wTRIzewPt0qZ7aq/ANdRsJqo2UQenbGp15uOOWE8MUdMlAM4Pc++ALmCNaDho71N4vSk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=SXvMoRFe; arc=none smtp.client-ip=209.85.219.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SXvMoRFe" Received: by mail-yb1-f173.google.com with SMTP id 3f1490d57ef6-e81cf6103a6so2202548276.3 for ; Fri, 20 Jun 2025 16:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750460530; x=1751065330; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4vTy6hl1Htn9gwcL8f9Q8LxgadhkXDRzvlPdizUXFDA=; b=SXvMoRFeAp0NNwQcLQ+xSLGjkfIlbQRDVl3i197spAuk23FEY4lSne02LrGP+7J8wz Ug8jjRC4+tE8FPw1uB1MDLNs8vnQ52DfLl+AVkCKf6V2mgAMlM1fYoWhu2wpIoJuiiYY uOWcQzULqsFk5Pqy6JsiEFAoH7JmFzaX2HF4H4W4W9StoH8LfYFajUEIm/FoEglNgQRM RLORQDrbr46JqWNlmDsFkAgh1yE7xgB9Sjs+dCIVLSIEahwgpz1Ydkp5sxnNh9l3w6+X wgLKnNbTdtvVOPkzza6Eri7FCgL4sYsO4zF1DX85JzRtUjG5KBLHZa2JW1KuPx9u0MQe u76A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750460530; x=1751065330; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4vTy6hl1Htn9gwcL8f9Q8LxgadhkXDRzvlPdizUXFDA=; b=gq///79h8wCbdZcrKabgjlBoA7sgBkxVY2vwsBA6WCDLhqtaljRedPsj0sSOrr4PZs oPYr+gMMb2TQ+3pTFHe1eAqMGfmgt9AUubBTvqHBY4YIUY+kyNutHW9Gycx/r6rlfRw0 a+nXenPR6G5cQf27HyTZFMai1s8GbrtZiBQz8gBmMiYWm3ZtGJcPuEn557y7K7svbyhY l/yU/+e+OVsf+tLRxnMHZHvZhvXfr5qO4veOSMrPST0S634uYYjviApFgL8Nr2ONlYCh RzExFjK7gZV3GtliO8NXu4TfZRVnwx2GdCPmmAgfJeXMa9B306HDVVKVxpxwJgSvQ1bw 3KOw== X-Forwarded-Encrypted: i=1; AJvYcCXX2I8RCoiSegkhf60C36z3yV0SoTwUM2lpmfgCVrgQ9pI9QKZrmEpN6zRvRbRM0aAmlhZfX5bY1LeLFoc=@vger.kernel.org X-Gm-Message-State: AOJu0YzS/mi4xJDEIxA42WG45tAfUORUsvJCaaXZzKaxvVXgxp8Kpf03 1HFajphjBxRqZZXoS5dPagjF3sqUuLByeMCRHs75k/qPvhWrCZQhqjPG X-Gm-Gg: ASbGncv2IaQRXgIyQutDsEKx5z1NTvFKetIlTDyN+ukg63ow1rwTecrkkNK0qXbwxYC dPruzLjCrOk5dps3tsCraRdNU5m7MYu2XsxNA/CfYqQhvgKRoCn+rYVZ5IhHKgYXQC+oCa6Xh7f g6FOhAdX5PQZJPdQ40MuACtSPLeyNTAfnX0dkoJuOxFE9vIRIgtGLrhnRoabjneDCbP1Ui1PVDb VV1t6pWr1MeI2jkNxd6j7iXJycZtr2FK4gqvAG965QblU7OrDwh5P+OKdayWpdDLgQhnneETVx6 GUGlvsAECFL7E0MHKq6sY+OTmNxX2GLL1dv+laxQOqDyUVRjSNPNxYzN5/dFHCORGL8t4J/2pG/ uDnDmvHUwaaOZ X-Google-Smtp-Source: AGHT+IFuG15FkXuCGVi0wMLzlkNfhtvgOLDQeSIZoj0U5Sby33079WKOjEpnECvjD1pntkhtRwnIjw== X-Received: by 2002:a05:6902:1509:b0:e81:9aa9:88cd with SMTP id 3f1490d57ef6-e842bc6e2ccmr5707994276.8.1750460529622; Fri, 20 Jun 2025 16:02:09 -0700 (PDT) Received: from Slackware.localdomain ([191.96.150.102]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e842ac984b4sm893270276.48.2025.06.20.16.02.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jun 2025 16:02:08 -0700 (PDT) From: Bhaskar Chowdhury To: dan.carpenter@linaro.org Cc: Bhaskar Chowdhury , linux-kernel@vger.kernel.org Subject: [PATCH 6/9] Trivial fixup to take away the full path of the script Date: Sat, 21 Jun 2025 04:08:55 +0530 Message-ID: X-Mailer: git-send-email 2.46.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Just for the cleanliness.Full path to the script removed. Signed-off-by: Bhaskar Chowdhury --- smatch_scripts/gen_bit_shifters.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smatch_scripts/gen_bit_shifters.sh b/smatch_scripts/gen_bit_sh= ifters.sh index 98fa30ca205b..53300345a3e0 100755 --- a/smatch_scripts/gen_bit_shifters.sh +++ b/smatch_scripts/gen_bit_shifters.sh @@ -4,7 +4,7 @@ file=3D$1 project=3D$(echo "$2" | cut -d =3D -f 2) if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 -p=3D" + echo "Usage: $(basename $0) -p=3D" exit 1 fi -- 2.46.3 From nobody Thu Oct 9 02:13:00 2025 Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com [209.85.219.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3ABAF246BBA for ; Fri, 20 Jun 2025 23:02:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460534; cv=none; b=sD0iCG5rSji4dcIM9914ezXdllQIu5+ep8XcBDZwC3deNTXDS1Sr46882pnefrNFpusiZMaqtIxDxpn4j1ka4ppdbItSz1GiPuAour+FcdIwOpsqgxVeYjgbkJPqTrAVCZibcH+u9XY0I8GUSJ6xSjlUWpeP3AwJnKFhnTnav6s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460534; c=relaxed/simple; bh=1lvQKCp9n+oKaAXB121H8fPPhHQwfZZD/QhUPBYTciI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=aAlI5bB/6G8gPrny9daMvfaWGuU5WMc2wzPC1fWo7nZE4S9p3HFtkptvbzEeRBaTARa+QkzkvT81Q6AR776TvwDur/HNIBFwRp4Lz70IZ6fmaZWSMX67mWLoerN00z7Hxp8dfDGxsSaqw0q2V3Cc7YMkJZiPdV+RuFxHyH91Tmc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=PgnvNV/E; arc=none smtp.client-ip=209.85.219.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PgnvNV/E" Received: by mail-yb1-f170.google.com with SMTP id 3f1490d57ef6-e73e9e18556so2348873276.0 for ; Fri, 20 Jun 2025 16:02:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750460532; x=1751065332; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JS5x0lPmv/9YrJ9NWJaaoBaN+jFbkNMf5RYhq2FuHjY=; b=PgnvNV/EhCzMCcu//CHOhnAWSrtvfRdgTpk/ONftlod8G2fLRrlOqAqs8dMn9DZkJ1 3nOtnQgPRKjPpJ7gB8IhSUK6vJ3bcbXjmonbaDjb1nVot0VsgDOhA3U39x7cBb8rW8Gy nXjQr8Xzb/+fRUKEcoxwUEyQM1hXdeBanJmfo9bV4b8JHVDuk4ZOSVXX136bzzC65WCd p513J2mfuQxO4TwUTe9dMu9a5VT9Epu+HPjk78JNfAdiuUM8S+3FNud0qhikHwsXDUxb LwTzL2+Lmm2bY6CjkVxIVNvVagNEpz/BUEfQkgDZeVG7M9bD2jTgfJVgMziVpI01G7pu AScA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750460532; x=1751065332; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JS5x0lPmv/9YrJ9NWJaaoBaN+jFbkNMf5RYhq2FuHjY=; b=gRI6TFIJ6gBQRso/sJXtdKXLiNacboCWvxMC/nBYJt4QEu+a/j7yMScKcuZr9jbJKN 6V0KBKpCCUb80cyY7uVOb4dRjOLJbF8AJDJ2cnt/uiiy6i+ARPFc+PDy4dlbpDbAA2R5 MDAqgmdVEo5nMyivyQ7aI4pSCCVJkfe4ZknzmriqHkHGCRbc6gmBPaEn7u1bT0xuGGbd JKKwDK9ENGjkyDG3nvjzABsji9Fq0jlaXzLW1VfxH+7XXtD58jQ/wS/10Po74maVzeAF gokyTILERLduk3FOx1Q05LZEQr7w9N8s8ZHWab+dzrbgkcnxGuj3rncYOZ0CcgjrTxOL FqKw== X-Forwarded-Encrypted: i=1; AJvYcCX1d9dktdaey6GaPBY0eHYIUGUUVhWA/8/3SV9JE45oLAlAGyKfxG64qUdW9vlgz3Zvics4D00oASA7Bdg=@vger.kernel.org X-Gm-Message-State: AOJu0YyRk95083d8fPefOm9PkbsxCvdikBoNoMTSPcbid/dghkx+zicJ Qhmd90/fEzCMA8lWZD6REQ/UrbgZz/s7WG099+f7/CuCCyEkL/W2p/VF X-Gm-Gg: ASbGnctxYZmcC9lgYroBpDiK8KtnUYdGSRmna071K4jV/N0LV3Zgj5iikwEywLAWbxf 4QRtmB2Q7Udvwbv96dha7tE0d7OkodcAyWo5DB0+5c6VsXzUrWRON1Fhebop+xpfZwfy9LDomhU LeSEu/CFcGfRv5/W2ATmpBPD6Rg9LS+yLNVIHNEOzCHEz03KfRpozX7aQhulRLtE/wr/zJkpi8J /wYAxWY/aZ73cqT6C9tdWqQ2DS1oSWeLlvTPQWuBtzk4H6+/U3OtoJhxJxCECYhP7R8hUAw4OUA lbIsI7c7gaUEMZSclVLHCoPSZ2igW9fb+3QyIYYjQ8V5xlhHy58ZDcpnbeNgDDhb8quWC8bnDvq Adw== X-Google-Smtp-Source: AGHT+IHjvdkJUEaWAFgjCBfsfMl8s3mvhayhTVsi/j5UEW2Ir0aFNCt96betsTsHuHASHhOW617vPg== X-Received: by 2002:a05:6902:1547:b0:e84:3495:808b with SMTP id 3f1490d57ef6-e84349594c4mr3793213276.15.1750460531937; Fri, 20 Jun 2025 16:02:11 -0700 (PDT) Received: from Slackware.localdomain ([191.96.150.102]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e842ac984b4sm893270276.48.2025.06.20.16.02.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jun 2025 16:02:11 -0700 (PDT) From: Bhaskar Chowdhury To: dan.carpenter@linaro.org Cc: Bhaskar Chowdhury , linux-kernel@vger.kernel.org Subject: [PATCH 7/9] Took away the full path to the script Date: Sat, 21 Jun 2025 04:08:56 +0530 Message-ID: <36ceffe2dcf5490fb76e4995e8307ef08fc3ba27.1750459100.git.unixbhaskar@gmail.com> X-Mailer: git-send-email 2.46.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Eliminate full to the script. Signed-off-by: Bhaskar Chowdhury --- smatch_scripts/gen_dma_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smatch_scripts/gen_dma_funcs.sh b/smatch_scripts/gen_dma_funcs= .sh index 7346963b8529..1a3fc5f0d612 100755 --- a/smatch_scripts/gen_dma_funcs.sh +++ b/smatch_scripts/gen_dma_funcs.sh @@ -4,7 +4,7 @@ file=3D$1 project=3D$(echo "$2" | cut -d =3D -f 2) if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 -p=3D" + echo "Usage: $(basename $0) -p=3D" exit 1 fi -- 2.46.3 From nobody Thu Oct 9 02:13:00 2025 Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE38F2475CF for ; Fri, 20 Jun 2025 23:02:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460537; cv=none; b=YobWyGWDAEOY/+EGMaxxKD7s6IF3YdchEjerxBhBjz4enBXWt6ZCYjdtItjQ6yIJMWSD8ZjtYJOJAA/cuoRYx06H9kgWS1D6KHkNQTjoEbe5SNiYmZ6BVRdM0QqE1KFdGjkp6Qq7UyKDuglR9lIjaMi4yoO5zp03c4j0k4X5OII= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460537; c=relaxed/simple; bh=+4QAOhOKs2z7oraV6eBDU1rFC07YSDwir0q0MOueysk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XC0bmctV/9tm8SQnZJ5Ym7/x7KJRszS9nBHJ6MiSi2nFMdQrnB0jxfalC7jwc22hV3upWG9ja6VJKQA6fLc0504vvBJLE33SDyWypt1UQ+o+yx2s9F/BGxD58MNc+ua6Iolq8tVpD1cZWXQd4xcr3i0saMJ/ksP4h0y0xZWg2yk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=jv/9zFN6; arc=none smtp.client-ip=209.85.219.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jv/9zFN6" Received: by mail-yb1-f181.google.com with SMTP id 3f1490d57ef6-e81826d5b72so2275498276.3 for ; Fri, 20 Jun 2025 16:02:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750460535; x=1751065335; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Db/PBlmmdvlLRb0OpTrQ2lhYAsbpFgBOYRSGmdSJSFc=; b=jv/9zFN644TxSJ38ojRRDbmzIdvCJAcTZgKO3YbOf+qGlUhxvU85gI74E/ucxMHaFX 8XLSyEMpUGC/78UtWN/erP2BTQymxPbXhvfIteBDzmJviR4dAROVGEHhCbbspTom6+PS 6Uc2eLGS08CMIlLdS3Wxai0OCE5gKHTGZG/NQFELfmmnpp2EkW4YRhbTo/nXBExWe54M 0Rqe/NfZ8leD4sEUXMAP/YoISbq3I0xXuHsAeawHbi8Ziuk+xt9fxhXo9AvNyBI1YCzM QWuhoEDCqHLaogN8cN6RachUl0qi5RyQUoCU4+lccmR0FODXtx63Ck4oSTQTjOb3085L Hoow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750460535; x=1751065335; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Db/PBlmmdvlLRb0OpTrQ2lhYAsbpFgBOYRSGmdSJSFc=; b=O3dXrC1/DgrQP+zgZspl0tql3R0GTG4RQ5835RiIABpPk5rTbkFP7+aXtRD0YWf1t7 HpBX8MMQT0v5tuaXwMaZAMEKf6iRPmsxcp8gI5olOLqfsSy/7ydEg6nlTwb7p1gA4D5F T5MlqxxlKNfPQssbjtMVUA4stfGttAFryDTuNZ+cEsNu6mcAS9z694leI1xpvkC2rXN+ h0po5JANxZPYqtoHT0e6PnRqfQrWpw73061mO7VGolZwE0flQIovMkETf442/BkNyT4h L/LIuTBhvbcxEcO8F610AqiEyGpQnml/9sgp2tkWiSim48A/wshzEQqdB0IYbozcRHAP zAYw== X-Forwarded-Encrypted: i=1; AJvYcCUvtmjZi5/JugXkcrJzN4jUXMT5aU7SveTj15SFA4dZbxS03LvlpDQ4zcCawDp8uHd7PQNsFT7Y9FHcACU=@vger.kernel.org X-Gm-Message-State: AOJu0YwgIRaYgPB82i3tsknN8RmdU6bTofQGjA5xLDWXwRgBeV4w1PNn AvmNeXTIIpNe7v6aR+4edwyqUw1q53M5ekfJDIrUS5D8ek1fuszscyVR X-Gm-Gg: ASbGncvBzPFjTnJ671Zkv5h39E1ye+kvM6fduVxUn7i9FfOLxGTcY4trqa8poKxUEA2 /haXgn2OY2ZRqwZb1924lCPMUQ4PdYt22orpm1bf01s1gQBQCMq4e5gGNTXFu/4F7LfFkLl56je pXljXz4rZKBEpnD6b9YTV3+qfB/eY5OCyqzZze9/xYptPbdj1uXb5BBzLF+5uzsTpQ/1JwizbyB KpoWJ5oPuaVUvaBLIlBLsq+IPWak7Mess839VuJxueecykX7bAqJqUZeBSenWi6vwcgaLbj07u5 6jI0am1t74wlKY75A1hySze3TQprQ3YWnQzBKBop/fV8LD0ZnuYXprbBUZJNvp36jrj889FbG8s jwQ== X-Google-Smtp-Source: AGHT+IFfUdRyAKzd3krLdg3gt4t2ly61Edez5IEL/6WvTR//gcqM18VgUmR0T8XfbyhdJzT9KCn0jQ== X-Received: by 2002:a05:6902:2746:b0:e81:cab6:6db5 with SMTP id 3f1490d57ef6-e842bc6df3dmr5841712276.8.1750460534533; Fri, 20 Jun 2025 16:02:14 -0700 (PDT) Received: from Slackware.localdomain ([191.96.150.102]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e842ac984b4sm893270276.48.2025.06.20.16.02.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jun 2025 16:02:13 -0700 (PDT) From: Bhaskar Chowdhury To: dan.carpenter@linaro.org Cc: Bhaskar Chowdhury , linux-kernel@vger.kernel.org Subject: [PATCH 8/9] Usage shows without the full path to the script Date: Sat, 21 Jun 2025 04:08:57 +0530 Message-ID: <502715cbb8c9cf7843a3d140a1d8affb2b0a8679.1750459100.git.unixbhaskar@gmail.com> X-Mailer: git-send-email 2.46.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Eliminate full path to the script. Signed-off-by: Bhaskar Chowdhury --- smatch_scripts/gen_implicit_dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smatch_scripts/gen_implicit_dependencies.sh b/smatch_scripts/g= en_implicit_dependencies.sh index bb6217437507..d6e21bf63bd6 100755 --- a/smatch_scripts/gen_implicit_dependencies.sh +++ b/smatch_scripts/gen_implicit_dependencies.sh @@ -4,7 +4,7 @@ file=3D$1 project=3D$(echo "$2" | cut -d =3D -f 2) if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 -p=3D" + echo "Usage: $(basename $0) -p=3D" exit 1 fi -- 2.46.3 From nobody Thu Oct 9 02:13:00 2025 Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DECB4242D97 for ; Fri, 20 Jun 2025 23:02:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460540; cv=none; b=czh57slRp0nBuYRV19+6U4PY32dfQacSXUP3ORQ6x1Q0qvZxrBcOiANmISiUlkELATO5D5M7G37PqD89t1562o2E8+8YSqXhlFby4RTn3IeXJt6GNAN/P2BvXj8OF/+BZJ/IzaGWuiZyEswc6VD6TE9kPQVv1KptwzNOWmjv1v0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750460540; c=relaxed/simple; bh=Tbh8ry1lWJGYK/W7V9BgYWpNKiajyQhbqRdEU96TOGA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FdfKFbOr50psRfD/RSnZfOefoUi7rByZp1dU0XQBgAxyCagBOjDIkwDOWsEuYAUcCiCiYEyzKKZ0D5JV8DDs4Wc5rfH8V0jpgiW1vrFjx6eOtiCc5WUNKy+H46h6hCrzn4kwESW5q+A4Nok4DOgQ9shb8+01NqkdEq2ppnxNw5U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nVQJGRSb; arc=none smtp.client-ip=209.85.219.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nVQJGRSb" Received: by mail-yb1-f173.google.com with SMTP id 3f1490d57ef6-e7dc89108bfso1911187276.3 for ; Fri, 20 Jun 2025 16:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750460538; x=1751065338; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1ArUQ8QVqS/QJ/vgHPbGXTRv239wlRJkgHtl0VZTwag=; b=nVQJGRSb/cSS3JsyXC+6Lllc2/ugQvBa7SMwJml7i3NdP6qP5sDpWi620vr6wOWv/E j5j2iOlh1f41TdIzVvZxrItl6mpIAiEsXRn4kYPmHb0nhavZkbK/od2g5u91LL8OteMw niiymnq94d+zDv3kF2pMgxNtMwPRClCO0UJBMHRNgO27zXbLQXzlvzZVLOnH7Kn6UoL7 y1rInpkNPE7iZOuigMfrQpQ2c5VHF6bLurOsINP6MzvV9ROiDS4jQLXkeAeV9BJh3js0 6+PdE1FSRU5rdfM0A/w8FHFOdgXwroCvOKInb+Y/n+nii5PRfnyRQLE71OZ8l5f66RAW VQRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750460538; x=1751065338; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1ArUQ8QVqS/QJ/vgHPbGXTRv239wlRJkgHtl0VZTwag=; b=DEr2LTDkI2APXoqZT136EYw3h6cs85FPP0HiWrNVE39xYRWepWzFzh94UAA2h4aZK0 /BJ4TWxDRbGazobwaec5rcYSdDRPxbmLpYAhmzuf/Mr2aRmuqSRLR92SgCVLz+apmj7q 5v2kHQwrXhvoJ1a+4Sntbj6kblcIWx6s6ndqXloD4Rl5VPZzW7fMO0T5AnOCeLWNP7cV +3JYnhLUJLzIWfHWncbMCRwnStyEMl40WFD/Dx81o4355ZDEZBTGRBUAyhCqHvgSTXTU Xwnbx8L5dzbOFyTWIo/+OhUr8l9Q/9JkO7Cc5CRj2A5gr27rzClo3CifvJW4hDEEXjkj /wSA== X-Forwarded-Encrypted: i=1; AJvYcCUTvvQLZ5fTUn0+D85pHHhFeETlNs4DRORtxY8UR6dBDpgsRK7YSS+48ImWQcGODomUYzsoqc1ptzfAnDM=@vger.kernel.org X-Gm-Message-State: AOJu0YzhRoqZCAPuAw2rQd1s8EKckrpfFcujb8wquBdkQJDV6pGoFtSM XIYextDlirH5XLwtNXBLTyyO3GRQY4TaLDBUDbYhZgS1fuUgm3CATij8TeWOFboj X-Gm-Gg: ASbGncvtTUY9RUTlKEB4M0NzpjXjC6eLzm8iHyR3vKXNSm7Qvh/NNAkKTu2IMCRpWLX pXHxdMcUqzCx1T281Z5zzuDfvws7H0/QI4mypfssxnYEbHkvX2Wi5rRJKbX5ZhHePYM7JJ0dtyG pymbx1xrPc5vC78YkREiF4cdjS6Xlpu/c6Qlwh7Mg6Cck14aByutqkVl0bmOh/eGLzVq8W+rzEk zm8egdXt9K9wXw14PAcIlrWR8PbatOX17LxY3XC5cVAxHDqt3xOR54caqAoBCw6rrX6xAw95Mot oBxulxiAsLNOyWCPVcD4d+9q07TbbRhYoCWf5yddDZoq1C+lMmccVh4t8ZFo46vT36wigztp2Ru DXA== X-Google-Smtp-Source: AGHT+IEIvzmiWthMEcAxXwgVG3Wo9vvhbiOI15NAoRwemKNFyO05E7JCSh/OsyIWpCFFN7A9sOhphg== X-Received: by 2002:a05:6902:6986:b0:e84:32a7:89ad with SMTP id 3f1490d57ef6-e8432a78a96mr3235478276.48.1750460537797; Fri, 20 Jun 2025 16:02:17 -0700 (PDT) Received: from Slackware.localdomain ([191.96.150.102]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e842ac984b4sm893270276.48.2025.06.20.16.02.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jun 2025 16:02:16 -0700 (PDT) From: Bhaskar Chowdhury To: dan.carpenter@linaro.org Cc: Bhaskar Chowdhury , linux-kernel@vger.kernel.org Subject: [PATCH 9/9] Trivial changes,usage text show scriptname without path,and few of them use nproc binary to show cpu core Date: Sat, 21 Jun 2025 04:08:58 +0530 Message-ID: <772a80d0cc54bbc1c138730972193faa76238bd1.1750459100.git.unixbhaskar@gmail.com> X-Mailer: git-send-email 2.46.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Trivial fixes for the script name to show up in help/usage test without full pathname and some of them have CPU core variable via nproc. Signed-off-by: Bhaskar Chowdhury --- smatch_scripts/gen_no_return_funcs.sh | 2 +- smatch_scripts/gen_puts_list.sh | 2 +- smatch_scripts/gen_rosenberg_funcs.sh | 2 +- smatch_scripts/gen_sizeof_param.sh | 2 +- smatch_scripts/gen_unwind_functions.sh | 2 +- smatch_scripts/kpatch.sh | 2 +- smatch_scripts/show_errs.sh | 2 +- smatch_scripts/show_ifs.sh | 2 +- smatch_scripts/show_unreachable.sh | 2 +- smatch_scripts/summarize_errs.sh | 2 +- smatch_scripts/test_generic.sh | 4 ++-- smatch_scripts/test_kernel.sh | 4 ++-- smatch_scripts/whitespace_only.sh | 4 ++-- smatch_scripts/wine_checker.sh | 4 ++-- 14 files changed, 18 insertions(+), 18 deletions(-) diff --git a/smatch_scripts/gen_no_return_funcs.sh b/smatch_scripts/gen_no_= return_funcs.sh index 713456c04aac..c5e16cc1008a 100755 --- a/smatch_scripts/gen_no_return_funcs.sh +++ b/smatch_scripts/gen_no_return_funcs.sh @@ -4,7 +4,7 @@ file=3D$1 project=3D$(echo "$2" | cut -d =3D -f 2) if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 -p=3D" + echo "Usage: $(basename $0) -p=3D" exit 1 fi diff --git a/smatch_scripts/gen_puts_list.sh b/smatch_scripts/gen_puts_list= .sh index 5a877aeb8423..32eda6d52e42 100755 --- a/smatch_scripts/gen_puts_list.sh +++ b/smatch_scripts/gen_puts_list.sh @@ -4,7 +4,7 @@ file=3D$1 project=3D$(echo "$2" | cut -d =3D -f 2) if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 -p=3D" + echo "Usage: $(basename $0) -p=3D" exit 1 fi diff --git a/smatch_scripts/gen_rosenberg_funcs.sh b/smatch_scripts/gen_ros= enberg_funcs.sh index 0152ba9c1192..cfc0c9a8a40d 100755 --- a/smatch_scripts/gen_rosenberg_funcs.sh +++ b/smatch_scripts/gen_rosenberg_funcs.sh @@ -4,7 +4,7 @@ file=3D$1 project=3D$(echo "$2" | cut -d =3D -f 2) if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 -p=3D" + echo "Usage: $(basename $0) -p=3D" exit 1 fi diff --git a/smatch_scripts/gen_sizeof_param.sh b/smatch_scripts/gen_sizeof= _param.sh index 8f4e5f7493c0..653f39dae61e 100755 --- a/smatch_scripts/gen_sizeof_param.sh +++ b/smatch_scripts/gen_sizeof_param.sh @@ -4,7 +4,7 @@ file=3D$1 project=3D$(echo "$2" | cut -d =3D -f 2) if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 -p=3D" + echo "Usage: $(basename $0) -p=3D" exit 1 fi diff --git a/smatch_scripts/gen_unwind_functions.sh b/smatch_scripts/gen_un= wind_functions.sh index ae8504902018..dc7d66fa0bf1 100755 --- a/smatch_scripts/gen_unwind_functions.sh +++ b/smatch_scripts/gen_unwind_functions.sh @@ -4,7 +4,7 @@ file=3D$1 project=3D$(echo "$2" | cut -d =3D -f 2) if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 -p=3D" + echo "Usage: $(basename $0) -p=3D" exit 1 fi diff --git a/smatch_scripts/kpatch.sh b/smatch_scripts/kpatch.sh index 66cef9581ca0..7ee229a0bfbf 100755 --- a/smatch_scripts/kpatch.sh +++ b/smatch_scripts/kpatch.sh @@ -4,7 +4,7 @@ TMP_DIR=3D/tmp help() { - echo "Usage: $0 [--no-compile|--amend] " + echo "Usage: $(basename $0) [--no-compile|--amend] " echo "You must be at the base of the kernel tree to run this." exit 1 } diff --git a/smatch_scripts/show_errs.sh b/smatch_scripts/show_errs.sh index bc6930ffa245..2f3983abab45 100755 --- a/smatch_scripts/show_errs.sh +++ b/smatch_scripts/show_errs.sh @@ -15,7 +15,7 @@ done file=3D$1 [ "$file" =3D "" ] && [ -e err-list ] && file=3Derr-list if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 [-C ] [-b] [-k] " + echo "Usage: $(basename $0) [-C ] [-b] [-k] " echo " -C : Print of context" exit 1 fi diff --git a/smatch_scripts/show_ifs.sh b/smatch_scripts/show_ifs.sh index 4f93ca5fa285..8b84606250b5 100755 --- a/smatch_scripts/show_ifs.sh +++ b/smatch_scripts/show_ifs.sh @@ -9,7 +9,7 @@ fi file=3D$1 if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 [-C ] " + echo "Usage: $(basename $0) [-C ] " exit 1 fi diff --git a/smatch_scripts/show_unreachable.sh b/smatch_scripts/show_unrea= chable.sh index 7402615dc670..e866760c6726 100755 --- a/smatch_scripts/show_unreachable.sh +++ b/smatch_scripts/show_unreachable.sh @@ -24,7 +24,7 @@ done file=3D$1 if [[ "$file" =3D "" ]] ; then - echo "Usage: $0 [-C ] [-b] [-k] " + echo "Usage: $(basename $0) [-C ] [-b] [-k] " echo " -C : Print of context" echo " -b : Ignore unreachable break statements" echo " -k : Ignore some kernel defines" diff --git a/smatch_scripts/summarize_errs.sh b/smatch_scripts/summarize_er= rs.sh index b958a015ddf2..a444fa267495 100755 --- a/smatch_scripts/summarize_errs.sh +++ b/smatch_scripts/summarize_errs.sh @@ -2,7 +2,7 @@ print_help() { - echo "usage: $0 " + echo "usage: $(basename $0) " exit 1; } diff --git a/smatch_scripts/test_generic.sh b/smatch_scripts/test_generic.sh index 9fbd1caf4b29..5ad08f4fa135 100755 --- a/smatch_scripts/test_generic.sh +++ b/smatch_scripts/test_generic.sh @@ -1,12 +1,12 @@ #!/bin/bash -NR_CPU=3D$(cat /proc/cpuinfo | grep ^processor | wc -l) +NR_CPU=3D$(nproc) TARGET=3D"" WLOG=3D"smatch_warns.txt" LOG=3D"smatch_compile.warns" function usage { echo - echo "Usage: $0 [smatch options]" + echo "Usage: $(basename $0) [smatch options]" echo "Compiles the kernel with -j${NR_CPU}" echo " available options:" echo " --endian : enable endianness check" diff --git a/smatch_scripts/test_kernel.sh b/smatch_scripts/test_kernel.sh index 9d25ce9c1ed3..9a0eb482a2f6 100755 --- a/smatch_scripts/test_kernel.sh +++ b/smatch_scripts/test_kernel.sh @@ -2,13 +2,13 @@ set -e -NR_CPU=3D$(cat /proc/cpuinfo | grep ^processor | wc -l) +NR_CPU=3D$(nproc) TARGET=3D"bzImage modules" WLOG=3D"smatch_warns.txt" LOG=3D"smatch_compile.warns" function usage { echo - echo "Usage: $0 [smatch options]" + echo "Usage: $(basename $0) [smatch options]" echo "Compiles the kernel with -j${NR_CPU}" echo " available options:" echo " --endian : enable endianness check" diff --git a/smatch_scripts/whitespace_only.sh b/smatch_scripts/whitespace_= only.sh index 975e6571e1e7..e72afb67a519 100755 --- a/smatch_scripts/whitespace_only.sh +++ b/smatch_scripts/whitespace_only.sh @@ -2,7 +2,7 @@ usage() { - echo "usage: $0 " + echo "usage: $(basename $0) " exit 1 } @@ -84,7 +84,7 @@ for file in $files ; do echo '!! !!' echo '!!#$%@$%@^@#$^@#%@$%@$%@#%$@#%!!' - diff -u $before $after + diff -u $before $after fi rm -f $before $after $tmpfile done diff --git a/smatch_scripts/wine_checker.sh b/smatch_scripts/wine_checker.sh index 79b4faa51a07..5825cf9e8a13 100755 --- a/smatch_scripts/wine_checker.sh +++ b/smatch_scripts/wine_checker.sh @@ -1,7 +1,7 @@ #!/bin/bash function usage { - echo "Usage: $0 [--sparse][--valgrind][--debug] path/to/file.c" + echo "Usage: $(basename $0) [--sparse][--valgrind][--debug] path/to/file= .c" exit 1 } @@ -14,7 +14,7 @@ else echo "Smatch binary not found." exit 1 fi - + POST=3D"" WINE_ARGS=3D"-p=3Dwine --full-path -D__i386__" -- 2.46.3