Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1761609ybm; Thu, 23 May 2019 06:25:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+mEFenZE+ghmx8i8K1I53eIE7FWUy3bg59XQxrNfRRYozECntLGCRTMO1uCdtBqUl33hJ X-Received: by 2002:a62:d41c:: with SMTP id a28mr4637415pfh.31.1558617939966; Thu, 23 May 2019 06:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558617939; cv=none; d=google.com; s=arc-20160816; b=Q67zw1w1+tG0cq/Ih1i8wmHFxqj1a9aWEteMOBBQnSOTjqvrx96eTVO5D/Y+m7bZWQ zxsMOM10Z+lo7Wiw+JS89ZKe/B3SxhVzFpgtvP8U6UOgZEPdS6Pu65RpWsfoiXZDsVhg HPlQx4XldDYy6AdT9FToaWWa6XL+v22o+RrH2Sx0CQqZG7NV+SnRxTk+dwZg5Zh56f/Y fZjXeHUERz8pst8D85ZibVHD6CMted0dNMJIDxRGa4PCYAF4tfvyuhootZEorvoIZ/wV E1eQdNNc++KUWdoZ0xrhe7gvx0QR4NAubo6elUfTtSpulRV0tW7AnR8yWr69FkLjH4PE PuSg== 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=48o4Y/Ltef1ARzeyN7TKfYWMGNJKSHFjsd19o0pyUOU=; b=smWWCpExrL4JZZV/evKD8+fcspo2mKFbvDOUcQb86ax9r7UuHFKq8vusdvw8egldZ3 wigFmWjdSHbHbyoeoOggm9UV+Kx4iRC6L0+fv+Gm74OQ/R5Qbl/VjoGkMNlx3HUWEe6I SQblnGsgFqI7Au2f6+Lb/MbFSUP2k3L6P0Vwv9EozYGxK7IQbR4/h8Ks2+joavBrZyLq YFzSNbxslFrccitFt7LNGKQF43IPXxDGLc01E9fIcfM92zVNZIputCxCAstu4MMV/FJL YeeoXf1oCjPv0clS/xIjqi6Gcby9MngL0vRjQ+chOBhn5oeHVL7KKLQNDDgeM+iDGTGE HCbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SQ2dol8D; 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 d6si18394513plo.396.2019.05.23.06.25.24; Thu, 23 May 2019 06:25:39 -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=SQ2dol8D; 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 S1730718AbfEWNX7 (ORCPT + 99 others); Thu, 23 May 2019 09:23:59 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:42409 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726310AbfEWNX7 (ORCPT ); Thu, 23 May 2019 09:23:59 -0400 Received: by mail-lf1-f68.google.com with SMTP id y13so4375430lfh.9 for ; Thu, 23 May 2019 06:23:58 -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=48o4Y/Ltef1ARzeyN7TKfYWMGNJKSHFjsd19o0pyUOU=; b=SQ2dol8DC88GjsDbAUPAuFSeOoT5xVfX453fj9wUhtLxOrNEqQKQ8uoc3xDlQbyCpV h70NGYYDC0HIhejLpC1kIiGmHHkKH7INMmZpOi28OUfp2IaNMcIexWuUobDW7sqm8Yby 2Se0Zmk1ruG90ivFN1nafrbIyI6HZa4jvXaIRoD3/vKAx7oxHKkb0FudxV+AgtbVUD1M vcsanElgvm+54MGXrGX4L9rQqNANzqAdhkS5gknNfVUWOl/957hrHgL8E3tapPavP0mQ fyesw4xU7Ixr6iRftS6IkCCDc0HPh8RqDLES0zR7yjIURYsrTPeG7p0TZY0Yyg7uqGjq Q+Kg== 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=48o4Y/Ltef1ARzeyN7TKfYWMGNJKSHFjsd19o0pyUOU=; b=KdsMowefggNc660ZpBXqELeJ3uCGX2RhZvjTTROZ5kouDIIi8gRkNikic6sd30GXSI oju3xhp3SRQlgK8qI/NSGFmh+rg90U9/x6TLnCR21iyGGvKk+QW8nWlARyZBSDOljb8S lzUEcPSKVzeD7pikSmcNU+plzoCJK6IFP5zEqkUPnIpqhgceXN1Os7EMCWkNCPatXeUc QHYXOtQMfA+dKncAGipwIyULKG399orKu+8jPIncQOsRaBQxA2/AP7lEsZnTkwXqlesP aTZ3MvTgaOfOPtM1yYX3R3IOcSKVRJGCylXv6rC/vv01vD09Rbu4l0f4mIHEglIeQKL3 pQ3Q== X-Gm-Message-State: APjAAAXm2ScBklPTsSNDYeUOjcO872GWMprYBdzONsyyPKAHCklWPVjZ YBJKV4nRvAyOkqsFAR+xPVsCkZUGTsZYQh3YuoYUjudj X-Received: by 2002:ac2:5612:: with SMTP id v18mr31538690lfd.15.1558617837866; Thu, 23 May 2019 06:23:57 -0700 (PDT) MIME-Version: 1.0 References: <1558366258-3808-1-git-send-email-jrdr.linux@gmail.com> In-Reply-To: <1558366258-3808-1-git-send-email-jrdr.linux@gmail.com> From: Miguel Ojeda Date: Thu, 23 May 2019 15:23:46 +0200 Message-ID: Subject: Re: [PATCH 2/2] auxdisplay/ht16k33.c: Convert to use vm_map_pages_zero() To: Souptick Joarder Cc: Robin van der Gracht , 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 Mon, May 20, 2019 at 5:26 PM Souptick Joarder wrote: > > While using mmap, the incorrect value of length and vm_pgoff are > ignored and this driver go ahead with mapping fbdev.buffer > to user vma. Typos: values*, goes* (same for the other patch) > 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. Would it be possible to add a "Link:" to where these new functions are discussed/used (maybe a lore.kernel.org link?)? Thanks for the patch! Cheers, Miguel