From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755990Ab1KRCrw (ORCPT ); Thu, 17 Nov 2011 21:47:52 -0500 Received: from mga09.intel.com ([134.134.136.24]:18442 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752751Ab1KRCrv (ORCPT ); Thu, 17 Nov 2011 21:47:51 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,351,1309762800"; d="scan'208";a="77030314" Message-ID: <4EC5C753.6040904@linux.intel.com> Date: Fri, 18 Nov 2011 10:47:47 +0800 From: Chen Gong User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Kees Cook CC: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Andrew Morton , Arnd Bergmann , Nicolas Pitre , Marco Stornelli , Paul Gortmaker Subject: Re: [PATCH 1/2] ramoops: use pstore interface References: <1321478739-8978-1-git-send-email-keescook@chromium.org> <1321478739-8978-2-git-send-email-keescook@chromium.org> <4EC49D13.2010206@linux.intel.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [...] >>> + /* TODO(kees): It shouldn't be possible to remove ramoops since >>> + * pstore doesn't support unregistering yet. When it does, remove >>> + * this early return and add the unregister where noted below. >>> + */ >>> + return -EBUSY; >> >> This style is not reasonable. Maybe it should have a better wrap. > > I'm not sure I understand what you mean. It's wrapped roughly to > column 75 already. What would be better for this comment? Or did you > mean I shouldn't have unreachable code? I mean you shouldn't write unreachable codes. It looks weird. > >> BTW, you need to update Documentation/ramoops.txt > > Ah! Yes, thanks for the reminder. > > -Kees >