From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751246AbdHRFZx (ORCPT ); Fri, 18 Aug 2017 01:25:53 -0400 Received: from mail-ua0-f178.google.com ([209.85.217.178]:34730 "EHLO mail-ua0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750831AbdHRFZv (ORCPT ); Fri, 18 Aug 2017 01:25:51 -0400 MIME-Version: 1.0 In-Reply-To: <20170818052613.GE3053@localhost> References: <1501583880-32072-1-git-send-email-anup.patel@broadcom.com> <1501583880-32072-16-git-send-email-anup.patel@broadcom.com> <20170817080142.GC3053@localhost> <20170818052613.GE3053@localhost> From: Anup Patel Date: Fri, 18 Aug 2017 10:55:49 +0530 Message-ID: Subject: Re: [PATCH v2 15/16] dmaengine: bcm-sba-raid: Add debugfs support To: Vinod Koul Cc: Rob Herring , Mark Rutland , Dan Williams , Florian Fainelli , Scott Branden , Ray Jui , Linux Kernel , Linux ARM Kernel , Device Tree , dmaengine@vger.kernel.org, BCM Kernel Feedback Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 18, 2017 at 10:56 AM, Vinod Koul wrote: > On Fri, Aug 18, 2017 at 10:33:54AM +0530, Anup Patel wrote: >> On Thu, Aug 17, 2017 at 1:31 PM, Vinod Koul wrote: >> > On Tue, Aug 01, 2017 at 04:07:59PM +0530, Anup Patel wrote: >> > why fail, debugfs should be an optional thingy, why would you want to fail here? >> >> Yes, we are handling the case when debugfs is not available >> and skipping debugfs gracefully. >> >> If debugfs is available then failure of debugfs_create_dir() >> should be reported. > > reported yes, bailing out on that err no.. OK, I will put dev_err() instead of bailing out. Regards, Anup