From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758974AbdJQOZU (ORCPT ); Tue, 17 Oct 2017 10:25:20 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:44402 "EHLO mail-it0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758823AbdJQOZT (ORCPT ); Tue, 17 Oct 2017 10:25:19 -0400 X-Google-Smtp-Source: ABhQp+TBcQ495ePmmFAc0CnhEu+8oJd2EvcdOQAQHoGp6g0SepTabYsfyF2/YvzIuBNPVrbc4AGGyg== Subject: Re: [PATCH -next] nullb: fix error return code in null_init() To: Wei Yongjun , matias@cnexlabs.com, shli@fb.com, kkc6196@fb.com, bart.vanassche@sandisk.com, zhangweiping@didichuxing.com Cc: linux-kernel@vger.kernel.org References: <1508242306-73835-1-git-send-email-weiyongjun1@huawei.com> From: Jens Axboe Message-ID: <912f96c4-bc24-f191-b81a-b95158828ff4@kernel.dk> Date: Tue, 17 Oct 2017 08:25:16 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1508242306-73835-1-git-send-email-weiyongjun1@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/17/2017 06:11 AM, Wei Yongjun wrote: > Fix to return error code -ENOMEM from the null_alloc_dev() error > handling case instead of 0, as done elsewhere in this function. Applied, thanks. -- Jens Axboe