From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E91CCC001DE for ; Fri, 14 Jul 2023 22:02:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229536AbjGNWCM (ORCPT ); Fri, 14 Jul 2023 18:02:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229584AbjGNWCK (ORCPT ); Fri, 14 Jul 2023 18:02:10 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6F511BF3 for ; Fri, 14 Jul 2023 15:02:09 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-66f5faba829so1826467b3a.3 for ; Fri, 14 Jul 2023 15:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689372129; x=1691964129; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=B3DZ3QodLkTjKM8tLx8t86MoU1m0TSwGIA4Lmr1eciw=; b=xO0lJMv5ZVBnZmrsoKXYHg+5jX2CO6Anylt5EKGGHaPYsJyD2naV+Einq1HkpCbDEd 70g3nFQQ/zzIUxit73R0+RWL+bRmq2+ip05QObmumBglucmYVvdzTpLteGwAbhKjoq2b YM6y7rH7FaDGcK4LloKDQHGr7mnuu+MWuAj/yt50MH2uvmPMHONXXCWiB7SkMzHWuHhc pZa/D0c3BSbMEde+jqms0oOT04fw9S8YbwAdQDmsvvaAUTiC/aLViiREOs8Ud8kkmyRu Ov5ek9e56Lx9wWpZVgKFDBXGRgOIHepnFTjp9MqaotCy6mue0pws3PGWTFKzQca6squv iD7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689372129; x=1691964129; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=B3DZ3QodLkTjKM8tLx8t86MoU1m0TSwGIA4Lmr1eciw=; b=I9QJYGItXpv3gopelGvcG3UlieRPulzFx0HAZAQvNXmY4F5YaoVdtgbozjM2Lw0PSU WqjqWo3+2KJOI2ky7GJmFTeXMmU2Ig0hFqdtEhU2jw2+7ve7/gSSJXlHYv6oa+ZFmul6 U7ixu055isAb30dMawDxHNtyc0W9cgr25S3d0eE7YilZWiW9qxv5/r0CC7L6AHj5f7zX y5bJpwWIhNeLvz/e2hEHWyFx0QJp/eGx1ixPS/tzEGSrwOjT2SIM/F01cy7zRdvVGc7k vGybAmhLDbkUy184tPAVCz+jXhSyhop9e1MxphoFShHBtACYL9sWMfMlKkj5yUncJxsH dfyQ== X-Gm-Message-State: ABy/qLYPB2Jf95RjIZggiSxSrXvvp8He7RjVJMIo12wkuDAXVPjgvpqc ZWC0BCIM+lVgbc2/0GANG8J3yA== X-Google-Smtp-Source: APBJJlEPhk3QAeLODRppoEJ8Y7tCUc2xqclRZUChAEpPHOArrhf5SttTvbB0tk/lqEdMIxDEWm45Bw== X-Received: by 2002:a05:6a00:cc5:b0:668:846b:9b5d with SMTP id b5-20020a056a000cc500b00668846b9b5dmr7234962pfv.5.1689372129136; Fri, 14 Jul 2023 15:02:09 -0700 (PDT) Received: from fedora (61-114-134-192.ppp.bbiq.jp. [61.114.134.192]) by smtp.gmail.com with ESMTPSA id a12-20020aa7864c000000b00666e649ca46sm7608915pfo.101.2023.07.14.15.02.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 15:02:08 -0700 (PDT) Date: Fri, 14 Jul 2023 07:34:03 -0400 From: William Breathitt Gray To: Anh Tuan Phan Cc: linux-kernel-mentees@lists.linuxfoundation.org, rongtao@cestc.cn, ricardo@pardini.net, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tools/counter: Add checking directory exists for make clean Message-ID: References: <362e127d-6018-5fc6-247b-3c729b99d946@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kbfYM6KMOcOKmno2" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --kbfYM6KMOcOKmno2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 14, 2023 at 08:57:21PM +0700, Anh Tuan Phan wrote: > Hi William, the race condition possibility is a good point. Thanks for > suggesting me. Will send a new version with using `rm -df` instead and > add the appropriate CC lists. Thank you! Hi Anh, Because this will fix a failure, please include a Fixes tag as well that references the commit that introduces the rmdir line. Thanks, William Breathitt Gray --kbfYM6KMOcOKmno2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZLEyqwAKCRC1SFbKvhIj K+ziAQCGY7jdv3OM3sbn+dCb3FZsFSrqndT/N7q7OXZdDBiEwwD9GrllxnmAAjJU 2pmDiD0aeGvLOlLxjxi7SHSWcRRAZQs= =CrFK -----END PGP SIGNATURE----- --kbfYM6KMOcOKmno2--