Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2303653ybi; Mon, 17 Jun 2019 02:27:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZkRzC402N5lsSnOkLO8kLD7pbNsCB/zaGgTgw05VlHj/i1711ZRY//C3dnh5SNLDE0SdI X-Received: by 2002:a62:fb10:: with SMTP id x16mr113969795pfm.112.1560763664889; Mon, 17 Jun 2019 02:27:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560763664; cv=none; d=google.com; s=arc-20160816; b=wFxbvVKlWrqenQqeZZKbzaUprQtIvUwSnhVEMZPuLRLb3IaaQuYetO+ZfUDzed+Lf/ 5tzcuGRQ8vINeENJC/d+Fru+d7uWm/OKjMbNVA444cy3UmAifCcRQ9O6cmKtdR0Btjb7 wsAlCsegZvopLnDsSbGsh05Rw+HmFnonl7vlCMEPnCPx2nQKLwIF6FQ6iOivwEuV7aku y0NuDhhxxR9nEKgXxE2r/7w4pYnZgNQQD1ary0Zg266j0kt6oD7vMsV2i90mdf7M//s4 H/g605pMdZqvDImi7/ueY8RWxxNKvMaJBjXpmEh6r3Atp5IpwazxWddjSpapPqLM80w9 tZJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=dUidyHQAftHbjerQV/i5Ugw4tqRsaZ6rcF/lI+eVsNg=; b=CZ7RwVbhy1zkfow6aLp+1Ci3fyBCCdOXqBJrIk/3wiMmTpqjBBqHbuS0TzJuj59EyF pF+MI1ctGpSTxnHaNLfyVzmEpWH7JNS72v0QpiaB4OedZTAqXPBu7xba24M9rFdd84T2 mLpSDKYJbrmo8hW7sr6N4IrkSuIWwEEO/QK5lcBhD5yTKiwdGek9qNp8WkhkhBsqhdWB 6Klh/GKdPUkAWSP1BPl+QjiEs4BcF7ubhkhVKilAFJeVuq9aDAtv2JjLgcioCqFlDZbw W8mzDFJvuA00Pm0x6JWu8eQxtanCdFCCyOW5f1UwolCPO/qHkV1RY5AKK7AE5/601jak P8Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IP7fYX1Q; 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 n1si6327558pfn.32.2019.06.17.02.27.29; Mon, 17 Jun 2019 02:27:44 -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=IP7fYX1Q; 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 S1728072AbfFQJ1R (ORCPT + 99 others); Mon, 17 Jun 2019 05:27:17 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:46339 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726286AbfFQJ1R (ORCPT ); Mon, 17 Jun 2019 05:27:17 -0400 Received: by mail-pg1-f193.google.com with SMTP id v9so5456577pgr.13 for ; Mon, 17 Jun 2019 02:27:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=dUidyHQAftHbjerQV/i5Ugw4tqRsaZ6rcF/lI+eVsNg=; b=IP7fYX1QtOaM1GZZaP19/gJzQ+WdGbPMHu7ox2R+UUAh9IKBL9iwbck7DLhXtK/Zg/ PMVerRsS/SMMQsr370+l54t6eXYBkE0pZeQENazWFiAdZ/zoiGyZeJ3aPwsf2rqiWbnD D2E2qNkWcBN9dwZduvXxDJ7CJkVc9nFD2DMNqsVRG1LuIISUCEsSZLELmrv3S9EcnGCm 4bJP9kZnz+ahwDb0ZaUXqfTdsHXMSS7Qr0eYP57kJSkIxPZ9VS9Pj4kZgVXzFlQoaj2x irWpfwlGLckkM5yegrpBmLVm84iay9dx6JHXxSZL6ofR3qkZjwiW14aAHI0LTna2z05B BOzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=dUidyHQAftHbjerQV/i5Ugw4tqRsaZ6rcF/lI+eVsNg=; b=pjKaXfW37DLylBNClkJWMiX4QVnYe4tfWUPCGaNNFqs7mO9wo+feIiAKaD4jc+gH2m 89qTtQzBNe9O2zLI1q7aQE2SSvQWnBcu8rGHyV9X+y3s/QJLXO3Yi1WZl3fmkoBe8+4E SupDUvTUrXxgVNvlyl8FsIQaMeobmWffjr1i6fW0vrMFGiiRzhO9BaS0oHqzrfvjK4G2 K8ctFy9cmLkSFZJgtL1NQU7Mw2ZqWuieIxXLEj+JeBvryNAWx95Mmpe3zcFl7kSDm9kw VN8BNJhvNIFSMtnnbTKqMHf1eVQwoG2c9v46VGXh2O/1nEnsyQZYvvQxWPxm2IhbhAqa d/bw== X-Gm-Message-State: APjAAAV5wOsZQRmhjEe0sFkttZN9JCU26uwwK3yUaCXRN6x401ILoNod ZleYN8pOk1CydjlYPpNYobA= X-Received: by 2002:a65:510c:: with SMTP id f12mr46645590pgq.92.1560763636871; Mon, 17 Jun 2019 02:27:16 -0700 (PDT) Received: from ubuntu ([104.192.108.10]) by smtp.gmail.com with ESMTPSA id m20sm10282703pjn.16.2019.06.17.02.27.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 02:27:16 -0700 (PDT) Date: Mon, 17 Jun 2019 02:27:10 -0700 From: Gen Zhang To: Mike Snitzer Cc: Bart Van Assche , dm-devel@redhat.com, agk@redhat.com, linux-kernel@vger.kernel.org Subject: Re: dm-init: fix 2 incorrect use of kstrndup() Message-ID: <20190617092710.GB3764@ubuntu> References: <20190529013320.GA3307@zhanggen-UX430UQ> <20190529152443.GA4076@zhanggen-UX430UQ> <20190530161103.GA30026@redhat.com> <20190606092725.GA21792@zhanggen-UX430UQ> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190606092725.GA21792@zhanggen-UX430UQ> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 06, 2019 at 05:27:25PM +0800, Gen Zhang wrote: > On Thu, May 30, 2019 at 12:11:03PM -0400, Mike Snitzer wrote: > > On Wed, May 29 2019 at 11:24am -0400, > > Gen Zhang wrote: > > > > > On Wed, May 29, 2019 at 05:23:53AM -0700, Bart Van Assche wrote: > > > > On 5/28/19 6:33 PM, Gen Zhang wrote: > > > > > In drivers/md/dm-init.c, kstrndup() is incorrectly used twice. > > > > > > > > > > It should be: char *kstrndup(const char *s, size_t max, gfp_t gfp); > > > > > > > > Should the following be added to this patch? > > > > > > > > Fixes: 6bbc923dfcf5 ("dm: add support to directly boot to a mapped > > > > device") # v5.1. > > > > Cc: stable > > > > > > > > Thanks, > > > > > > > > Bart. > > > Personally, I am not quite sure about this question, because I am not > > > the maintainer of this part. > > > > Yes, it should have the tags Bart suggested. > > > > I'll take care it. > > > > Thanks, > > Mike > Hi, > Is there any updates about this patch? I want to check if it is apllied > beacause I have to write it down in my paper and the deadline is close. > > Thanks > Gen Could anyone look into this patch? It's not updated for about 20 days. And I am really on a deadline to get this patch applied. Thanks Gen