Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1702390ybt; Thu, 2 Jul 2020 11:37:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqKf8kGUGpTCk+2G5agNHeTHyFCnoDVbnDJ4S5vEGdCu8y46YDHajjEPSk8pnmvVZIcGmo X-Received: by 2002:a50:f392:: with SMTP id g18mr14078042edm.151.1593715055558; Thu, 02 Jul 2020 11:37:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593715055; cv=none; d=google.com; s=arc-20160816; b=lzFzaXVxQrNBWFqlW93VlWQCoShAsx49XA6GYlIhNkpMbQePwjUm+zO7bju8iq/coo lmASRMY/3mF6sjsWQPHZ4vRIZYQSH7ae8bYrrAjjnOqtzXHXg765R9697xGOmkJGtlWX guI6entgjwM0eb9Cw63lsOhpryAecTFvc2ywiCxi0tfkl8dH+RHennLz6m3+k8NDI3qr eSCAhDZPHdvqHb6i76k7Wj5kpCJ7TLSaT3viyNXFT65v9RAmNcXzqmZFjvp3wlvvno2y /INvGMIyeRD95Nmej9FWVPxMLrYmWlaIvkYTlVN1kXxW08j2x9CJgu2L9Y9I/aQOIXKA +LTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=MNssSRL5VDHBEwMmESrzbetHFEmdSKVoiZ/DxGzxsmo=; b=kjJ8mvkn1LBoEj0Aw1a7ap7G4HHJIPtsLXw7jqELMRS2vscdPIWj0p9dlz7zQHLZyI wKzkqR1kpK58Umrv1wC79qtjer4ewTfgNFQ1GuTyoPZZy8imb70uP4qVoWehq4wij2ji JZinZOxsXOkL/aB2TnhFvhfiXFmCllg9GjOM3CEsX21X4L0cQDObp9AX+2gtpSVsiMvR 5oolXgmipL0k9babAS9kSfbW8GWELSvpnXeXOWTdN3Q7bNtyGCwWr9eN01luaQUQPBbq 7GEvcH87lj4AMFQd5pJDgAegEWGVNjqqr9bZZlYCt+mSMZPJlvp7Uh0IhRk7RSxnRdI2 6CSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IdyL+RqL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ni7si6034067ejb.725.2020.07.02.11.37.12; Thu, 02 Jul 2020 11:37:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IdyL+RqL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728010AbgGBShC (ORCPT + 99 others); Thu, 2 Jul 2020 14:37:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:42818 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726560AbgGBShC (ORCPT ); Thu, 2 Jul 2020 14:37:02 -0400 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 720F520772; Thu, 2 Jul 2020 18:37:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593715021; bh=oXyP873JXSxXUDLaJ2PczCr29+H24VrrrxyBBBQsazU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=IdyL+RqLvFEIYSADu+2aioFigAqG8eb+ZRswbNwAzkoMmi7aROVNoTOs3uVvEqHAj 5f++O5rpEwaW/WUOzKGFVoyut1KnBRzOq7whpDSHQI7RcHzNwvoVwCmx12XgWUSOBM +EI+S1aoIRkFj9CZZTK9iRGDExutbMFJad0tf69Q= Received: by mail-lf1-f48.google.com with SMTP id g139so16817153lfd.10; Thu, 02 Jul 2020 11:37:01 -0700 (PDT) X-Gm-Message-State: AOAM532TV4zyAQuXqF671KnQgWuVmPM59xwNTqiBtcvo+QfQxEqp453d bKpVNqVdFtJfN/ID/rF8wQ5gC2RNchOrw1CFgs8= X-Received: by 2002:a19:701:: with SMTP id 1mr18954532lfh.138.1593715019783; Thu, 02 Jul 2020 11:36:59 -0700 (PDT) MIME-Version: 1.0 References: <20200702113502.37408-1-colin.king@canonical.com> In-Reply-To: From: Song Liu Date: Thu, 2 Jul 2020 11:36:48 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] md: raid0/linear: fix dereference before null check on pointer mddev To: Guilherme Piccoli Cc: Colin King , NeilBrown , linux-raid , kernel-janitors@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 2, 2020 at 7:41 AM Guilherme Piccoli wrote: > > Great catch Colin, thanks! > Feel free to add my: > > Reviewed-by: Guilherme G. Piccoli Thanks Colin and Guilherme! Applied to md-next. > > > P.S. Not sure if it's only me, but the diff is soo much easier to > read when git is set to use patience diff algorithm: > https://termbin.com/f8ig Agreed. Patience is cleaner.