From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axwTu-0001Iy-T3 for qemu-devel@nongnu.org; Wed, 04 May 2016 09:04:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axwTj-0004MJ-9x for qemu-devel@nongnu.org; Wed, 04 May 2016 09:04:41 -0400 From: Laurent Vivier Date: Wed, 4 May 2016 15:04:05 +0200 Message-Id: <1462367048-20997-1-git-send-email-lvivier@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] muldiv64() trivial fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org Cc: Laurent Vivier Some fixes in the use of muldiv64() The patches have been generated with the help of coccinelle. The first patch contains the scripts used to generate the two following patches. As it is done for linux, I've added the scripts under scripts/coccinelle. Laurent Vivier (3): scripts: add muldiv64() checking coccinelle scripts The only 64bit parameter of muldiv64() is the first one. remove useless muldiv64() hw/timer/omap_gptimer.c | 4 +-- hw/usb/hcd-ohci.c | 2 +- scripts/coccinelle/remove_muldiv64.cocci | 6 +++++ scripts/coccinelle/swap_muldiv64.cocci | 46 ++++++++++++++++++++++++++++++++ 4 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 scripts/coccinelle/remove_muldiv64.cocci create mode 100644 scripts/coccinelle/swap_muldiv64.cocci -- 2.5.5