Date: Sat, 4 Jun 2016 17:20:51 +0000 (UTC) From: Andrew Rybchenko <arybchik@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r301398 - stable/10/sys/dev/sfxge/common Message-ID: <201606041720.u54HKpBf056557@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arybchik Date: Sat Jun 4 17:20:50 2016 New Revision: 301398 URL: https://svnweb.freebsd.org/changeset/base/301398 Log: MFC r300846 sfxge(4): unsigned 1 should be shifted to produce bitmask Found by lint on illumos. Submitted by: Garrett D'Amore <garrett at damore.org> Sponsored by: Solarflare Communications, Inc. Modified: stable/10/sys/dev/sfxge/common/mcdi_mon.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/sfxge/common/mcdi_mon.c ============================================================================== --- stable/10/sys/dev/sfxge/common/mcdi_mon.c Sat Jun 4 17:19:25 2016 (r301397) +++ stable/10/sys/dev/sfxge/common/mcdi_mon.c Sat Jun 4 17:20:50 2016 (r301398) @@ -367,7 +367,7 @@ efx_mcdi_sensor_info_npages( goto fail1; } } while (MCDI_OUT_DWORD(req, SENSOR_INFO_OUT_MASK) & - (1 << MC_CMD_SENSOR_PAGE0_NEXT)); + (1U << MC_CMD_SENSOR_PAGE0_NEXT)); *npagesp = page;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606041720.u54HKpBf056557>