Received: from eggs.gnu.org ([2001:4830:134:3::10]:58145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdwgh-0003jg-RL for qemu-devel@nongnu.org; Wed, 15 Feb 2017 05:19:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdwgd-0007KH-UP for qemu-devel@nongnu.org; Wed, 15 Feb 2017 05:19:51 -0500 References: <20170214225535.6880-1-f4bug@amsat.org> From: Michael Tokarev Message-ID: <14f5cd23-bf50-e52b-ce90-6f199a3ee6d1@msgid.tls.msk.ru> Date: Wed, 15 Feb 2017 13:19:46 +0300 MIME-Version: 1.0 In-Reply-To: <20170214225535.6880-1-f4bug@amsat.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3] register: fix incorrect read mask List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Alistair Francis , Peter Crosthwaite , qemu-trivial@nongnu.org Cc: qemu-devel@nongnu.org 15.02.2017 01:55, Philippe Mathieu-Daud=C3=A9 wrote: > The register_read() and register_write() functions expect a bitmask arg= ument. > To avoid duplicated code, a new inlined function register_enabled_mask(= ) is > introduced. Applied to -trivial, thanks! /mjt