From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vk1-f171.google.com (mail-vk1-f171.google.com [209.85.221.171]) (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 EE0932C1A0 for ; Mon, 18 Mar 2024 09:26:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710753968; cv=none; b=UTK2bvdvL+uYHmzq6wbTFQH4Jk1Rm8IoDcxn8ow833Ha7y7Gdz1ZbVW/st0NLiQEK50H6JY2onqS9cTlM+l/LMjefHj0VjrcC/6jjBbdG/rtfN6LsqfPYEMxR3h/0ApB+xLVJ9tDFDXO3TasGmdpg8kjneuWiiKPlc/aN7A4XC0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710753968; c=relaxed/simple; bh=8y4vSdVUZCk+aPZhva5pLco3uG5l2lCYnp2HRRGYbkg=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=SPjZdz/Wj924JZIPnEJusMAFFCktB29QJA5hxMiO6wLDA4jlVACxSvBTpS87vilZHpSosnKOMTWjjI2fAnO9m+eAYBPR2bcGF4YI7HacBXcTje9O7EnNO1R3gzP3rVztNMy3dNTIDmJfCQi821aQXWkboovAU3FBHy3/sK5PuTU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=tyKpNz69; arc=none smtp.client-ip=209.85.221.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tyKpNz69" Received: by mail-vk1-f171.google.com with SMTP id 71dfb90a1353d-4d43c633fecso876534e0c.3 for ; Mon, 18 Mar 2024 02:26:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710753965; x=1711358765; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=dr558Gtc+rRfkIYnJ72l9uUtS+S0kUdV5Cm0VXr/mqc=; b=tyKpNz69GkAF/dxzi9qfLSPyLCVErblaF4Nkwhl3t+ipwJzq8rtnLlv1GqG4PJ/lpJ JzcXZmvwtynAJeth3rowcHafUj+P4xEGKufFbSRqtuQ5P3Wo7Pl4sv1IhaIYW6yUtdCm jqbfRkY2CJUhav0KD0h4juyF0YhmITziNU3P1abs+dbZaE5VlNkOA7mQVSObs1RD7ooh V9Bd/dr/UgyQej7koeQXPdZB0uiU1TTDXgD0ewCNTfQuu4tAbu/VRkoJ6b6wA5a4XPOd Ntrc+j9SAtGSCL/7TwA+q/Wjr+dzIi9oZIm+loICzM3OpNpO1cHsXWrML36lN9HaFcPr 49hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710753965; x=1711358765; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=dr558Gtc+rRfkIYnJ72l9uUtS+S0kUdV5Cm0VXr/mqc=; b=EbOddHBx0rH36tOarfPfknWa/OmYKuumixEKiLpDGAWsLrsExmhMDw86uy/nF6kAfl tfHChe1SJw6higrcUI3jAHDUMlMwO0aETHY3CTU0k/iokxmC/bPbeczPwXjcA7yzX9GQ RzCUlSKRQ6Nd0lVBh8iWAa4+qXRKUIFluhuiLZ+1l3onruZY7cki6LoTcpDYSgP8hAEI oZ3pPKG8PFfQnl/PBzLznS711bFk4aKZ/8DhSqJWyU94nyZ8rIklnZOqivfXfsbANgYn LkqVyJvq2MWffXdk0J0QltZU0wo4Yt4xPe2pJqJdNP6tQBdPckbE/Gk7QA/3Nobeg9s6 W7gA== X-Gm-Message-State: AOJu0YxOgbfktipT+4LDyzG+rhBYI2G9X4zmSApNF53is2IUrgGNPrms i9R/Bq3MD4Bd2WMCVKHEPMSt0tU8m6cPhaq8Vn4cIt22X4PxyuHbiFNt5LwkKpjI4Aty1sNNvXm P4sfBOviZi85Q6HAAb4j/zQvnPf2fBYhtKAAcrgTDMU7Uy4ZhP1o= X-Google-Smtp-Source: AGHT+IFDDQIlK3lVhoDg3KpbK/eh3Hhxm8PIDTagoTjsDxY8wbny4dXn7KvLQWqbF5dW8Rr0jLCdFvvcFrJRC5YENVg= X-Received: by 2002:a1f:724c:0:b0:4ca:615e:1b61 with SMTP id n73-20020a1f724c000000b004ca615e1b61mr7860598vkc.10.1710753965337; Mon, 18 Mar 2024 02:26:05 -0700 (PDT) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Naresh Kamboju Date: Mon, 18 Mar 2024 14:55:54 +0530 Message-ID: Subject: net/sunrpc/sched.c: error: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) To: Netdev , clang-built-linux , open list , lkft-triage@lists.linaro.org Cc: "David S. Miller" , Nathan Chancellor , Trond Myklebust , Eric Dumazet Content-Type: text/plain; charset="UTF-8" The following build warnings / errors noticed on x86 kselftests build with clang nightly / clang-17 on Linux next tag next-20240318. This build config is generated from kselftest merge configs [1]. Reported-by: Linux Kernel Functional Testing Build log: ----------- In file included from net/sunrpc/sched.c:31: In file included from include/trace/events/sunrpc.h:2524: In file included from include/trace/define_trace.h:102: In file included from include/trace/trace_events.h:419: include/trace/events/sunrpc.h:707:4: error: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Werror,-Wstring-compare] 667 | __assign_str(progname, | ~~~~~~~~~~~~~~~~~~~~~~ 668 | task->tk_client->cl_program->name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 669 | __entry->version = task->tk_client->cl_vers; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 670 | __assign_str(procedure, task->tk_msg.rpc_proc->p_name); | [1] steps to reproduce: ----------- tuxmake --runtime podman --target-arch x86_64 --toolchain clang-nightly --kconfig https://storage.tuxsuite.com/public/linaro/lkft/builds/2dqIWv3Qq5qYmJfnmKfkSg9fvN0/config LLVM=1 LLVM_IAS=1 debugkernel cpupower headers kernel kselftest modules Links: - https://storage.tuxsuite.com/public/linaro/lkft/builds/2dqIWv3Qq5qYmJfnmKfkSg9fvN0/ - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240318/testrun/23069554/suite/build/test/clang-nightly-lkftconfig-kselftest/log - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240318/testrun/23069554/suite/build/test/clang-nightly-lkftconfig-kselftest/details/ -- Linaro LKFT https://lkft.linaro.org