Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2643AC61DA4 for ; Mon, 13 Mar 2023 09:51:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231222AbjCMJvG (ORCPT ); Mon, 13 Mar 2023 05:51:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231341AbjCMJuy (ORCPT ); Mon, 13 Mar 2023 05:50:54 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A744A255 for ; Mon, 13 Mar 2023 02:50:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 7966FCE0FA4 for ; Mon, 13 Mar 2023 09:50:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6CD09C433D2; Mon, 13 Mar 2023 09:50:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1678701049; bh=GMpaLnOqXb+7MPkHeMOKZKNyvoOvPhAmgpt/cCCapG4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IlKbUZTEfaWxHP6cZkwLsDTXGNL3BXy7K86TuZ25hVU7t44PnNf+2Eplg+Ys7L2hc un8IrYMbyS29LC1JTQaiL3LLbvPhsFqIvlqX+HBNVhBkOEiaIYIBYqLh+IiH8JTEKM ugvtGLUPSuiaHpstiWhgD/FRR5b5KhI8FovbBwzU= Date: Mon, 13 Mar 2023 10:50:47 +0100 From: Greg KH To: Vincenzo Palazzo Cc: Andrew Morton , david@redhat.com, jhubbard@nvidia.com, linux-kernel@vger.kernel.org, willy@infradead.org, Suren Baghdasaryan , jgg@ziepe.ca, Liam.Howlett@oracle.com, linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [RFC PATCH v1 1/1] linux: mm_types: allow to modified the vm_flags in vm_area_struct Message-ID: References: <20230312224250.425727-1-vincenzopalazzodev@gmail.com> <20230312175703.d8d8e0192387dfa9592ee8e5@linux-foundation.org> 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 Mon, Mar 13, 2023 at 10:25:19AM +0100, Vincenzo Palazzo wrote: > P.S: regaring the warning at compile time the __deprecated looks a good > fit to generate error message, but to me in this particular case do not. __deprecated does not work in the kernel tree, sorry. We have tried that in the past and it just gets ignored. Instead, we fix up all in-kernel users and continue on. thanks, greg k-h