From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755310Ab0DTUxY (ORCPT ); Tue, 20 Apr 2010 16:53:24 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:56134 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755214Ab0DTUxW (ORCPT ); Tue, 20 Apr 2010 16:53:22 -0400 From: Andreas Schwab To: Christian Kujau Cc: Michael Ellerman , "Rafael J. Wysocki" , Linux Kernel Mailing List , linuxppc-dev@ozlabs.org, Kernel Testers List , adobriyan@gmail.com, Maciej Rutecki Subject: Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316 References: <1271765898.4324.2.camel@concordia> X-Yow: It's hard being an ARTIST!! Date: Tue, 20 Apr 2010 22:53:19 +0200 In-Reply-To: (Christian Kujau's message of "Tue, 20 Apr 2010 11:15:05 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christian Kujau writes: > + while ((p = strstr(p, "/"))) You want to use strchr. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by ozlabs.org (Postfix) with ESMTP id 7A89FB7D0E for ; Wed, 21 Apr 2010 06:53:24 +1000 (EST) From: Andreas Schwab To: Christian Kujau Subject: Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316 References: <1271765898.4324.2.camel@concordia> Date: Tue, 20 Apr 2010 22:53:19 +0200 In-Reply-To: (Christian Kujau's message of "Tue, 20 Apr 2010 11:15:05 -0700 (PDT)") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Rafael J. Wysocki" , Linux Kernel Mailing List , linuxppc-dev@ozlabs.org, Kernel Testers List , adobriyan@gmail.com, Maciej Rutecki List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Christian Kujau writes: > + while ((p = strstr(p, "/"))) You want to use strchr. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Schwab Subject: Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316 Date: Tue, 20 Apr 2010 22:53:19 +0200 Message-ID: References: <1271765898.4324.2.camel@concordia> Mime-Version: 1.0 Return-path: In-Reply-To: (Christian Kujau's message of "Tue, 20 Apr 2010 11:15:05 -0700 (PDT)") Sender: kernel-testers-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Christian Kujau Cc: Michael Ellerman , "Rafael J. Wysocki" , Linux Kernel Mailing List , linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, Kernel Testers List , adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Maciej Rutecki Christian Kujau writes: > + while ((p = strstr(p, "/"))) You want to use strchr. Andreas. -- Andreas Schwab, schwab-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."