Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp64381lqh; Thu, 30 May 2024 14:15:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUQFZYsLH2Tz9w8mLqqnAiH4RXeeQQzzLQNUX85vyY8Q7Df4eb7xq1ud2kReIjY+Ay06ToctLwUHUYj9jjx80i/HWI/thlHsCZrpfo0/Q== X-Google-Smtp-Source: AGHT+IEZ/oCnPXonHRMWSACV1vW7yoKmCd2VfH2cZxBMRqGigLMBiCAjpZn+pUSknMGo+hkqefl3 X-Received: by 2002:a05:6871:299:b0:23b:caff:be33 with SMTP id 586e51a60fabf-2508bd09734mr103984fac.49.1717103720806; Thu, 30 May 2024 14:15:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717103720; cv=pass; d=google.com; s=arc-20160816; b=nPGaa7CPb9xtHQhXsfYfLTjtrPy/7TEX3AebOYUvzHVZLC9qrgMhEd1zqiG4lBr3kS XUaTWMpm/w1bGr+LS4JeTYbFjwS8A9tcD0JyQC2nl4NZtPYtjDoVPvwtQRBka3uId90T iRbR2qEP+kBNnzK/K4nC1j6wTIpQQqXmWKYbp3L2IIYkbyYFttGaSUzHfoaif8iHzR1V by3SIIQRX0rzaad7vjCTVHLThCvVYknkYhtoqnpUNr2RtIA52yLCOjtP9BEwMb2YS92Q Oc4WT230WVS/53MAWgh17TsFl3CehK4LLxIHqU1cT8/zLkIngLv/DBCFdhdU87QSjNt2 XgaQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Cc22q3I70MPueAnmKsTkHjW1R6pGbLRcvceT5HSMS2c=; fh=79h5xGbxSt5PwPc9jk508frruFo7PjkYTFSD+A5c8Ho=; b=f18SwjcSg2/I2uuQYUw+3XqDHQgtOfzVlJov6wbt2Iy/uuG5Zm8py9oxNW3xQQes9f BwiamTBAK7pdUFbBH+bQMtYjrhbM9WfylOaC3ug9hSQ/22nJvDedv0oVVCFBz3rTmvuf +Ohz3KzRj8qT7L5CnKFIA5j3fzmyGYw9RM0ymtN94ECcBjeEEHSM1/pk65M/0s3UZ8JE 1feyvVrfKVjYaVg+eDXxc7V4yunqVyy2valA7xzwOhUabaXtWYATDuYHGtOSqGfsjaHJ 0ljmVWAyzEKK8bl4//zon692O9cVKwwwfPZUtadmvZD67+a65d3AEXqosKnBBY6ZN0t0 NP2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=KVM+6TUw; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-195929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195929-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35d973c42si269725a12.877.2024.05.30.14.15.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 14:15:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195929-linux.lists.archive=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=@linuxfoundation.org header.s=google header.b=KVM+6TUw; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-195929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195929-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 64A09284F11 for ; Thu, 30 May 2024 21:15:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D143183A61; Thu, 30 May 2024 21:13:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="KVM+6TUw" Received: from mail-il1-f182.google.com (mail-il1-f182.google.com [209.85.166.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 4C2B247A5D for ; Thu, 30 May 2024 21:13:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717103623; cv=none; b=SrrIQ4Hl5ydzwA7y3dkUBTRfziccgiskeUMRJSW/CFk3QMI8xKspBeC2E8sxmBqturHdu7AcodIv9jBF6p3agVKkVWMbXTdFkB5INHdzhrT+nQ8tl5gNeiNNxN7lRiqMt4c+4jIaQ9IvAR7Y5lhdBJ6NTuNSfWqp4G22oq5dERA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717103623; c=relaxed/simple; bh=KF2KZFt7KqXZHK0uvHeIz9ZPa10L9lrpUZ+5YMf1XCA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oXPbGmBYi3tjCC9BAgwVIGZHJx13pjrE8BMvjjM94TrerM3YSw+8XWm4oaSLyMl4sfFZArOIj6yf3tXuF76aimDEVPqUGTkyHvtgBmlGnPQGwZ1Oemc00WFVF/Ix5zdDU1O9YfQ/CGRi7hQP2qvkkVGaAC56EyQd/G04LpRnOLo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KVM+6TUw; arc=none smtp.client-ip=209.85.166.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-il1-f182.google.com with SMTP id e9e14a558f8ab-36dd6cbad62so783465ab.3 for ; Thu, 30 May 2024 14:13:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1717103621; x=1717708421; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Cc22q3I70MPueAnmKsTkHjW1R6pGbLRcvceT5HSMS2c=; b=KVM+6TUw6xdnmceVB0rErUcS9g/1AO1COXURsAf1VgLUtQO5dT0QmULqG8z+aM8M2U 7+INoD6TSlybTgr97yQ/BQ1zfl6lKOnHMO+Omhj64+mG0fFYEBd9Cbj2DKEbYwzb8dU1 69/xwTzULZB/JpOhb3YDvUjwxob13AdMEQ89g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717103621; x=1717708421; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Cc22q3I70MPueAnmKsTkHjW1R6pGbLRcvceT5HSMS2c=; b=RnaOyeFBlvIGLxvnSzOMM+ikXgXEYSUeN7T+ekO15DkYB2lY9go0BGpDYH98zmifrT kjgfWvEa93KEqE+bDcZ1WCVWvDFa0AEoAjIQBMruuUiDIYgzqUanXvmnmXuREDiKboUV AEDJkuokOOwcD1Nm1natUr4190C4on7i3kp4oNzHt5t6nXF3mbx10pUqRx3MfB0TQlu5 oaCh4bW+StzOvuDOhf4E3elaSNdl9dhmBjYKmJ9GtoTwZ9Rn2QzR1bN12ShSCR7XY4Ih gOy9BA7jnuWXZQfKckrJt1Rcb96l0+If1VAFgJHFUxJ3/nslcUyjxaB6ZlzdKSjlys6J vaXg== X-Forwarded-Encrypted: i=1; AJvYcCVXjU1AMZRIovut76CUc7ZyoUO1si8iqda/9WVn8Lg3p4KoOLDtopAgCSOMvu/xyuMsHNmKJ+iJei7ENfPA7R+0f7R8uEsg93hLA7aB X-Gm-Message-State: AOJu0Yy5NBFJfsSqneYzXKwg9tefy15inqInl7v4R2w6R/wLWeaxAhBR XD/66DQ6b/PegYMEBOYILhyHatGSmMYosWRTojPBo9rig46cEpD8FnCIoxOW5nY= X-Received: by 2002:a05:6e02:1d07:b0:374:88c6:385b with SMTP id e9e14a558f8ab-3748b9d096bmr894325ab.2.1717103621456; Thu, 30 May 2024 14:13:41 -0700 (PDT) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b48cd014dcsm115065173.157.2024.05.30.14.13.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 May 2024 14:13:41 -0700 (PDT) Message-ID: Date: Thu, 30 May 2024 15:13:40 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/3] selftests/futex: don't pass a const char* to asprintf(3) To: John Hubbard , Shuah Khan Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , Edward Liaw , =?UTF-8?Q?Andr=C3=A9_Almeida?= , "Nysal Jan K . A" , Mark Brown , Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev, Shuah Khan References: <20240529022938.129624-1-jhubbard@nvidia.com> <20240529022938.129624-3-jhubbard@nvidia.com> <94fe2649-8def-4f2a-ba5f-19ae8a4226bf@linuxfoundation.org> Content-Language: en-US From: Shuah Khan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 5/30/24 13:16, John Hubbard wrote: > On 5/30/24 12:04 PM, Shuah Khan wrote: >> On 5/28/24 20:29, John Hubbard wrote: >>> When building with clang, via: >>> >>>      make LLVM=1 -C tools/testing/selftests >>> >>> ...clang issues a warning, because test_name is passed into asprintf(3), >>> which then changes it. >> >> Please include the warning in the commit log. > > Ah, OK, the warning is: > > futex_requeue_pi.c:403:17: warning: passing 'const char **' to parameter > of type 'char **' discards qualifiers in nested pointer types > [-Wincompatible-pointer-types-discards-qualifiers] > > > Please let me know if you'd prefer a v3, or if you'd rather fix it > up, whatever seems easiest for you. > Yes please send me v3. thanks, -- Shuah