Received: by 10.223.176.5 with SMTP id f5csp1215621wra; Tue, 6 Feb 2018 15:01:18 -0800 (PST) X-Google-Smtp-Source: AH8x224/KPPdDfCEMXQrdpScS25s2fTAxDakm87uPrU0YaI35Q3v19zkFUcxqaeSbsJdbbdW1kVl X-Received: by 10.98.98.1 with SMTP id w1mr3895900pfb.9.1517958078401; Tue, 06 Feb 2018 15:01:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517958078; cv=none; d=google.com; s=arc-20160816; b=EC4PlcsDjyWl3wEQdh43qClhDCXew+PcZgnXXN7avgh7cwSlsignM4byZvYe3pPspl vyzSezINqlC7Z5Vf9MtWDPMTrulu4gll6KoubYcQHQNf9R5oEICSRnhmRpSvXxHDztlB pUP36MIlRMdspbS81iyb2bZbF2If5u/OEyXR8vkxtWfS4ePJbesNbcipQRPvOBi9C+nc KtL8xMT1ZdYh2QfHOLj6NovqMy41LRzcMzSh+I/yFOic/vITPKmjT5UITGzFYYPDaoNP NggqdTa2k0hVRUSvuS3hQMV6zAd99eCTRXROrhtjP+nwvKf5g6PSaOcQN6tcqXhhLNQH yiGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=k/ylDC0r5u/exJ8Akvsm3W6gc5uq98PoIa0Ym7ZdEt0=; b=acNkEfM3NXqIxpmcT4zq0h6DX91HyqzJpQqWQFMVkbL1n4Pe8FqDZd8IJ7VkAmFGTZ /HMntFIR3O4l4zHk1nbS4DLxhbnYtRdu3WVrUsD59zaTQ/ulX6VkHCqAf73zD8Td4eTZ UIasIwSMR02atsws1kGVe0/vN4nMrQ10W7HkZT+b78A0KiXvisdeHw9YUd9LdFD3C4Da M50L28u5/Nkm/SqznOBJd5bwppWOiKc7OcGr+mZdwV3IcO4cfmYq+EC6sRZwfLMwYIce 0jns6KR5SntrRR2GYkIcJzJf+1z+vJvdIhPZaq22ZGpaQZ64O1z3fa8K8uU2qFgTgZNO eRzw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 85si85123pfz.106.2018.02.06.15.01.04; Tue, 06 Feb 2018 15:01:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753988AbeBFXA1 (ORCPT + 99 others); Tue, 6 Feb 2018 18:00:27 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:40817 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753647AbeBFXAZ (ORCPT ); Tue, 6 Feb 2018 18:00:25 -0500 Received: by mail-oi0-f66.google.com with SMTP id 8so2620760oix.7 for ; Tue, 06 Feb 2018 15:00:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=k/ylDC0r5u/exJ8Akvsm3W6gc5uq98PoIa0Ym7ZdEt0=; b=tk8h6YD2/EuLeTcMAirVfWb24WEhN8v6opVafvnur/0jrflY3fm031K6l2oJLMzEb5 yXX3MVk/Pn8rs1edwjMcSjYd8YMgnvpjHdK4KAK8VYwR9Aa/6J4/cFePpOwF1bJQOs2j FeMQDhGs6sBGwWgPyBED6w2HTrcuoYQro0xuofmblvszptp7r7oOi6yb2Cvgpnqwq3JB 9QwBdMS58UafZ4IP6cJr7FO6G3UxZ3KgA5I7PwATFfiCWQoNZ3ApkXIAk6OTOlqlX7RI gk0R1M9swHfbuT9fE5v4crXnwJB9ihx6Hw95trdYA2ZVfMD0NiPLePWRwURjGE/Wghgy g1pw== X-Gm-Message-State: APf1xPBDtuCmfsJghclX3s6MzE8EQieGmiIG0OmMEmdMDh5b1aGDSk1u A64wOyaQlMZto0oUrkzAFkKr6Wytdlc= X-Received: by 10.202.56.68 with SMTP id f65mr2798488oia.74.1517958024479; Tue, 06 Feb 2018 15:00:24 -0800 (PST) Received: from ?IPv6:2601:602:9802:a8dc::f21a? ([2601:602:9802:a8dc::f21a]) by smtp.gmail.com with ESMTPSA id p10sm72914oig.6.2018.02.06.15.00.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 15:00:23 -0800 (PST) Subject: Re: [PATCH 2/2] staging: android: ion: Remove lable debugfs_done To: Yisheng Xie , gregkh@linuxfoundation.org Cc: sumit.semwal@linaro.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org References: <1517488447-41252-1-git-send-email-xieyisheng1@huawei.com> <1517488447-41252-2-git-send-email-xieyisheng1@huawei.com> From: Laura Abbott Message-ID: <6fa110ed-afab-b707-a2e9-7a1a94ccf92f@redhat.com> Date: Tue, 6 Feb 2018 15:00:22 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <1517488447-41252-2-git-send-email-xieyisheng1@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/01/2018 04:34 AM, Yisheng Xie wrote: > When failed to create debug_root, we will go on initail other part of > ion, so we can just info this message to user and do not need a lable > to jump. > Acked-by: Laura Abbott > Signed-off-by: Yisheng Xie > --- > drivers/staging/android/ion/ion.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c > index 3e41644..70a70f5 100644 > --- a/drivers/staging/android/ion/ion.c > +++ b/drivers/staging/android/ion/ion.c > @@ -601,12 +601,9 @@ static int ion_device_create(void) > } > > idev->debug_root = debugfs_create_dir("ion", NULL); > - if (!idev->debug_root) { > + if (!idev->debug_root) > pr_err("ion: failed to create debugfs root directory.\n"); > - goto debugfs_done; > - } > > -debugfs_done: > idev->buffers = RB_ROOT; > mutex_init(&idev->buffer_lock); > init_rwsem(&idev->lock); >