From patchwork Fri Dec 29 03:06:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yang X-Patchwork-Id: 183841 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp2357650dyb; Thu, 28 Dec 2023 19:15:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+ebBWiB3HdFsU/NbNrS1n6aE6X8bqzZdy0RAr/pzLStmqPyolpwEzeJYLNh77Eoh6ncK1 X-Received: by 2002:a17:902:daca:b0:1d4:368d:3d62 with SMTP id q10-20020a170902daca00b001d4368d3d62mr11962928plx.31.1703819719318; Thu, 28 Dec 2023 19:15:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703819719; cv=none; d=google.com; s=arc-20160816; b=ySvv3yQwwY1QhbNLk1dp+DKPJr3Ef7z+JZ2JyRLvWc49VBNb2z/1up9wN+lWkFFLcm pWUthLip8ZTuP3ZgrpbxkfhQSepGL3EQTzDuZvWW4fq8tFeYSHS9Mvd8uX0PwwJkUY2q Njad+qMhvEvBgubCw1q+15GUgZsno/Vmysi8VyA/+knJjUKmChmih6uqkKaWrNHF2A/e a4o+Orp8k6ASomkj/I/X7HUjCWm2gMuhPd9vCqdfekunX/Tl5eSqZYFkAa34Eq3o6PLe FtvlnkeQcHmIjARVEEr2GuJRnGQLE8B9oN/ic4O9zHqdF3U5h/1lb0VnTvnXyW5v4rJE a0TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=JxXfZU6ERWOuyrGVdyKmHBSuejXo21h0N1ktZLk7XHk=; fh=aB+egI/WTF5s+LX2osA9vcylFBrU5U2BLBvHTUzqHpY=; b=1Ba5MTActk6TjEJWrshUKWHipkjaY5gBskOpBP5XCZHRkBkU5hBirZ0fE+axpDmfIN 6vB5XYYbcJlcltllsVVsqXQ4zSdvzAK9OW9s6v3I6BmuF4LZR5+MMyPaWZHFDDBwiYAk cin6ppHYSmjEjQVq1WKjApUAxaauMrHHcLO/Zcy+D7UOcGR3jkkZ/fWOSAjxXKailb+Q oeIUhj4iPAauR462EoTgBm/Qf0rSZ4Szn0RW40l2moelQkk3E3jcghLuHz2iNtGFOtCG SiH9uv2HAulaaytRerYbqYUM3HqT30nhXI+tydaYKdwkdoUZk9/aqh/dIuydIJqMb29e SQXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ObbJUePb; spf=pass (google.com: domain of linux-kernel+bounces-12921-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12921-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k1-20020a170902c40100b001d4273c04desi11278465plk.459.2023.12.28.19.15.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 19:15:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12921-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ObbJUePb; spf=pass (google.com: domain of linux-kernel+bounces-12921-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12921-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 82E9B286884 for ; Fri, 29 Dec 2023 03:07:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E903E7472; Fri, 29 Dec 2023 03:07:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ObbJUePb" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 ED5485241 for ; Fri, 29 Dec 2023 03:07:14 +0000 (UTC) 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 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-40d5bc68bb7so24591325e9.3 for ; Thu, 28 Dec 2023 19:07:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703819233; x=1704424033; darn=vger.kernel.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=JxXfZU6ERWOuyrGVdyKmHBSuejXo21h0N1ktZLk7XHk=; b=ObbJUePbok7Fd+hzNkPI0HfFuF9XvxUNMFY1D6Cankj7DkuyoRcOpvM7fvqRZ6DMuT K2UqaeN87agQ9EgbW4KrTkDmZF39h5sNLYXudcRZB+ji8fU+ZX/h+km/Ni4HV/Pjvyqk M8GfAyUfwMFcSf3hRGji1IFYBqm6sUX6ZeTtSAkdtQRs0SEkg2cjpdC94vXcEpzFX7+K OyHrw2vr5rceVSePwPb0bek1BX435w2h1wbX86zpD9tI+Bi/3pDMcpaLCMK/lh9CUFpx B70gLk56WICeNCCucR4KtgwMWVJxowdY+f0qsui2G21QSUPJFXdvwR2jpsWOyG1x4ucb X4pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703819233; x=1704424033; h=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=JxXfZU6ERWOuyrGVdyKmHBSuejXo21h0N1ktZLk7XHk=; b=ubtSVPpviiCPUJNUmRHhbjmolF3CFK/ZfokIG5Sa9W9/YDAxToLR2T8wd6UCeXLy5T 54xPYDdEtA0e5Wh5pgeZTMzMxXMOI8kbyrbdPvKNpzhzVhs4HeVV0GHyKyO37xRWj+CU CdbY9SXw1Nn76b8x8Fw5J3F/M/mLxf16c6CSOf6CJTtFIWglpdjabJr1C7NztIh9xaOS HMlNz3MYG4D0qW0Ui9a7QS/PyxFO+yWCXn4kGZsvfKus8GzkXh2ki87B+9FrLgH34JrJ k8f7AfDo9d/ZyA4PqonVicwpjrmejiyWhnz3e499hkwbJFox5e6suFLldHfKn+w968Iv 9E2Q== X-Gm-Message-State: AOJu0Yyv6fFPwqFocsX9/vH+/1eKKycTHI/3Wr+CRR7kE9QFFvsjdtJC cOSwM15CT2klq6zSFMz5+zc= X-Received: by 2002:a05:600c:4f0f:b0:40d:56dd:af56 with SMTP id l15-20020a05600c4f0f00b0040d56ddaf56mr3375564wmq.162.1703819233260; Thu, 28 Dec 2023 19:07:13 -0800 (PST) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id mf6-20020a1709071a4600b00a26aa8f3372sm7354822ejc.27.2023.12.28.19.07.12 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Dec 2023 19:07:12 -0800 (PST) From: Wei Yang To: gregkh@linuxfoundation.org, masahiroy@kernel.org, nicolas@fjasle.eu Cc: linux-kernel@vger.kernel.org, Wei Yang , Sam Ravnborg Subject: [PATCH 3/4] scripts/tags.sh: use -n to test archinclude Date: Fri, 29 Dec 2023 03:06:53 +0000 Message-Id: <20231229030654.17474-3-richard.weiyang@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20231229030654.17474-1-richard.weiyang@gmail.com> References: <20231229030654.17474-1-richard.weiyang@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786584466139089740 X-GMAIL-MSGID: 1786584466139089740 In bash, "! -z" is equivalent to "-n", which seems to be more intuitive. Signed-off-by: Wei Yang CC: Sam Ravnborg --- scripts/tags.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tags.sh b/scripts/tags.sh index 83e3731b5bdf..5061ec255291 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -89,7 +89,7 @@ find_sources() all_sources() { find_arch_include_sources ${SRCARCH} '*.[chS]' - if [ ! -z "$archinclude" ]; then + if [ -n "$archinclude" ]; then find_arch_include_sources $archinclude '*.[chS]' fi find_include_sources '*.[chS]'