From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9364CC433B4 for ; Wed, 19 May 2021 14:36:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7093B6135C for ; Wed, 19 May 2021 14:36:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348184AbhESOhr (ORCPT ); Wed, 19 May 2021 10:37:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348175AbhESOho (ORCPT ); Wed, 19 May 2021 10:37:44 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7690BC06175F for ; Wed, 19 May 2021 07:36:24 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id b15-20020a17090a550fb029015dad75163dso3542375pji.0 for ; Wed, 19 May 2021 07:36:24 -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=/7osFR6MEEYQpHLWyp6KyxkTwNcxiA/gGlaqW/3bR3s=; b=W0auG0ei3o/B9QcqCK31lm5YRnE4wvDSB1toLIbs7NsMkpIH+mfAEGufjYzVTJXsN9 cGTXYDJQLuK+3n0Ewm1+3RSiD/5arlhWwCECU2l6sdU0cCnstTXo03E+GlbWrOWKbaz2 Wrin7MmqqGhnuxJJWE2kFnYiXoOtRGrWplH51rNb+m1Ao18J8Xw9RzllYAAqhtPLyYNK AOGz4Yfc8BPyYbI48Yg/atdmhcKFZg7Gf6tSBnG4SP9I1Z04e6XFpE52hpxo7i6Vep9U cGECBrH1VZ9juvjfmdD2DM25VDsVMRjx15lkZgFZvFCGW+q8IkXRniDkK3SaK1bVdLnV 4PcA== 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=/7osFR6MEEYQpHLWyp6KyxkTwNcxiA/gGlaqW/3bR3s=; b=HYmBieDVSkcylWfPWbqctbxeh90LOgzJosvHguCul+xl3pLhbExIsLqzspXe8CeOOr Ol7fj/iIB5QCV8v6Bov0/vzLNz17hOog6fZk++9cPGzucYODnLH2KiafSYU3imD99k/x VSQ2YGTMz+N9pAAwa9nYfBiYyadzokBM7d9n2eTbDgcqaCzdxNbosEvdO1eNLbQyf2d7 zsfF6FGdNukIAaxpWUlk5asbUUy7TjDWMUiJqD/9Hm8VVAuhKTdIpJ/t0fhvD4bCn1R4 bkogEwcpNKisSIYELHdnaC6E9GgCeI5H81RgEeluJA6WShfppjQsrfs3/CvkayFBiMHG Kg9A== X-Gm-Message-State: AOAM5311vh9WsYy1Bux4hTOud4Gj8KnZHE8tpmxBBtEKrE//cx13gpc2 rOw3JgX88OnbKua7L/nAq9I= X-Google-Smtp-Source: ABdhPJzrY3zr58BXKEAhkbpJsFzuw4adk1CjKpAfSqW6blcLIZp7DXwFgSeLAjZIZ4BGKoN8oAymiw== X-Received: by 2002:a17:90a:ad44:: with SMTP id w4mr11818669pjv.71.1621434983688; Wed, 19 May 2021 07:36:23 -0700 (PDT) Received: from [192.168.1.2] ([103.196.78.23]) by smtp.gmail.com with ESMTPSA id t24sm4304154pji.56.2021.05.19.07.36.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 May 2021 07:36:23 -0700 (PDT) Subject: Re: [PATCH] staging: android: ashmem: Declared file operation with 'const' keyword To: Greg Kroah-Hartman Cc: =?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> From: Hriday Hegde Message-ID: <08cf8110-cf84-8784-c919-eba27474b796@gmail.com> Date: Wed, 19 May 2021 20:06:14 +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: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.