Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1767137ybk; Thu, 21 May 2020 14:58:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9aKFyYPuNyOLwXfKDzK6MKOECjN+3gPeO0RtM7Pk0txYx+Xl/4pg/2r8mPJ0UJIn9wJ3R X-Received: by 2002:a17:906:29d3:: with SMTP id y19mr5444856eje.258.1590098334455; Thu, 21 May 2020 14:58:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590098334; cv=none; d=google.com; s=arc-20160816; b=WNmBTazmTkyMBWVwbNDm4J429E5OHs7+32/zf5F5gYjuUfZ4P36cKX73ch6D0RW6ls fjYxUxElxgi2+sukgqlzRn1L1+Lsh2N1ZN/GCGIcwXkV5yb0CXhIaZSC3IehAG2DeCoP io0KEjsMKGfW25fRJPiAKRtgqho3uaV2TaHsc9Li6PIVQVkLwjH+BYsnE4fYsNQW7fSl r2fz81p4hM64CptPZ45ucAMjZbw0l9iIcCrwL9yMB+G2HVnz/S6Q6y/DUZGzgOMjcgbz KTNT12hOfeBk1SLCIv1uSCXTisThYS5yumaJ6y8wXLSX+5E2yoh+ipvEElZcHH8yw5GX 2Anw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=zj7wlorajH5QEGOvmukt5Ng2y7zQi2o9lvN+n4B6Bus=; b=IHH5+ZfhABbBoCqLMgzR/tf4z+WNg+03kWK+2fXBD00+5mSgds4eJEFeHMbQsY1yMa pZaTAdaXBnkOgsNOERMJH2WD88OS7YOa8xOWRQu3nA1osxKs6MSp18Frx56w1zUGzkK/ 9dUe6mWaCOgwzDbDVAusnC7GXEer2ia5DDO/uyQ8CFM4gnR97aH9ZDtcsWaVjHLBusZ4 14q3/QWFSUp4zaNqRx/8OEprIBbTjbDJvFFj2wozYuaSXDZW2DHwNKEh4t85wgiyv3A3 bM68lyePe7ip/eTRvkLb2lVCgr7lQ1Vb65hkMJRYs69G2j5bI0uD0GqGKNfJUipHSONz tHww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=iw1k6LzK; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o5si4175100ejr.637.2020.05.21.14.58.32; Thu, 21 May 2020 14:58:54 -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=@chromium.org header.s=google header.b=iw1k6LzK; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730519AbgEUV4P (ORCPT + 99 others); Thu, 21 May 2020 17:56:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730402AbgEUV4P (ORCPT ); Thu, 21 May 2020 17:56:15 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7547FC061A0E for ; Thu, 21 May 2020 14:56:15 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id f6so3961133pgm.1 for ; Thu, 21 May 2020 14:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zj7wlorajH5QEGOvmukt5Ng2y7zQi2o9lvN+n4B6Bus=; b=iw1k6LzKCJq6WK0AdVAgBoDK+EWjot2oTJVT/KHAX7p+eCdQiphbcxF431SUFyUI4i OyNpBrzqs2JiBAUnOWvTfHFcLdrtbDfwHI0P8kYg1cNuFbcPVY16iDo0GxR2hmo1uu6A 4SJ2dB17qspfCpVczaxcW/+IpJ0p3zGfCZKBk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zj7wlorajH5QEGOvmukt5Ng2y7zQi2o9lvN+n4B6Bus=; b=aSGSgV8EUG5//POjoH6nYatDpD+Wxp/yTvwv2Iq4LVdcsHeR/D+TuuAORQkSc21C1T kKTbnhxkvO/5dT90I9hXD6idlml8I7m/rFM6oH9bMUCiXfB/4p6ORak85h0ONsB5ht3Q 3U6B7D07vfeeIIF8q4faXUz3Fh1mVdzksgBwZJNi6ORecJ0fmCLJ0EcYoVBMzVM7yVnM TLtfnRuUO6D/sGdb5/+g73nDRyY8SdfvSsb3Xxvh5voWndK6rtA5GmyXC3czIlsahGWA +4U+WY02jqSCUJN4smRrdgj6UETtGxw/A+vyQqoXhrFdw8H02otHXQZgRUsmLnmqX7XF cYTw== X-Gm-Message-State: AOAM533G00gA1kE/NF0i42WQqGRNcnvKKfCzyHa7iFqD7Dtb6avUxqzq X8EXl22VxO3D/gZIcGfmmJclsg== X-Received: by 2002:a63:715a:: with SMTP id b26mr10709591pgn.433.1590098175026; Thu, 21 May 2020 14:56:15 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id y14sm5137607pjr.31.2020.05.21.14.56.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2020 14:56:14 -0700 (PDT) Date: Thu, 21 May 2020 14:56:13 -0700 From: Kees Cook To: Tyler Hicks Cc: Anton Vorontsov , Colin Cross , Tony Luck , Pavel Tatashin , linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] pstore/ram: Undefine the correct macro after a recent renaming Message-ID: <202005211456.F9125761@keescook> References: <20200521205223.175957-1-tyhicks@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200521205223.175957-1-tyhicks@linux.microsoft.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 21, 2020 at 03:52:23PM -0500, Tyler Hicks wrote: > Undefine parse_u32, instead of parse_size, as the name of the macro > recently changed but the #undef directive wasn't updated at that time. > > Fixes: 6b31e99b85b0 ("pstore/ram: Refactor DT size parsing") > Signed-off-by: Tyler Hicks > --- > > Hi Kees - Here's a minor fixup that I noticed was needed while reviewing > your for-next/pstore branch. It is only build-tested but I think that's > all that's needed here. Whoops! Thanks; applied! -Kees > > Tyler > > fs/pstore/ram.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c > index df8965817c7b..ca6d8a867285 100644 > --- a/fs/pstore/ram.c > +++ b/fs/pstore/ram.c > @@ -674,7 +674,7 @@ static int ramoops_parse_dt(struct platform_device *pdev, > parse_u32("flags", pdata->flags, 0); > parse_u32("max-reason", pdata->max_reason, pdata->max_reason); > > -#undef parse_size > +#undef parse_u32 > > /* > * Some old Chromebooks relied on the kernel setting the > -- > 2.25.1 > -- Kees Cook