From owner-freebsd-current@FreeBSD.ORG Sun Oct 6 21:39:19 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1DE0A5BD for ; Sun, 6 Oct 2013 21:39:19 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm34-vm3.bullet.mail.bf1.yahoo.com (nm34-vm3.bullet.mail.bf1.yahoo.com [72.30.239.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 971A020D8 for ; Sun, 6 Oct 2013 21:39:18 +0000 (UTC) Received: from [98.139.212.144] by nm34.bullet.mail.bf1.yahoo.com with NNFMP; 06 Oct 2013 21:39:11 -0000 Received: from [98.139.211.206] by tm1.bullet.mail.bf1.yahoo.com with NNFMP; 06 Oct 2013 21:39:11 -0000 Received: from [127.0.0.1] by smtp215.mail.bf1.yahoo.com with NNFMP; 06 Oct 2013 21:39:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1381095551; bh=xWaI0dqZPB3dp8Pja39gSbb+GykhJecJ0JBwibpC7CI=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=pw9Wo8bH5KwDjYo19N7ZhWqetur++qAoZx3Lq8J1b4jk2na4jt+eUpBgLlZ/FkuwZWHNJM5Ryt6Nvt4m9BjPRiLc9YsdZFgQ6970aTFlIYVBOYttE4fQn0BuyNFgNsxfoWkVD/KZjaK5TKOTLmiGtr59P/T4UWbcxcJLZayMps4= X-Yahoo-Newman-Id: 423583.23012.bm@smtp215.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: AZQ.MFUVM1mW6boJS7kMEMd8GoNuzlv7kPNRfADLbx8RneU HlrMjTTTubdYo33x9QsmQl7t02OjUobqAMLTSgZVbepQx7CiKDhjtKu9x2wJ cTUwn5QqjIUujLdsw41AUzUOgNOLsVJp88fm35aPbUKE_epsMwuxnmmR3b1z 6HortYG3elNHKCgidFOpnLstty_eMiVl.6h8DEbF4fh95bohGJ3JKFUTAHgx YCF7zxkFY0mUW5OgeSE1i9DCYOwZV532faEYcJTX8VlRHWM7riyzgGJpqjBI _AV5cHP2J4aVwwbA9_yMZ8cTYyGG6j2huWGUHRWuh7oJ82dYX9LqPa1XEp_d v8jecjAMthzStOsHb1Tsk8zoRlWjNrSd7s_N65Jik63bcjsIYC7y5QpFfN7Q ItQMzfLBLIKGVRFO.oNI8uriVGKJakuT2CRVLxeKXQ_M1MLt8ci0kx3YESiY rQiBQvMS29k_5A8N8mDdaCEgOzwu3T8kuvOoHQA81KYq0Wy6OlPwVTjzQKnj TcGb5YqvH5_Ii8q6kJ4yqHNY3cP5Cc3xN_XzMARuFxsUCNawO_4EK X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [192.168.100.228] (sean_bruno@24.23.220.111 with ) by smtp215.mail.bf1.yahoo.com with SMTP; 06 Oct 2013 14:39:11 -0700 PDT Subject: drm2/radeon dfixed_trunc() warnings From: Sean Bruno To: "freebsd-current@freebsd.org" Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-rgtCoYwmDgK4fOHKYw7y" Date: Sun, 06 Oct 2013 14:39:09 -0700 Message-ID: <1381095549.1586.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Oct 2013 21:39:19 -0000 --=-rgtCoYwmDgK4fOHKYw7y Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable These caught my eye today, and the checks strewn about sys/dev/drm2/radeon seem completely bogus to me, but I don't have the h/w to test it at the moment. /usr/src/sys/modules/drm2/radeonkms/../../../dev/drm2/radeon/rs690.c:491:37= : warning: comparison of unsigned expression < 0 is always false [-Wtautolo= gical-compare] if (dfixed_trunc(priority_mark02) < 0) dfixed_trunc is a macro: drm_fixed.h:#define dfixed_trunc(A) ((A).full >> 12) that returns the output of a shift right operation ... priority_mark02 is of type union fixed20_12, single element union of type u32, so I can't see this check ever doing anything useful. But, as always, I'm probably missing something obvious. =20 Sean --=-rgtCoYwmDgK4fOHKYw7y Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (FreeBSD) iQEcBAABAgAGBQJSUdh5AAoJEBkJRdwI6BaHMXoH/2a5cP+Wo/00dPi//49N/Jqq jzd1UE3Fy2ZAIsesPmSMMmY3i2ZnvcTFrhrXYuAIoviagREd24SEATm98SHNpOO2 Q4LmnQ2oSMBvoERA/ORnKqG6hPUNAl2WshfpC6OA/1DToy8mN58/moX1jQNNbO3d ulFKW1kTsXTf4LQmspGl0lcytVoONVfk3RY6FXzUKnYJ84VQ0C04Ya987hV3vwjZ 3kg7dgYqhqCELSzxh+XGznPb8iBk+9mYrs3d8oe6X/m694opVaohPQr7nrUFdH70 oIGcaUhn5Lny9yYt+VYcvAh9XZh9JHwIy9r4LPk4avJNJaPqksEef0oNayzglBE= =zlR4 -----END PGP SIGNATURE----- --=-rgtCoYwmDgK4fOHKYw7y--