Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp2704637pxu; Sun, 18 Oct 2020 12:08:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxA7sYuKWGPOGih93bw3NH5NV/iCjvpSCLMJqvFT/BpN9J9f7E4ug1iTfK9YWHdf4LI9Cw5 X-Received: by 2002:a17:906:3bc7:: with SMTP id v7mr13419805ejf.245.1603048114158; Sun, 18 Oct 2020 12:08:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603048114; cv=none; d=google.com; s=arc-20160816; b=RaN59R1achN5/qJ+eA+tCtXjzYLKiGW2TCIpdRJwOV5s6OGO25N8AyKSsmmscZvbaQ gsxAgA6eTyMW/coiuvA07cPzCobtoalDuKbXJy/ghcIe3D5TyOAjZERthRbSwodVhuO/ t/60LszhMnK60woVhmBd7BzAvcekbGNw4KIzMAT5mowe/rOztNv9uGAmNUQI31J3OlGA idubQA9Gx3wEf26HgdTNgP/8VrW36do1wg1Fwjjd9u7ssOsfJfKnAQ1MNTFLg/a46NMe 0d7Z7404Fz5CaKUztOJzmw3rO0JPBTuE6cJLtOGPeLqvP73INB2cEDhV0XMTXQpobCV/ rogQ== 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=0SrAGDyFK2BtNvaUQ65CcmVzLfIt/f5Hvduu3nRwUdw=; b=02YaUVYjD3cGaNKcHthJnn+10BdLntHFX0PvAguwJPCuZbI6P/enM4dyxwAXRsylYa 7guVabpiBPnNsRxni5TimLMSF2KDD4a96ZD+W0u7GE5WUlMm2q1uyljgJ7rCjfaEhNqj cVbeUlK6gkgbN6f6TzFKHbAt2LR1dihpZqdAGcYfviivYLZAnpW/LAQP/9SSEPren8DF fpiqS8lpI13mFIG7kxIGACHzHaHCy7COX15xF0Pbtqz80QOEAifHVH6kWhSVieMyNx1H OpbGJqntWwrLLB3V14Xgc5INDptW/c8zxibxkpNtuKjuzTIF9+3RVSU86kC86CWK6A9Y MRNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VB2Ag15G; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w20si6232060ejc.568.2020.10.18.12.08.11; Sun, 18 Oct 2020 12:08:34 -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=@gmail.com header.s=20161025 header.b=VB2Ag15G; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727385AbgJRSdZ (ORCPT + 99 others); Sun, 18 Oct 2020 14:33:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726689AbgJRSdY (ORCPT ); Sun, 18 Oct 2020 14:33:24 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59F69C061755; Sun, 18 Oct 2020 11:33:24 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id t4so1225053plq.13; Sun, 18 Oct 2020 11:33:24 -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=0SrAGDyFK2BtNvaUQ65CcmVzLfIt/f5Hvduu3nRwUdw=; b=VB2Ag15GmAzpJXuXh/iym02MciTot9l2fl+pc6XM5bOK7OPRdiykb7AKYo9fIUnRP7 hOWMciGEd1qdenktWa0UyCr0Kv/wSy6LjWPGLt+a+F5xN9pI8MXwvUhXasGbLmmJzExL cMFPu0rd/1lehBji8g7bez6LDDQ8lNS4Dlumq7aUwdkhpsIB137fEoTbYR0uThA/IclT EvWIMYTXSyoVVR8zDfrj0C2g3SsWj0imX5MF0nbeXA/z2XsEcg8PF2Zofp2kK332ljDp 5K3w/TntEfYGYI0PfLG4/HPNCSE7wDQSdeLNzOVfTmBs1FyL7nj8QcdHRYCWprALypao Vpyg== 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=0SrAGDyFK2BtNvaUQ65CcmVzLfIt/f5Hvduu3nRwUdw=; b=SLWxDGy6O+8e6oqkYeDboT/YfEiIvVqbmUf3l1xYp6RUA6LuNjpMpoGK6+RGYMQI3j lOU0WfQ4AvcdwIoktDo+zYIWQyxFJAAHMjKWRCL4+YBbCzX494nyWpdIwXxDS/c0KvBS vfSs1Jdk7/AVSg2CIxgD2bqQIyk3DXJiIf55xxFQZqdMo22GgbyDTo6ATFvIDvoPYED7 Pm89BAklBYFaMR2iqhuewmLxuXI+rgy6oU20oTutJY5G2DTwHux4udGX7069UXarH/im iICPzo8o4vbxeKxhsW3g87wAN1UKHlHxsMz7yfXLjSA0mErKqdP/n+YJHYQKqlbZbVuY 8icg== X-Gm-Message-State: AOAM5338GLrxk/ljCr4ytMSHDsbnRkWzqQPZTT6YRZp+e9cZVHU8Axzj 4Bvh9gf747fqkogPh9MIjgoCZhif2bSuTJMd5kw= X-Received: by 2002:a17:90a:be11:: with SMTP id a17mr13500911pjs.181.1603046003874; Sun, 18 Oct 2020 11:33:23 -0700 (PDT) MIME-Version: 1.0 References: <20201018171545.3190476-1-fparent@baylibre.com> In-Reply-To: From: Andy Shevchenko Date: Sun, 18 Oct 2020 21:33:08 +0300 Message-ID: Subject: Re: [PATCH v2] iio: adc: mediatek: fix unset field To: Fabien Parent 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 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. -- With Best Regards, Andy Shevchenko