Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp42621ybi; Thu, 23 May 2019 23:14:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/wwGr5MRbVCBK4G1nnrRtYHSJ9u3hwDh/SBPrnWGMGyjsmm/RbLAFkQ8tztSIiM1WfPzN X-Received: by 2002:a65:4646:: with SMTP id k6mr7970276pgr.324.1558678455264; Thu, 23 May 2019 23:14:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558678455; cv=none; d=google.com; s=arc-20160816; b=flC+pty77aN9voB4ZtQVHx4iqq0hosnIDOekcOcfckjvJDy46bQpUMgke4OtTqdsDj Curm677Fl6Apiuk6Rm0zMM49rkFZvujZ4+En9H5jiHGBE1lNQ0L1AJZYeJlSzYsMNEkh vZHG8iKGZoXo/3o55fs6PkuQTEOKmzml+Kgx81EqjpQEI9B9oOhT+nB0gdBtWROLap11 ptjkYD8KA3SRq/8UAMDtpyhKzzPSZKpdoJGmpOH7pzVbcbmlQcIgxpPaQUNy55tjOXMs VNz49+QSBvuXb3kGSyxte0sbSvmVbTPrqNkhPLw1cDta61DwJ4utQFlCoAqhAz97z03Q SjFw== 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=WODHkcAF25NHibZn5m21sZFv0u7Ed0zLwASYN+dfRH4=; b=p55IlbyNOxN4ZZvs2MwmU9KYY81FillsbkKy9t4ngfGCX5JnU4su316OiX4ysyexR+ 3P49P/F8xdqACVRB5c3dNRze2duLTSVkJemwayprmB5pbs+P9RRsc+C1CNPQZywaP+Of aSlKCOkF+ZRVF70QQzz8fkPG4wuixoVfsKUpZN1pvvnEQ8alx3eJ/nGCaPPlMe+J0qaF YeClqf7iSZmNPvmseyndwKS5E5RFgwzQYhqsi+Y1NJHB/YY77LKH/Gk54LngsGFH1JaN HJf180GoIYSssGVEZ5vM1osol6MhyoANnJCGtx+t1Sog+PmcLJRQYcMHa/GcZGVCp6iN whVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tR+zmdMe; 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 k27si2695377pgi.124.2019.05.23.23.13.54; Thu, 23 May 2019 23:14:15 -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=tR+zmdMe; 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 S2388350AbfEXGK5 (ORCPT + 99 others); Fri, 24 May 2019 02:10:57 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:46419 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387936AbfEXGK5 (ORCPT ); Fri, 24 May 2019 02:10:57 -0400 Received: by mail-lf1-f66.google.com with SMTP id l26so6144313lfh.13 for ; Thu, 23 May 2019 23:10:56 -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=WODHkcAF25NHibZn5m21sZFv0u7Ed0zLwASYN+dfRH4=; b=tR+zmdMenZ8rl6qmmPgkcatcUU4Qm6kn/lwcJy46XmoBluFNlPq8pNmw6531qDSsS2 tr5RytD5TiH8d7LpjcamGxH7pGVUx+bB7u2YNpJAItH4UDqcsC+m6FyVIVVoe8OEWcuj rfULFYmaJg+MvZDHgknevYGdVNnFwl3P3eZsMRaNA58btfrPJaa8r0Ee1eKe/WkhEIEV ptWcS67e1+nW9iUNJ6RNjni5jwwmWUivMaKjPWjGb21SR1Da/K6FOUaaAVEKRWDh0Zzg lPbx3TJ9hZx9+CHd1DXZVyZjSqketb4IsPTv1AdIyJr+OzMUWKdlSrwtPG3KMSWKbhRs kfAw== 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=WODHkcAF25NHibZn5m21sZFv0u7Ed0zLwASYN+dfRH4=; b=TF+2niFQd5rfAsFbIdEKLzA+hIaMy4xNe0v2L8M22IkpXKGIEhwnnvEPmCijP9kxTv vxAGNJws20bkSNXujQqmgbU50gL8bXOdMm3yWx8lEO7boEZqQ3M4MwA2+5rq7FhBu6aF MqLRR7hcXBxkNy8+YwPdCJIOjBsb9S6RpWOyivPLDE3Spr4OrRSmztT7/ZPUyb4Mf/oh OjT+QxsQtQhje8ucA0JS2edHIKSYTNOueOSAHT3aWYL9YoJD8M6ug7ShtUFv+1u01g59 K3Y0UqDICLxCvD322elGJEa/8jWQichDARjaPCaxmmabWMxTjO5iMsws+IP/VX/sUgko T2Rw== X-Gm-Message-State: APjAAAVo+8/h4vjlaWW0LLfXhm34yPm6EEX3sBcl0KjTF/qz6Bni2qb+ +OOQzxcQIHWjC2C7XzMctg0osiOybZZu6DbDuqU= X-Received: by 2002:a19:4cd5:: with SMTP id z204mr4626669lfa.113.1558678255734; Thu, 23 May 2019 23:10:55 -0700 (PDT) MIME-Version: 1.0 References: <1558366258-3808-1-git-send-email-jrdr.linux@gmail.com> In-Reply-To: From: Souptick Joarder Date: Fri, 24 May 2019 11:40:43 +0530 Message-ID: Subject: Re: [PATCH 2/2] auxdisplay/ht16k33.c: Convert to use vm_map_pages_zero() To: Miguel Ojeda 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 Thu, May 23, 2019 at 6:53 PM Miguel Ojeda wrote: > > 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) Ok, will add it into v2. > > > 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?)? This might be helpful. https://lkml.org/lkml/2018/12/24/204 > > Thanks for the patch! > > Cheers, > Miguel