From nobody Fri Nov 1 20:21:49 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XgC2546Pjz5cPmm for ; Fri, 01 Nov 2024 20:21:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XgC252CwDz4VZp for ; Fri, 1 Nov 2024 20:21:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730492509; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lHRN5+j3jyqM949MtgBnHhKGPu+CbEJzZJJJAIziFv8=; b=UhsQ2vg1dKhl5diDHPwjv5iKx6oK9av37q1j6aSAtls24I7e7J4IArwmFncXa+ycvrmZGd JnRGR/X9ZhmyzhaJPRbW6P2trZniXH1rPMRHD+Yq1CI0nnqi3hXSD07SHykFc+7wAEnltS +XORhB2lc3tWXKCxEsRQdmFmq0Yyf5pMZ+fkk/LCjg2rtWfZMcNwM+mBvsIWK4VM5pBw5N AtT97Off0tQFUbVa2JrZk/R9w0ldxxjg4KElqalMdTyL048T7gO836rlsQ9QWwGPaPnbLv 2T31+eVPLc0jvUBRYwpzN0Yg2fBTWSrMoYzJVaDKlmRrVZ18LNDDwrgEoVodkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730492509; a=rsa-sha256; cv=none; b=bNQFBxYA2kiNLiuCj0RXe94BFOVJIvoUbqQrgGe11BoVMkVFd9cEpJ0kJKNRjjpJ/WD3bb NcbbQqM35B2nMFg1t3NvOP391xKbwixohNrW1W0DmALYYN0p9mGE/n3KgFOYWM8iJENvmw uL/9pYfIQbkTbYE8oIwTzXKVn9cFJqEAU/WO29/OIbmM3ldkVLbHF39wrZ03dzY7XGl3md u4OnssvosNQFJb4E+hBqzqWulDkvAdaLieK9Ig4Vg3bzNanJk0P8j/MyjrLc6eztjBLeE3 ygwRU65qUKbGVzTEectIC5wak2zlru+3WzEdCRLrLUo76MSSjdRqjAKGN+LY/w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XgC251gr7zZL9 for ; Fri, 1 Nov 2024 20:21:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4A1KLndL023993 for ; Fri, 1 Nov 2024 20:21:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A1KLnwO023992 for bugs@FreeBSD.org; Fri, 1 Nov 2024 20:21:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282479] LinuxKPI: lockdep_is_held() user doesn't build after LLVM 19 import Date: Fri, 01 Nov 2024 20:21:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 2khramtsov@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282479 Bug ID: 282479 Summary: LinuxKPI: lockdep_is_held() user doesn't build after LLVM 19 import Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: 2khramtsov@gmail.com drm-kmod 5.10-lts branch on -CURRENT: [...] --- intel_context_param.o --- In file included from /tmp/drm-kmod/drivers/gpu/drm/i915/gt/intel_context_param.c:6: In file included from /tmp/drm-kmod/drivers/gpu/drm/i915/i915_active.h:10: /usr/src/sys/compat/linuxkpi/common/include/linux/lockdep.h:86:27: error: expected ')' 86 | lockdep_is_held(void *__m __diagused) | ^ /usr/src/sys/compat/linuxkpi/common/include/linux/lockdep.h:86:16: note: to match this '(' 86 | lockdep_is_held(void *__m __diagused) | ^ --- intel_engine_heartbeat.o --- [...] I've built drm-kmod {5.10,5.15,6.1}-lts and master, GENERIC, GENERIC-NODEBUG kernels with: diff --git a/sys/compat/linuxkpi/common/include/linux/lockdep.h b/sys/compat/linuxkpi/common/include/linux/lockdep.h index 70a4e45867f..85878d4100c 100644 --- a/sys/compat/linuxkpi/common/include/linux/lockdep.h +++ b/sys/compat/linuxkpi/common/include/linux/lockdep.h @@ -83,7 +83,7 @@ struct pin_cookie { #endif static __inline bool -lockdep_is_held(void *__m __diagused) +lockdep_is_held(void *__m) { #ifdef INVARIANTS struct lock_object *__lock; --=20 You are receiving this mail because: You are the assignee for the bug.=