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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8BE46ECAAD3 for ; Thu, 15 Sep 2022 09:13:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230248AbiIOJNl (ORCPT ); Thu, 15 Sep 2022 05:13:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229926AbiIOJNA (ORCPT ); Thu, 15 Sep 2022 05:13:00 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6878398D0F for ; Thu, 15 Sep 2022 02:12:31 -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 ams.source.kernel.org (Postfix) with ESMTPS id D4189B81EEE for ; Thu, 15 Sep 2022 09:12:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39B64C433D7; Thu, 15 Sep 2022 09:12:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663233148; bh=R/7gzoZyZtcDcz0ChQ8ZQqu10K6dtueUhIX1ohc1BkM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ra0KTlto5YC6BGB7CsBHd8sDcafZ1dMbXsuz+g7epQMzrQ3WTaz+61BE1u3FsGtxu OUlcbcbOmB7rJB1exEoLXMr99iLWBlt0KiW1+nDbwfgIcZcQeFlGeQqPkP1mi2gFS5 pHy7nQ/U4Ik5gCXmJPmjjqbsxt4myzeoZIk0NMn8= Date: Thu, 15 Sep 2022 11:12:54 +0200 From: Greg KH To: Jonathan Bergh Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Subject: Re: [PATCH] Staging: Android: ashmem.c: Fixed missing const modifier Message-ID: References: <20220915085827.19701-1-bergh.jonathan@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220915085827.19701-1-bergh.jonathan@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 15, 2022 at 08:58:27PM +1200, Jonathan Bergh wrote: > Fixed missing const modifier line 370 > > Signed-off-by: Jonathan Bergh > --- > drivers/staging/android/ashmem.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c > index c05a214191da..a04488efd5f2 100644 > --- a/drivers/staging/android/ashmem.c > +++ b/drivers/staging/android/ashmem.c > @@ -367,7 +367,7 @@ ashmem_vmfile_get_unmapped_area(struct file *file, unsigned long addr, > > static int ashmem_mmap(struct file *file, struct vm_area_struct *vma) > { > - static struct file_operations vmfile_fops; > + static struct const file_operations vmfile_fops; > struct ashmem_area *asma = file->private_data; > int ret = 0; > > -- > 2.34.1 > Always test-build your patches before sending them out so you don't get grumpy emails from maintainers asking you to test-build your patches before sending them out. greg k-h