Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp718418pxb; Wed, 1 Sep 2021 08:32:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMJw1yTw1Wkj6tWwGt8onkjNR+/1BrXqusH/OEGP7v/69/QPOn6awiOAq19rciOo7rVUW9 X-Received: by 2002:a92:cb4b:: with SMTP id f11mr53665ilq.189.1630510339088; Wed, 01 Sep 2021 08:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630510339; cv=none; d=google.com; s=arc-20160816; b=XfLkigDm0eYv6D3mq8ELOnVYpI+NmPBu0DceMGOKkIVxdiGGcE5JIs2LVsBXjReWe4 w/c5zIuBPrTgO40rIw0XoTY+vOQ/hmwQakIb0S+nGikpx19IYfG2csnjUDPO8Q16FGQJ nKiURJopoALjhO+qnGBdV906w9DC+uL8DjVw3A/vtjBFW9Y7hkNvgCVDqs9L6imiIcR9 YTtERmBSqncZZESmL8FNmqMpy462jhtGWDgV6ojiFHGYVPKMNg9s8czxvtlQaKRNsj97 8PXHifAUgmZ7nDXxfYzs9+GAuD/TjNq3W3hpm0q1pPUNaXt3qH9J4XEKz1lufPTgfMqI 2kZg== 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=ToMrbOwmhdQ/XtB8o3T9KywN2OmB+MnzO+RYmA3FZsI=; b=sxTc5i7HWpLVjxfhwGwNI21nKmgVnT4itrdasQeXosgRppXeEN6MLVrSBTGm3mlMFC 1o0QzUrN2hBvDTE/z9VVfxu0rXkAQNpM+5uUyCzgXt+wOQ79EpcxGXZhl7xF+vOaatNH h2XjNx7Yd1/xuZli9tet/Fq5eGanrSNX4c2WvwNCSXq2oXNwflzDi8B1hnzwERcDTRh2 bJeKtCwOcgnnqqujc05czQ07vNlxhnoApSA+9HYoyY2B1t62tV4vTqhDn+tFitNw1NCH jypL1C3Apl03zo5z5uUERF1mP8nf+GLKkgfQeaY9VE7EO3fSjiAR+8y10RLGpEfTJHLR nJnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lLqoLyzm; 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 i12si18516262jac.26.2021.09.01.08.32.04; Wed, 01 Sep 2021 08:32:19 -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=lLqoLyzm; 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 S1343715AbhIAPbE (ORCPT + 99 others); Wed, 1 Sep 2021 11:31:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:44348 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244357AbhIAPbD (ORCPT ); Wed, 1 Sep 2021 11:31:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 67A2E61059; Wed, 1 Sep 2021 15:30:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1630510205; bh=nCh6zNcho5BtR/i0GnEfEV1QeXQKLNeQ8tDuAktq0JE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lLqoLyzmpO2v8y46e4RXFml+xxeWOSTsXsoNUVaLYym2BbF7+yqAf2W0RIftnEs8l DgsaKZ+bMWq5NL8fopxO1+ejhrqPTC/Rwg5EqxTGfUIl5QLat4R1oP4KGnjmKrp7n7 KVEhTbsrvMxrl1WOLWySD8kfgFtvBhnxOjePpaPA= Date: Wed, 1 Sep 2021 17:30:03 +0200 From: Greg KH To: Krish Jain Cc: Bryan Brattlof , "Fabio M. De Francesco" , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Declare the file_operations struct as const Message-ID: References: <20210829144531.c2syu4vv4s22dlg7@h510> <20210831133533.6aayzjghdakrhy56@h510> <13366651.n50aozgL3V@localhost.localdomain> <20210831230014.cp46vho2hnndacjp@h510> 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 Wed, Sep 01, 2021 at 05:20:13PM +0200, Krish Jain wrote: > On Wed, Sep 1, 2021 at 1:00 AM Bryan Brattlof wrote: > > > > On this day, August 31, 2021, thus sayeth Fabio M. De Francesco: > > > > > > I just want to *really* thank you for the hard work you got involved and that > > > you carried out with one of the highest levels of professionalism (and > > > patience :)) very few of us could ever equal (not I, for sure). > > > > > > I thank you also not for the technical hints you gave to Krish, instead for > > > your your choice "to not rob [you] Krish the opportunity to learn". > > > > > > Actually I was tempted to write something like "first do this, than that, and > > > finally run this tool". But I was able to desist, by learning from you how > > > people should be helped for real. > > > > > > Most of us here should learn by your attitude. > > > > > > Thanks again, seriously. > > > > > > > Thank you for such kind words, Fabio. > > > > I was very lucky to be, and still am, surrounded by people who > > demonstrated this idea to me when I was young. I am very happy to see > > others here see how beneficial and helpful (in the long term) learning > > this way can be. > > > > I'm grateful to have found and be a part of this community. > > ~Bryan > > > > > > Interesting. > > "make drivers/staging/android/ " works now (finally!) and shows me the > errors when I mess up in the file ashmem.c for example. > Furthermore, " make CCFLAGS=-Werror W=1 drivers/staging/android/ " > outputs the same errors too just more verbose. So it works completely > now, However, "make CCFLAGS=-Werror W=1 M=drivers/staging/android/ > " just takes to new prompt line and does not output anything. Do you > know why? "M=pathname" is different than "pathname", you are asking for different things to happen here, so depending on your kernel configuration, different things will be built (or not built). And don't mes with CCFLAGS settings for building the kernel unless you _really_ know what you are doing. For staging tree work, it's not advised at all. good luck! greg k-h