Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp8026025pxb; Fri, 19 Feb 2021 05:44:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKckUbs/hoPamPoQ12fOjMR1/tgh6JrOtNWvxxP8ClJhf/sM6b4BqC25Ev0UicNnZZIgTM X-Received: by 2002:a17:906:7206:: with SMTP id m6mr1109191ejk.387.1613742291902; Fri, 19 Feb 2021 05:44:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613742291; cv=none; d=google.com; s=arc-20160816; b=m3U8G1fqbRvaCQN1RfOqxrLyEjEW8B7ZYtghZTeUl/FP5NBb5yBxjDQZZZFmqHgKKi TjEi7TxAFgTjdvcbR4IweMBrP6dOFD8YWWP0UOl8yDupPrvikLa4la4Xh9sXW6llKOMf ps7LB7dbsOnb/U8pUXQF0Sc67FqdCk2aoWieL5G0q34jFU0pTSSSFd10dHpDcWrqogBT hLiGb1utkJCACQ8JsX7ATw4HN1ZplnNj3Dni266DfGKnZjOlRzaeOyUbr5FlO8ADNOiC LT+MnaBEGeobO44ujO5236U2/uaDeFbNxObqn0lRLja/X4LVCcKUhk9Ax2rnEOKORgcu xEXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date:from :dkim-signature; bh=fF/l9GNDkFGA7iWke5utB4iGCtSkQ0+416veSvVe1Xc=; b=jUEsZpiQgilDeFUhIIHDwr6iUS0GH6uxLRuPAUGjh0f06HXAi8AFbrHwyexEtkGBVi FPerkWDQ5vn0/NMJZma8OXqnrETUxF5KhotgysKyTkoA1w+SlyQZ/7iucl3QV3GbWSxl O1rdz0rN9v0E78hjjZe/KoUwyh5WdY9Tq6eiALBq1vfW27wsJ1yOc21SxvnHD1bT7UQV MlIZoKsvFNz/WHZfwXCkj0nNUCt+F2bbm66Bnee9V+vPjLeiDxDcLkGbmHlyBbad5VHB MvsQKRGaY4+GT0a/oQR84xDB/IkyFsDgM98JiCUuk080djYcjrfMpbOH1QAZw392AY0u 2gFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ls+CxRRj; 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 gn22si5463896ejc.172.2021.02.19.05.44.27; Fri, 19 Feb 2021 05:44:51 -0800 (PST) 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=Ls+CxRRj; 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 S230245AbhBSNno (ORCPT + 99 others); Fri, 19 Feb 2021 08:43:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229681AbhBSNnl (ORCPT ); Fri, 19 Feb 2021 08:43:41 -0500 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE224C061574 for ; Fri, 19 Feb 2021 05:43:00 -0800 (PST) Received: by mail-pg1-x532.google.com with SMTP id o7so4286855pgl.1 for ; Fri, 19 Feb 2021 05:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=fF/l9GNDkFGA7iWke5utB4iGCtSkQ0+416veSvVe1Xc=; b=Ls+CxRRjfhhnhwhZ86f/IoT6Mf5Y2cn9JQfrMvKEjmb7DXLNUYyR0hFyMkn0nWJESz FF7wAVCvZJnhE4FQpxAnpCHXwHlXdVOX6BeRg4DT9zOSqqTTImxYNUd3b6A2Q7NJnowX oB8IEt7vf1mTCkL80bdzKw2ZQQFy3nX/1h4b/PQDF2xzgE5DqT37FgFuXVwL1oJU9+lG U1ddBHqIPQ8Ps+G3liJxCAN/8eFga0wPsqJfv+Bxyl/YdLs8Pc+GKss4CvYxDbvC7c31 iBHC9Fs/gDcC9Pyw9KpyQ00/OaM+FnEZlRHa/YjZKVq4B+ePs9AIBYpqPl+LXvSmazUL i5HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=fF/l9GNDkFGA7iWke5utB4iGCtSkQ0+416veSvVe1Xc=; b=DmlcBmsidYwoYN0zzMDQWVSlhhk7qF7+FvGljeLiaJCXFnOvCs9W/mG2rmyn6orybu jcWRG/s6MR4pSbtnCfoiTIgV3VQSGmW6EmY8Sm9K4MHrXxtvmO67+U9awccTnzUaSKx/ DTuvB3irkdTgrThKQLmrarB5SkoHC5+3xsvvrXpptoQ9TKWmEq2vof3sBMux1MMEb3Cu xYI2B/SsfPxSUATq58BvQAmROMVBtrS1ML063NnPgykdx4obvoJe9fnksFI+tzrzR9qw S6sTovO0xMgCbO2PyYAIjlAK3aVBEzW68aObHA8kBN1WBSVOpgHmW4ZNUWyxRDvTSTM+ BraQ== X-Gm-Message-State: AOAM533xpZAEqGXeCcqk2vgjQ12soQg2hdH0R858Q8ZGXhYlmwpsJPrN 8leTMGuJKemaU8IC0NG0YiQ= X-Received: by 2002:a65:4781:: with SMTP id e1mr8635474pgs.30.1613742180006; Fri, 19 Feb 2021 05:43:00 -0800 (PST) Received: from amrit ([49.36.144.93]) by smtp.gmail.com with ESMTPSA id w187sm9251403pfb.208.2021.02.19.05.42.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Feb 2021 05:42:59 -0800 (PST) From: Amrit Khera X-Google-Original-From: Amrit Khera Date: Fri, 19 Feb 2021 19:10:03 +0530 To: Greg KH Cc: Amrit Khera , arve@android.com, tkjos@android.com, maco@android.com, joel@joelfernandes.org, christian@brauner.io, hridya@google.com, surenb@google.com, dan.carpenter@oracle.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] staging: android: Fix const keyword style issue in ashmem.c Message-ID: <20210219134000.GA25666@amrit> References: <20210219114237.5720-1-amritkhera98@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 19, 2021 at 01:12:49PM +0100, Greg KH wrote: > On Fri, Feb 19, 2021 at 05:12:38PM +0530, Amrit Khera wrote: > > This change fixes a checkpatch warning for "struct file_operations > > should normally be const". > > > > Signed-off-by: Amrit Khera > > --- > > Changes in v2: > > - Wrapped the commit description > > - Build tested > > If you tested it, what changed in the diff itself? Looks the same to > me... > After further investigating I found that the particular kernel module was not set in the config file. This did not build it when I built the kernel. This was making me think that the module was building correctly. After updating the config, the build indeed breaks. The reason is that the const keyword cannot be applied here without changing the structure and flow of the code as the particular variable is later being set in a condition. Hence, I will be dropping this path for now. Apologies for the inconvenience caused and thank you for the prompt replies. Best Regards, Amrit Khera