From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mt3GN-0006TD-7B for qemu-devel@nongnu.org; Wed, 30 Sep 2009 13:46:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mt3GI-0006M3-Jm for qemu-devel@nongnu.org; Wed, 30 Sep 2009 13:46:50 -0400 Received: from [199.232.76.173] (port=36020 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mt3GI-0006Lf-CW for qemu-devel@nongnu.org; Wed, 30 Sep 2009 13:46:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64440) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mt3GH-0006dL-NR for qemu-devel@nongnu.org; Wed, 30 Sep 2009 13:46:46 -0400 Date: Wed, 30 Sep 2009 19:44:46 +0200 From: "Michael S. Tsirkin" Message-ID: <20090930174445.GK1399@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] [PATCH 10/13] linux-user: fix coding style nit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org Put space between = and & when taking a pointer, to avoid confusion with old-style "&=". Signed-off-by: Michael S. Tsirkin --- linux-user/syscall.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index b42567c..bf06d14 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -2067,7 +2067,7 @@ static inline abi_long target_to_host_ipc_perm(struct ipc_perm *host_ip, if (!lock_user_struct(VERIFY_READ, target_sd, target_addr, 1)) return -TARGET_EFAULT; - target_ip=&(target_sd->sem_perm); + target_ip = &(target_sd->sem_perm); host_ip->__key = tswapl(target_ip->__key); host_ip->uid = tswapl(target_ip->uid); host_ip->gid = tswapl(target_ip->gid); -- 1.6.5.rc2