From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Gang Subject: Re: [PATCH] arch: blackfin: kernel: sprintf(), need avoid NUL for '%s' Date: Mon, 17 Jun 2013 09:13:25 +0800 Message-ID: <51BE62B5.1010302@asianux.com> References: <51A5CDB4.9000204@asianux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Mike Frysinger Cc: anton.vorontsov@linaro.org, Richard Kuo , Jesper Nilsson , Andrew Morton , David Miller , "uclinux-dist-devel@blackfin.uclinux.org" , "linux-kernel@vger.kernel.org" , Linux-Arch List-Id: linux-arch.vger.kernel.org On 06/16/2013 11:02 AM, Mike Frysinger wrote: > i think you mean NULL instead of NUL > > that said, the kernel is smart enough to replace NULL with "(null)", > so i don't see much point in this patch Oh, really it is, it is my fault (originally, I did not know about it). Thanks. -- Chen Gang Asianux Corporation From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from intranet.asianux.com ([58.214.24.6]:15836 "EHLO intranet.asianux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750959Ab3FQBOR (ORCPT ); Sun, 16 Jun 2013 21:14:17 -0400 Message-ID: <51BE62B5.1010302@asianux.com> Date: Mon, 17 Jun 2013 09:13:25 +0800 From: Chen Gang MIME-Version: 1.0 Subject: Re: [PATCH] arch: blackfin: kernel: sprintf(), need avoid NUL for '%s' References: <51A5CDB4.9000204@asianux.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Mike Frysinger Cc: anton.vorontsov@linaro.org, Richard Kuo , Jesper Nilsson , Andrew Morton , David Miller , "uclinux-dist-devel@blackfin.uclinux.org" , "linux-kernel@vger.kernel.org" , Linux-Arch Message-ID: <20130617011325.Rg1kzg5n733KoMVrCAKUNvVEYPp0QQjqR-pDmyadJcQ@z> On 06/16/2013 11:02 AM, Mike Frysinger wrote: > i think you mean NULL instead of NUL > > that said, the kernel is smart enough to replace NULL with "(null)", > so i don't see much point in this patch Oh, really it is, it is my fault (originally, I did not know about it). Thanks. -- Chen Gang Asianux Corporation