Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751676AbdFEKV4 (ORCPT ); Mon, 5 Jun 2017 06:21:56 -0400 Received: from ozlabs.org ([103.22.144.67]:48719 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751609AbdFEKVy (ORCPT ); Mon, 5 Jun 2017 06:21:54 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 98b8cd7f75643e0a442d7a4c1cef2c9d53b7e92b In-Reply-To: <20170527154615.29684-1-msuchanek@suse.de> To: Michal Suchanek , Benjamin Herrenschmidt , Paul Mackerras , Mahesh Salgaonkar , Hari Bathini , Andrew Morton , Michal Suchanek , Colin Ian King , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org From: Michael Ellerman Subject: Re: [v2] powerpc/fadump: return error when fadump registration fails Message-Id: <3wh9pn2s7zz9s7M@ozlabs.org> Date: Mon, 5 Jun 2017 20:21:53 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 660 Lines: 18 On Sat, 2017-05-27 at 15:46:15 UTC, Michal Suchanek wrote: > - log an error message when registration fails and no error code listed > in the switch is returned > - translate the hv error code to posix error code and return it from > fw_register > - return the posix error code from fw_register to the process writing > to sysfs > - return EEXIST on re-registration > - return success on deregistration when fadump is not registered > - return ENODEV when no memory is reserved for fadump > > Signed-off-by: Michal Suchanek Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/98b8cd7f75643e0a442d7a4c1cef2c cheers