From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.emlix.com (mx1.emlix.com [178.63.209.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C0976222582 for ; Thu, 19 Dec 2024 10:19:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.63.209.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734603544; cv=none; b=K+B0nupq2VeQTQ84tL990GYePv2FipRnDCCVji+nBy4pAnanQtFp5jcBKIDKu8aeOgnywE67LeWhsYXxddGySGTaf+hTlU5iPMACVUcLD6c8RLduMGlXP+0BeJIV9ie7dGtIRbr9rrC4q4quZCCuQoQ5c74KlPYSZGY/ydSGdlc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734603544; c=relaxed/simple; bh=trc31vAfmwbn1du0Nls7WlU+pqGDiD3En0S58f/P5ds=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=JDCD+kfpNNy4SrkV/OzHiAuP0KDBxCagiARG7w2l8rlf2IIpN2x4/y11Er+XnwXiQw4SJXw/7KyHlpz9u8LhsgKL1mgy7yribU0rV5IgnoUyJw0BSUao+60wKz+vYYxbFRm5/k0N/vLmdFk8p31FGrVWdVJj+nz9+OrLVVzApsk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=emlix.com; spf=pass smtp.mailfrom=emlix.com; arc=none smtp.client-ip=178.63.209.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=emlix.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=emlix.com Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de [80.152.190.82]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.emlix.com (Postfix) with ESMTPS id 0FBCB5FA41; Thu, 19 Dec 2024 11:18:37 +0100 (CET) From: Rolf Eike Beer To: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin Cc: intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] annotate i915_gem_object_trylock() as __must_check Date: Thu, 19 Dec 2024 11:16:07 +0100 Message-ID: <7746997.EvYhyI6sBW@devpool47.emlix.com> Organization: emlix GmbH Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3849359.kQq0lBPeGt"; micalg="pgp-sha256"; protocol="application/pgp-signature" --nextPart3849359.kQq0lBPeGt Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Rolf Eike Beer Cc: intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Date: Thu, 19 Dec 2024 11:16:07 +0100 Message-ID: <7746997.EvYhyI6sBW@devpool47.emlix.com> Organization: emlix GmbH MIME-Version: 1.0 A while ago I did an attempt to convert some *_trylock*() functions to=20 __must_check annotation. I have refreshed that and the only new compile err= or=20 I found was in i915/gt/selftest_migrate.c. Here is what I have come up with as a solution for this. I have not observe= d=20 any actual error about this, so you may prefer an entirely different way. Regards, Eike =2D-=20 Rolf Eike Beer emlix GmbH Headquarters: Berliner Str. 12, 37073 G=C3=B6ttingen, Germany Phone +49 (0)551 30664-0, e-mail info@emlix.com District Court of G=C3=B6ttingen, Registry Number HR B 3160 Managing Directors: Heike Jordan, Dr. Uwe Kracke VAT ID No. DE 205 198 055 Office Berlin: Panoramastr. 1, 10178 Berlin, Germany Office Bonn: Bachstr. 6, 53115 Bonn, Germany http://www.emlix.com emlix - your embedded Linux partner --nextPart3849359.kQq0lBPeGt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iLMEAAEIAB0WIQQ/Uctzh31xzAxFCLur5FH7Xu2t/AUCZ2PyZwAKCRCr5FH7Xu2t /FuRBACBwe7MH/m8FCyJ2vScbYoIXb2qklwrHuyXiNBDw5hoAiF5ohaRvz4vy9sB PtJmPOBQTcmODW+lWRWtqtCiqP6LRBqljQ242OoOPTil1fT2PyGU99CSieTCYI9d MmhK2aqDmooA1XZTd1/ixw2jbz5nP9IPA9X1OQejbLjYbj5Ttg== =dMfn -----END PGP SIGNATURE----- --nextPart3849359.kQq0lBPeGt--