From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750826AbdAXT77 (ORCPT ); Tue, 24 Jan 2017 14:59:59 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35180 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750721AbdAXT75 (ORCPT ); Tue, 24 Jan 2017 14:59:57 -0500 Subject: Re: fs/jffs2/readinode.c:189: faulty logic ? To: David Binderman , "dwmw2@infradead.org" , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" References: <8d72adf5-097f-0c72-edfc-d23d4199e9d4@gmail.com> From: Marek Vasut Message-ID: <80ef981e-32cc-d40c-0f7f-61b0530e5a28@gmail.com> Date: Tue, 24 Jan 2017 20:59:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/24/2017 08:17 PM, David Binderman wrote: > > Hello there, > > > ________________________________ > >> This changes the logic of the code for equality case, please elaborate >> why this is OK. > > RTFM. > > Linux kernel file Documentation/rbtree.txt, around line 95, has the standard logic > for traversing a red black tree. In that case, please RTFM Documentation/process/submitting-patches.rst and we continue the discussion there :) -- Best regards, Marek Vasut