Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2713150lqz; Wed, 3 Apr 2024 06:39:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXkgRanBm/K2SLGmmPkLk3YeGtkgMkwHCsB11S9BbAgc3AHwJsHy8ta7qFKJMkY8s+e/IR7s/kUIq9uaZirm6GO1QOOPKOPM12YdBC2HQ== X-Google-Smtp-Source: AGHT+IF6OOsO23SIG6gqgAa7esChusRLiBxNl0QemCzdGiOv0vRw1NAx1uQMWvgOvLj3JiOKzUnT X-Received: by 2002:a05:6a21:1509:b0:1a3:69e9:2fc4 with SMTP id nq9-20020a056a21150900b001a369e92fc4mr16201696pzb.22.1712151554031; Wed, 03 Apr 2024 06:39:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712151554; cv=pass; d=google.com; s=arc-20160816; b=f+lokTmJH62WfHz7i3WwMEMV27yo/GcR2p8n9eMLdiGVYN8rpMn+lnJrZeOzAnb9A1 H1/OZeJ0dRgmd66RGZgdaE4I61FB94LCI2x24ABv2MRj6uCjFiuujQxiamciVEdD8yqe vPSGrb+HtZwFRCk8lDI6sSwVY611wQekMSFy47UumptvEZJXkS4s0beAGXRKYlgjAJi8 pVjMPJg7HaSJX/oTiW8/AjpCJn3J8oZnTIc/1bMyA05LFIj12eUT5KwwWf+04mI29Vci TZO9BHY8nnv+BBASsLHI5uR45nyP33bIHcGuOCCGj5eMnufZfu/ddcy28xSwnpADELzi nTxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=kr5yQL8fx0u0tyLMbu3sLuMSllEG5G+mAeHccxYfdVY=; fh=nWJ9k73Qkz4cqMpm71O6riQGU+cqD4qaNfuoV688vqE=; b=W5VvjVSAb8bBsDNgywK+agrTfSRg6dWy38ZMZyn3KnF516CJAwjueVq0R3zTRYdgfP XOHwWQKRDkc77WmvIwdevaKk3wXJhuQ1CcgFrDe2H4wOB8U52yY/udWmZvw3gMcS8k63 ZZF2dST9tCnTBpvUnvo6sTPl0W4D1qMiQf46TYgKUmDjzjcC3G6yNndXRWizPSKH/1kb XD1XjaIk+HJf8TQehLnJq2h6zSGJ01qxjKxJU8tUKWKxXFq3eQOCcfuLEUE3Vi9JZ7zW htC5CdUoB+hEBIHLq7xvPRSmZ5L4p7BIAItoJ1lj0L9XPAdqM5wzTLe57+2ltAkxvqcY pLEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WSNDfrU1; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-129829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b16-20020a056a000cd000b006e6ca4153absi13495883pfv.293.2024.04.03.06.39.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 06:39:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WSNDfrU1; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-129829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0E552B286D1 for ; Wed, 3 Apr 2024 13:28:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 455A414900C; Wed, 3 Apr 2024 13:26:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="WSNDfrU1" Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (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 D6B671482FA for ; Wed, 3 Apr 2024 13:26:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712150778; cv=none; b=J7SUIXfY6aUOgi7RTx84AOebM7va6O/hzF4l2swpmyyP1GoI440kpFKk1JAY7HS92MmjdSrA/bGRvPEsYKvua1FsGxiFIISfxfqW7jSAxitwBM6eiKTAT8gj9aaedSpEhJxEah8L5ObqxzXuXL9IaFvuo2FivrBkLrBQO4NkyHE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712150778; c=relaxed/simple; bh=/ZFx3ebO9y9cafs7GJSvKhCZCl2L53c7NYdEippbANY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=nC2J2NTSuDA7bn9AqUmEYKmEVbJIv7wyU2mwTe00qPDk/DBRCMn5VYlY1gWrDn5uLY+KFlp/ebJYunfpCcSP/VKi00E63/PmrJxmJLx8nKK7G/aVjcTpZJfJMi2N6FbcUKenk4taAKyaPfENZEkIdSDzrwz3jFRoYNpE8gybVts= 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=WSNDfrU1; arc=none smtp.client-ip=209.85.215.174 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 Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-5d8b70b39efso4582430a12.0 for ; Wed, 03 Apr 2024 06:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712150776; x=1712755576; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kr5yQL8fx0u0tyLMbu3sLuMSllEG5G+mAeHccxYfdVY=; b=WSNDfrU1A5IuXWhh9HEqfMP+zlmpZ+t64/OBY35FevtWwhqB8nNVHgahOdCX79SOp3 1yn4HDv63eYR79bakZ9SkDgU02BXUgYL9Wipu16c1zbX53EgqjoEXfn9Ts3KixMoQj8e ZT3d9gYmEjpubF0RDlGKNv3zHXYOgSHzz81a68rJm6oZ/xNJVXvfsteVWByLQ1UANfeU ybeLHoHUWN8KZwzf7IWlteXQvzSC4yGMukXof5DunOP5/NkU/nTmJDZOa1BB123Uw7RB ceEVVEephv1GR+LLJftUFK8eNa+o1E/zwIime3eFHQpxgsQziB+wm/Tm99kxK+BMUdib CLrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712150776; x=1712755576; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kr5yQL8fx0u0tyLMbu3sLuMSllEG5G+mAeHccxYfdVY=; b=mUh9yjJk4YYWg67wb9Bq7xFawGVALn0EqNUKuRieXufVvaH2bu81Nz9AI8gS5gidjj jYAb9jcHFjQvCk5qQUNF5D2wz8aCeVtKsGkt9mKB++h9kJiVT/VtRw4SQyPB+1NesMzM MMVvEm/d2Xn08DZwbLtuZNji8YKoqbj1ynHyYfdzaSOQ6cV8+cBRJsuo8nSNIJGaQrVs ZeM153JsslEl7wuYh5ZPhWX73I2bfpcZb4MtHprSwZT0j/ceNnUzCIe48IQ1VizxnMn1 6myw9nwXJPKSzhGuAA3KtlWdVcE9LE3oCuQ2nYhYysuQxZWaEmuWJMuCQrN7k2tqATy6 FGig== X-Gm-Message-State: AOJu0Yx0qOK+y4J/+ncurJyyYvnzjfNj8zoUxZMtwzTLnVOM0DBElHFh 3OGUaTrd0HQxYc1VA6g6zgPzZSMIpm0J0sdWyePbnTlt/cgobOSEpMz0qQtYJkhr4pooCmWns3C k2MlJ6kfL4+mfwviWR6g+V8zBp7egNBu12lJCMA== X-Received: by 2002:a17:90b:19c3:b0:2a2:a7be:3b5c with SMTP id nm3-20020a17090b19c300b002a2a7be3b5cmr1005626pjb.6.1712150776261; Wed, 03 Apr 2024 06:26:16 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Vincent Guittot Date: Wed, 3 Apr 2024 15:26:05 +0200 Message-ID: Subject: Re: kernel/sched/core.c:961:15: error: incompatible pointer to integer conversion passing 'typeof To: Naresh Kamboju Cc: open list , Linux Regressions , lkft-triage@lists.linaro.org, clang-built-linux , Linux PM , Ingo Molnar , Peter Zijlstra , Juri Lelli , Nathan Chancellor , Nick Desaulniers , linux-riscv@lists.infradead.org, Paul Walmsley , Palmer Dabbelt , Albert Ou Content-Type: text/plain; charset="UTF-8" Hi Naresh, Adding riscv people On Wed, 3 Apr 2024 at 09:38, Naresh Kamboju wrote: > > The riscv clang-17 defconfig build failed due to following warnings / errors > on the Linux next-20240402. Could you confirm that there is no problem with other arch and/or other toolchain ? > > Reported-by: Linux Kernel Functional Testing > > riscv: > build: > * clang-17-lkftconfig - Failed > * rv32-clang-17-defconfig - Failed > * clang-17-tinyconfig - Failed > * rv32-clang-17-tinyconfig - Failed > * clang-17-defconfig - Failed > * clang-17-allnoconfig - Failed > * rv32-clang-17-allnoconfig - Failed > > Build log: > ------- > kernel/sched/core.c:961:15: error: incompatible pointer to integer > conversion passing 'typeof (*((__ai_ptr)))' (aka 'struct wake_q_node > *') to parameter of type 'uintptr_t' (aka 'unsigned long') > [-Wint-conversion] > 961 | if (unlikely(cmpxchg_relaxed(&node->next, NULL, WAKE_Q_TAIL))) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ There is no recent change on this code. Could it be a change in cmpxchg_relaxed ? > > Steps to reproduce: > --------- > # tuxmake --runtime podman --target-arch riscv --toolchain clang-17 > --kconfig defconfig LLVM=1 LLVM_IAS=1 > > Links: > - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240402/testrun/23264917/suite/build/test/clang-17-defconfig/details/ > - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240402/testrun/23264917/suite/build/test/clang-17-defconfig/log > > -- > Linaro LKFT > https://lkft.linaro.org