Received: from eggs.gnu.org ([2001:4830:134:3::10]:55671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2Lum-0004bM-8i for qemu-devel@nongnu.org; Fri, 27 Nov 2015 11:30:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2Luh-0001Tz-9c for qemu-devel@nongnu.org; Fri, 27 Nov 2015 11:30:28 -0500 From: Markus Armbruster References: <1448626105-29540-1-git-send-email-pbonzini@redhat.com> <87oaefzeuh.fsf@blackfin.pond.sub.org> <56586B7D.2040205@redhat.com> <877fl3v5fm.fsf@blackfin.pond.sub.org> <56588168.2070003@redhat.com> Date: Fri, 27 Nov 2015 17:30:20 +0100 In-Reply-To: <56588168.2070003@redhat.com> (Paolo Bonzini's message of "Fri, 27 Nov 2015 17:14:32 +0100") Message-ID: <87poyvpfqb.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH for-2.5] bt: fix two struct sizes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org Paolo Bonzini writes: > On 27/11/2015 16:16, Markus Armbruster wrote: >>>> >> Since you also fix RESET_FAILED_CONTACT_COUNTER_RP_SIZE, I assume you >>>> >> checked them all. >>>> >> >>>> >> Reviewed-by: Markus Armbruster >>> > >>> > No, I just copied the upstream bluez patch. >> At least CREATE_CONN_CANCEL_CP_SIZE is also wrong. >> >> Any particular reason not to mass-convert to sizeof and call it a day? > > No particular reason, but it is bluetooth after all. :) Okay, no need to say more. A bit of Emacs wizardry produced a test program, which coughed up three more: type sizeof() _SIZE create_conn_cancel_cp 7 6 reset_failed_contact_counter_rp 3 4 read_link_quality_cp 2 4 inquiry_info 15 14 evt_encrypt_change 4 5 I'll send a patch.