Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1919754ybi; Thu, 20 Jun 2019 06:12:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXZzRFdW8qTgwDzgLF/gHBXE39EFsRqWJzoRk/p2Ew0Z13dXSW8cmktL5R0pFSrFQjDoDM X-Received: by 2002:a62:7641:: with SMTP id r62mr15002206pfc.35.1561036361004; Thu, 20 Jun 2019 06:12:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561036360; cv=none; d=google.com; s=arc-20160816; b=cCpUK5qPW+DfBhUHWxyL/eRB+gSwW/DhsmiU2JUVnH5iZJ4/MNlWdB47I5SWfUdwW8 ooQpAazqMlX67+1y9ehR3XFR4lR6fz87D/cAo3ByukmGwex8djYCY9MaDOA8KNNbdS+a VFkyyJKLRXDh2B3o+KNpFbuiJq06YX58+6SQC0kTMCkCgRPobTSQ9weuKHNpb67aeobq ME7TnOrnk3vN12q3EzyiFf6KFDcknoGk+t09HVfA3uDof8zY0YGDb9Ggha2yM32hRGhC 1mgDqSOpv3kEpX2ugMoWFgXw3zSPh1xR/x346Xycm4wNSiGIp+1hGDIp/tMDArVo156Q YGxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3R8g4P26UIPbxa2jL7jXQ1Hl0lmGg7Sw8gg5ZFkQV2E=; b=vdBqDBT2S8HoPl54N6+2KPjE2F4ZXhHnfxGrl9isvX8M+r/ag+y571LajL5qksI3Yc 7qjtey6B4oG7H+0UqcN2uWewm6XVFzd7u/UqLol+oOfpRreTdPNsVVQDCVjP0gn3SXsJ xVwWly/IMJFUAm34tFvvLJNKkmKtM1lqyoQhsuW6LS5MQoCJMkbj/96C3NT9h/AMAItr m63Q5h2E0DPlZWnV1O7s38g1P5Z/iD8PCVBoojtLFW6aCwoxmgEBYc/Ckw7RQUwLAvZj kgyqMamwQDOb833qjwUtzsGFGYFyJz9h9wzMPy9kZtdJg5RD0wPoCLj/+EnK7nuvnpOp 7BRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="E7KQnw6/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id e1si12302545pfl.121.2019.06.20.06.12.23; Thu, 20 Jun 2019 06:12:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="E7KQnw6/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1731926AbfFTNKx (ORCPT + 99 others); Thu, 20 Jun 2019 09:10:53 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:41249 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726952AbfFTNKw (ORCPT ); Thu, 20 Jun 2019 09:10:52 -0400 Received: by mail-lf1-f66.google.com with SMTP id 136so2394577lfa.8 for ; Thu, 20 Jun 2019 06:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3R8g4P26UIPbxa2jL7jXQ1Hl0lmGg7Sw8gg5ZFkQV2E=; b=E7KQnw6/zwAMJbhbi0bJ+j/IYPpL/UFkUyxxFqY3N2j6Rmtzs5XvTiseAES9ui0Ly4 6JPZdQbMC6uK5QjWchSP9gwOcZo0XBPXQz9h3cQJ4wYAr0RUPt6uqlVQT4L1VhBJ/39L 60SmrcwSyFK7AZ4lzDIgyPPJT8FBhoRMVRqjVLc+Wg6aNcBD35coI2bbIKNn9DHJzIMk tvyzUGcrdta9VFw+annMiI7+kFyW5OXKHdvCzYM4v7B9IFIEqXtg2g3OVJ259i7xTuOR q7SRQKxZBnhfR69YgG+8IP9gE1jCON2Jiu33aAi4QcsH6Ob6GgFNjN58ck1+AiR5YCx1 WDmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3R8g4P26UIPbxa2jL7jXQ1Hl0lmGg7Sw8gg5ZFkQV2E=; b=ILn1XIYbO+NK/YFF9sxebdKdk1jbNWTP1x/vPtFy7BKyTJFQJ712UdAdiB7QNdANU0 z0HDRlNjiQ9gVSRd2lzWScFSwh43nI4nQOGlWJ2t4bX2LGDSfXi1Zt/0ik17OcgJFBNw POhT1x4mP7zeEe7MXR/JxmLd1pTaV8JAxcaHZBG76ZqrZwdIV7KKkXt3HPOGLiamFA9S XDe77rd2/oUkVlu5sCD9+LXnAhZSrg7Cyqp7tmKmDQxbqGXeovMzPGRmH2AGIN8au8nm GCHCGiyTxlrKyLaMPkEAZm5kV6ejJvhs7zD0KdAM6Se5No4JCubMsg8Zop8p5fLGA5fE hX1g== X-Gm-Message-State: APjAAAUEW+7gGRq2rnWibkuisijlHd8c7rLNebNL5A00+s2KT/5zMf3p g5y6+ohfzI7ARTOXHoEV/8osI4Inin03w0PbOXE= X-Received: by 2002:a19:d5:: with SMTP id 204mr63936539lfa.66.1561036250966; Thu, 20 Jun 2019 06:10:50 -0700 (PDT) MIME-Version: 1.0 References: <1558887028-4026-1-git-send-email-jrdr.linux@gmail.com> In-Reply-To: <1558887028-4026-1-git-send-email-jrdr.linux@gmail.com> From: Miguel Ojeda Date: Thu, 20 Jun 2019 15:10:39 +0200 Message-ID: Subject: Re: [PATCH 1/2] auxdisplay/cfag12864bfb.c: Convert to use vm_map_pages_zero() To: Souptick Joarder Cc: linux-kernel , Matthew Wilcox Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 26, 2019 at 6:05 PM Souptick Joarder wrote: > > While using mmap, the incorrect values of length and vm_pgoff are > ignored and this driver goes ahead with mapping cfag12864b_buffer > to user vma. > > Convert vm_insert_pages() to use vm_map_pages_zero(). We could later > "fix" these drivers to behave according to the normal vm_pgoff > offsetting simply by removing the _zero suffix on the function name and > if that causes regressions, it gives us an easy way to revert. > > Signed-off-by: Souptick Joarder > --- > v2: Fixed minor typo. Almost forgot about these two -- picking both v2s for a PR later. Not sure what happened with the mm/ related one I sent, is it in Andrew's tree? Cheers, Miguel