From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 274DAC43381 for ; Fri, 15 Feb 2019 07:54:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 00AF6205C9 for ; Fri, 15 Feb 2019 07:54:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390742AbfBOHyI (ORCPT ); Fri, 15 Feb 2019 02:54:08 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:44611 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730957AbfBOHyI (ORCPT ); Fri, 15 Feb 2019 02:54:08 -0500 X-Originating-IP: 141.70.45.131 Received: from localhost (hadi-gate-vlan-851.hadiko.whka.de [141.70.45.131]) (Authenticated sender: hle@owl.eu.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id C0DD840014; Fri, 15 Feb 2019 07:54:04 +0000 (UTC) Date: Fri, 15 Feb 2019 08:54:04 +0100 From: Hugo Lefeuvre To: Dan Carpenter Cc: Greg Kroah-Hartman , devel@driverdev.osuosl.org, Todd Kjos , Greg Hartman , Alistair Strachan , linux-kernel@vger.kernel.org, Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Joel Fernandes , Martijn Coenen , Christian Brauner Subject: Re: [PATCH] staging/android: use multiple futex wait queues Message-ID: <20190215075404.GA2280@behemoth.owl.eu.com.local> References: <20190214173459.GA10737@behemoth.owl.eu.com.local> <20190215070614.GC2326@kadam> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190215070614.GC2326@kadam> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > + list_for_each_entry(it, &data->futex_wait_queue_list, list) { > > + if (wait_queue->offset == arg->offset) { > ^^^^^^^^^^^^^^^^^^ > You meant "it->offset". Right, this is not good. Fixed in v2. Thanks for the feedback! regards, Hugo -- Hugo Lefeuvre (hle) | www.owl.eu.com RSA4096_ 360B 03B3 BF27 4F4D 7A3F D5E8 14AA 1EB8 A247 3DFD ed25519_ 37B2 6D38 0B25 B8A2 6B9F 3A65 A36F 5357 5F2D DC4C