Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp2720850pxu; Sun, 18 Oct 2020 12:48:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRPEEsMGDKcfg7XnmlIP5RWQQztDZjj9RO3ytBohhCmfB/4n6erW6/O6blUTMzMTadHvM3 X-Received: by 2002:a17:906:468c:: with SMTP id a12mr13690465ejr.269.1603050484181; Sun, 18 Oct 2020 12:48:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603050484; cv=none; d=google.com; s=arc-20160816; b=GOLan7FZUJV7t8a0KtF12V9Viz43fhcKo+5okd/fDXsgRADfswJ7fkg3QZSLagf0Ox pldaNuTTSJnz/KGly6IgJ5FtR/oSQXOIWALZoTuOcDeEU8XjsazpoqS4v/2lRafnuF+e MMEu6HO2yUmcJgZIyMb0fbHrdPaRr/IS4u2e8Hjz7v25swMobRrQFpLNMKTPE6tFI9aM dNK31IJ/dzw+ZbZeL4eAvPFv6eagNdIv3eKEKmvaZPuNGUCZkTeS4Gxt8wirO+a6kj7r afWTXraGbYSJ39B7yeGEj6WCiLFfObUn9NhzGnLmIjzvXqwS6nrbGe5b21IMTr0smNPe 8dyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pWenhFesr1w3jNOrHoKxpIn7aIFwj8qNewUZEqgfPdM=; b=Zx9gkvDeNzs0ymFC6hD1c3CM7Xx8Btz00q13j70xQbhJqCxnQ07oaU3E0AmoSI0igO dHqqpuISshe0CfKr5+mmp18GtE5AQh6JqmHx9Ve7XrQ8kfzSaAJ6zzKq4yo2G0zrJ4DC cSsN+cw3FoBwvSYfoUSYUs15Mf1XtPfAj41JiQUyuYvWe+ld221BZ4lZPnNAB+qp6+fd OTMwiqFA/QLDrFJridFbxuFFrAMJaHf1BhL4fgyLIOyiP6U1Vi80x+vvTSLf9jVLuUuX T+yy7kCmIwLTUtejWdAXBOMIi2B5W7dqqNZiEywH1hxdqIt3WWXdmkwjzLD3IkZ6E1Em WBKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=VMvrkPOj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w26si6133326ejk.36.2020.10.18.12.47.42; Sun, 18 Oct 2020 12:48:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=VMvrkPOj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732227AbgJRToN (ORCPT + 99 others); Sun, 18 Oct 2020 15:44:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730269AbgJRTnz (ORCPT ); Sun, 18 Oct 2020 15:43:55 -0400 Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B6A0C061755 for ; Sun, 18 Oct 2020 12:43:55 -0700 (PDT) Received: by mail-il1-x141.google.com with SMTP id l16so8262103ilt.13 for ; Sun, 18 Oct 2020 12:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pWenhFesr1w3jNOrHoKxpIn7aIFwj8qNewUZEqgfPdM=; b=VMvrkPOjHLlUI4sI2rGOGrISxzwGTODFlquH0zCr68cYhcIzYg/MHdPtegAja3vzVw Lu+TAn7km0+xlnYQyM1xJS8hq3q73WvmTpICDR4AwTamcnLbCwvquMZ3KbGvgusTKw2Q 2qpBvGIjMWb6GtF5HJUNqK1yUBBNMA+GcEjKn7WNoFbNz0405900KcycpwxBG10xc/gH lMd/6ncCX7lUP61gfFhdD+FeqB7kKrIbRx2WjIOjl0K13gCaOn9cXTW+xhlzRLXS/4Uo BYns0JcvGifKCUYamerAe//rCV6IKDoi8F0IgF1UALU+6FIQpd5d2TarzYtWPAi/CIf5 ve6Q== 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=pWenhFesr1w3jNOrHoKxpIn7aIFwj8qNewUZEqgfPdM=; b=r4AdnZmzH0rbtTPQgShVJxWK3sT4MVW5kGXlC5ckgro7U3f2bQaV0LwS3n+c1wpTvj XPtHq2v/Gu46Mz6y5Ou8WCfy9TSqj+MZl/d6UUpdy8r6t3j/OUGPeSQe86doMiXxfpAM Z9G4jlo355JUK6Nd38XrKo+7lSDJgfM5Mx7TIJbyIL+x1rK8QSOj25+2CJw9DikgMwqr 0F1k/WNAz+nELrd0x2xmKwAHqdUad/yPp2+iZ8zoeJLtmUMKnf5L40pF3aqpRaPkFKXi M2X0ztV8PTA5RMriD7/WlLuisYRFijBAD6httWt0obmx3BHGpeL1E/HF0xMZL1yhoGP/ vhlw== X-Gm-Message-State: AOAM530PhWUCdQStUe2oqN8FuRvYA68va1s0JPToCwzWjxyH1uzBEOy7 pLKw9aHIqd66D0vdtM1V8VtGcOM9MPy0uizXPH1L6w== X-Received: by 2002:a92:c5af:: with SMTP id r15mr8834836ilt.88.1603050234668; Sun, 18 Oct 2020 12:43:54 -0700 (PDT) MIME-Version: 1.0 References: <20201018171545.3190476-1-fparent@baylibre.com> In-Reply-To: From: Fabien Parent Date: Sun, 18 Oct 2020 21:43:43 +0200 Message-ID: Subject: Re: [PATCH v2] iio: adc: mediatek: fix unset field To: Andy Shevchenko Cc: Linux Kernel Mailing List , "moderated list:ARM/Mediatek SoC support" , linux-arm Mailing List , linux-iio , Matthias Brugger , Jonathan Cameron , chun-hung.wu@mediatek.com, Alexandru Ardelean , Peter Meerwald , Lars-Peter Clausen Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy On Sun, Oct 18, 2020 at 8:33 PM Andy Shevchenko wrote: > > On Sun, Oct 18, 2020 at 9:31 PM Andy Shevchenko > wrote: > > > > On Sun, Oct 18, 2020 at 8:16 PM Fabien Parent wrote: > > > > > > dev_comp field is used in a couple of places but it is never set. This > > > results in kernel oops when dereferencing a NULL pointer. Set the > > > `dev_comp` field correctly in the probe function. > > > > > > Fixes: 6d97024dce23 ("iio: adc: mediatek: mt6577-auxadc, add mt6765 support") > > > > > > Signed-off-by: Fabien Parent > > > > Shouldn't be a blank line in the tag block. > > > > I think Jonathan can fix it, but be more careful in the future. > > One more serious issue, you forgot to add tags you have gotten in the > previous round. Thanks for the review. I will make it easy for the maintainer and send right away a v3 that fixes both issues you pointed out. > -- > With Best Regards, > Andy Shevchenko