Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1759148pxj; Wed, 19 May 2021 13:15:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9SqwDDlWyS1OYXtwW+qN+0u0QQID9OxGSBq8/KfbrWm0ebOoTJhKgBG6E80mZwBdi3HHq X-Received: by 2002:a05:6e02:152b:: with SMTP id i11mr781205ilu.230.1621455312148; Wed, 19 May 2021 13:15:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621455312; cv=none; d=google.com; s=arc-20160816; b=JG8R/5kJ8xVj7i19bvo5nsN3l+YuOPvAi/jBIingoIgohqHzYr+tQrgCha7Mx9D4U+ vm1bZJhDMNf8JGIJ54ILZKnPfEfFQm03lJAuw7vQ1tErGpRsUhP+h/mtqOeFqpx1JDl0 S/2icH9ZujpxfrRGZj8zoapqlJZvtlpm7VqMQ9j+P6nNgNnPGlpM0mdEIW8mJKpwRP/1 9Fs+mTGRTBfsCxkkJffdEcO8ZdiZmPaeyK4JST0XDew5W462Cytd6uxprm971quKDBHi +hP1W7ea63PaGzAXVw3FDhjd6ceEGunb9tEcF368iqHXBDKLNbvwbxjsrf7qOhBwodBJ tyFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=mwSqfCMAiP+PURiZIgOC/UkNyw6vkzqBNGed4Rp9ynU=; b=JzewNybeeUbAVjSe7FjUYj6ra1H8VlH+LbTyWcnZnX7Vh7bGFbCGn65Y/Gh64Y0MCH keqeNQ9QxfWpTPcIK7LfEwIGKDtwSNHsHzYHgDR9wV+eM3vQvMa9mopbU27fzOgGioaK 4lULZ6hd59FxztfvfqPEueTelH8bTGi8J8XHbQxJcOUtOLoW7/866fb4UtneV3bCY1Pf /fsaMHzZrec10l9Fr3Tnm02JEvRbT9CqG2bhwoL2XZnlMH4NHP3QK2QJuzFU3Fs99Dai TbKmniGSfbQQkz7XhHgA6I39VFqWuGV37D02RIeCUD01s8Ty4xgKf6JnjRemlMfJk/lA EODQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iANFGf4J; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g10si666012ilf.140.2021.05.19.13.14.59; Wed, 19 May 2021 13:15:12 -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=@gmail.com header.s=20161025 header.b=iANFGf4J; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354175AbhESP4Y (ORCPT + 99 others); Wed, 19 May 2021 11:56:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348078AbhESP4X (ORCPT ); Wed, 19 May 2021 11:56:23 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1A45C06175F for ; Wed, 19 May 2021 08:55:03 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id q2so10169874pfh.13 for ; Wed, 19 May 2021 08:55:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=mwSqfCMAiP+PURiZIgOC/UkNyw6vkzqBNGed4Rp9ynU=; b=iANFGf4JppO6R3fOhQhL/k70y/yBwMcjnXBWYENkz3ZBJ9r6IkDNYcn2RQi8qlNHor JwuX53ihQdAZcgzky3lqSl4Nn4x1Ar1hK52ruWoyuS6bSMJYoknGbZThHoedI0VziBdJ +8p8n8uwJY7I/WWI7e3P8mRmWLVs8Y9mt3B/esMhPhlg1CCRZ6KAeLDJvNjN8+NHkdML Cv5sIta8zInfBzSsCot28HuCUHngzr2dSFGd04XnUIf4ZD2mxcyt/FG1b/HMl2DNXZum BIp+BWRZzQa4H0MBRNDcvJOGM2z4STDu+RtMqmItqnvwb7YcknldhpqhPEfLTbl2QO/N FwYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=mwSqfCMAiP+PURiZIgOC/UkNyw6vkzqBNGed4Rp9ynU=; b=iLDQ9ETRF0LbfIAzMDgGnPlUcFheQvLeUzgTCl7LSeHahXAyJRaJ2AtyhXtBMAfYxV sEWcKgMINeArx3PVt8PepuyfyXOFDXJJ6YTvb/y6gSeEtzC3Ta4nh7kFASHm2DpdzRj8 /1Z52rOACQ2V1eHoP2hE1+b2jKCXSaIhyJdW9odPovE7FlvuJYPkREO16sdc96WI0Jqj o/nQtz3/B6ATNxmhnY5ivjcnibzsawvq+rocrMyv/kAzSV2fgBMlp3wjrbFN0AMi9oc/ Nz/K4OHqVKCVXbpn08AI18kMLkVSe6t2C5Z32Ycc/24x5NuPn6rx+IbU9Z4ZOwsKlLc1 tnSg== X-Gm-Message-State: AOAM531InGnFjveJRbHuQ+RC/WLriV/UW6fwdYlJfgqnaYYsQjL/wnue Y31Z5/5bg9IVstryaJhqhOs= X-Received: by 2002:aa7:8f37:0:b029:2db:551f:ed8e with SMTP id y23-20020aa78f370000b02902db551fed8emr11415084pfr.43.1621439703272; Wed, 19 May 2021 08:55:03 -0700 (PDT) Received: from [192.168.1.2] ([103.196.78.23]) by smtp.gmail.com with ESMTPSA id 10sm9673847pgl.39.2021.05.19.08.54.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 May 2021 08:55:02 -0700 (PDT) Subject: Re: [PATCH] staging: android: ashmem: Declared file operation with 'const' keyword To: Fabio Aiuto Cc: Greg Kroah-Hartman , =?UTF-8?Q?Arve_Hj=c3=b8nnev=c3=a5g?= , Todd Kjos , Martijn Coenen , Joel Fernandes , Christian Brauner , Hridya Valsaraju , Suren Baghdasaryan , linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev References: <20210519081958.7223-1-hridayhegde1999@gmail.com> <0ddb894f-f66f-f31b-ef8a-0646e0a99b9f@gmail.com> <08cf8110-cf84-8784-c919-eba27474b796@gmail.com> <20210519145105.GC1417@agape.jhs> From: Hriday Hegde Message-ID: <8c325c0f-d63e-fcac-8073-e5c8acafb74a@gmail.com> Date: Wed, 19 May 2021 21:24:57 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <20210519145105.GC1417@agape.jhs> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19-05-2021 20:21, Fabio Aiuto wrote: > Hi Hriday, > > On Wed, May 19, 2021 at 08:06:14PM +0530, Hriday Hegde wrote: >> On 19-05-2021 15:20, Greg Kroah-Hartman wrote: >>> A: http://en.wikipedia.org/wiki/Top_post >>> Q: Were do I find info about this thing called top-posting? >>> A: Because it messes up the order in which people normally read text. >>> Q: Why is top-posting such a bad thing? >>> A: Top-posting. >>> Q: What is the most annoying thing in e-mail? >>> >>> http://daringfireball.net/2007/07/on_top >>> >>> On Wed, May 19, 2021 at 03:00:08PM +0530, Hriday Hegde wrote: >>>> I am not really sure how to do that and how to reflect it in the patch i followed what was taught in the Beginners course and it does not mention building. I know i need to test it out but is running 'patch -p1 < x.patch what i need to do? >>> That does not build the code you changed, right? >>> >>> I'm sure whatever course you took, it did reference the fact that you >>> need to ensure that your change actually works properly by the very >>> least being able to be compiled correctly. Please go over those >>> instructions again. >>> >>> good luck! >>> >>> greg k-h >> I am using the A Beginner's Guide to Linux Kernel Development (LFD103) by the linux foundation for this but i cant find any commands to as to build and test , the only way i tried compiling is with a custom Makefile and it didn't work, i've got a few errors so the const keyword might not work here since the variable is being written to. >> >> > try following this tutorial from scratch: > > https://kernelnewbies.org/FirstKernelPatch > > it's simply complete and helps a lot, from > gathering all tools needed to contribute to the > community to sending whole patchsets. > > In your emails don't go over 80-100 character per line, > when you ask things or your mails will be difficult > to read. > > thank you, > > fabio Thank you for the guidance,? and will keep the char limit in mind.