Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1450702pxj; Sat, 12 Jun 2021 08:56:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkFBFZ04gkEa06OTc7JgWaCUuZBF0DG0820CMkbmsQttbzQ8kdn+v4K7ZghGzgiPXhtdXz X-Received: by 2002:a05:6402:4cf:: with SMTP id n15mr9420704edw.162.1623513368171; Sat, 12 Jun 2021 08:56:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623513368; cv=none; d=google.com; s=arc-20160816; b=lHT5DsJHwXEYTj48HgwAr8mSBsQ8jdUjvQxfAwhWWOzXu8XecH2nSZykX2m4kU+pPk JPvBKOwhx4UionZKgUTSKyq8r3qUixL4ZxKr//7+Lv0duClc5DFnjvFrXGlMod7KQtLH ByevPKk+c0QuBg88V2PHISjq0ntKCyTrglrCuHAS0YP4B2k9PmNSqI/cQl/4B/FF3qAg LbRNMhs7w+Yp5ZoHGrJeuJL352jETptmfX+4lssuQmrjoQ/nCJI0/79+jBtHMlcEx7Tr bKNJC6XV2Eb+BGkx9NhuZo6nBvPFymCIurxNONGmM03eW9adCaBlmQjE3WhzIUyamp4v oJew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XCEI819buUZaBFkvABEGT8AVcHevd/tk7Crnu6XSBPQ=; b=Vu6VkOgEBiGGxf8u5pGKorgKfA9tog1XSsbANMMiGBZCERciSQoEBtypAnPvMlu98V MgLS+ZS0VXounBINGQcD4mEcN36eapRsZQX3TDecKpspBvTkrfjCARFl2NSxStxckilc P5q4TB5kaLfy3ootxsE0G5r7p7pnKKohTP8U/jeyCHLgM2B91KBG843OafAHI2pH+gJ3 YAwRaBfEoETxGzEZtEwhRCZkM9Os9SzdYiT08y+pQj8vlLB1WA+GFRAy+k+T+hRABFA9 wBDEcSWhAxztuxaVycB4/u5vZ0crYrYr8TbuaKtYUEPOEK+Ww0Pklv6Yi3DMSaRqHEAn x9SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Q1VvwNIy; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz26si7721965edb.106.2021.06.12.08.55.44; Sat, 12 Jun 2021 08:56:08 -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=@linuxfoundation.org header.s=korg header.b=Q1VvwNIy; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231465AbhFLPyT (ORCPT + 99 others); Sat, 12 Jun 2021 11:54:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:44588 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230200AbhFLPyT (ORCPT ); Sat, 12 Jun 2021 11:54:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 16AAD610FC; Sat, 12 Jun 2021 15:52:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623513139; bh=/MvUw+4oP5YH+nNQUGSiupDVJ+3XAmXQq5g0t8ptRJI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q1VvwNIyaBk2XHBcSAH6CgjViFyHVw7h7O3u3o2CqQwzvAsXYHdOK6k7IqY14s7bS Piy9vKBDSKe0/Yap0ZCof/B61KIZtN8W3BsYeanO+FIc4fKSBx0zqgNQFlFKeu+s53 twKvrY7G/cEgMqB2YJrA1cOrQBux8WYRy8Ye/B2Y= Date: Sat, 12 Jun 2021 17:52:17 +0200 From: Greg Kroah-Hartman To: Marco Elver Cc: Kuan-Ying Lee , Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Andrew Morton , kasan-dev , LKML , Linux Memory Management List Subject: Re: [PATCH v2 2/3] kasan: integrate the common part of two KASAN tag-based modes Message-ID: References: <20210612045156.44763-1-kylee0686026@gmail.com> <20210612045156.44763-3-kylee0686026@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 12, 2021 at 04:42:44PM +0200, Marco Elver wrote: > On Sat, 12 Jun 2021 at 06:52, Kuan-Ying Lee wrote: > > diff --git a/mm/kasan/tags.c b/mm/kasan/tags.c > > new file mode 100644 > > index 000000000000..9c33c0ebe1d1 > > --- /dev/null > > +++ b/mm/kasan/tags.c > > @@ -0,0 +1,58 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * This file contains common tag-based KASAN code. > > + * > > + * Author: Kuan-Ying Lee > > We appreciate your work on this, but this is misleading. Because you > merely copied/moved the code, have a look what sw_tags.c says -- that > should either be preserved, or we add nothing here. > > I prefer to add nothing or the bare minimum (e.g. if the company > requires a Copyright line) for non-substantial additions because this > stuff becomes out-of-date fast and just isn't useful at all. 'git log' > is the source of truth. > > Cc'ing Greg for process advice. For moved code, does it have to > preserve the original Copyright line if there was one? Yes, it does have to. Unless you want to talk to a lot of lawyers about the issues involved here and can defend the removal of the copyright lines to them. So please keep them. Unless you can get your corporate lawyer to sign off on the patch that does the removal. thanks, greg k-h