Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp653598pxk; Wed, 16 Sep 2020 13:25:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpqj6b66FB4S4z9WrMtORiRUuwhqxOfFETUHODzHMxXquHYtHXxerlsJR9/1hL+3fw7wfE X-Received: by 2002:aa7:c256:: with SMTP id y22mr28662096edo.16.1600287959567; Wed, 16 Sep 2020 13:25:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600287959; cv=none; d=google.com; s=arc-20160816; b=eW0GnS6sdCZqV2ogF2w5R2df+ahMfLd6uXsjuJVMJA94MCtSBGJ6aEhfXO8VvG4eqa P+oY563j5LZhHg9wM843VcM+58XxQhlWTSCjqW3B7mzUEXNusxErKizil4r4/K2Fde7i A/HAmCM0XIpZEaArkMRXG9dMY9zGMK55mJYLri2djVPe7cqPdiJBG7w883XS1vN9LsPy AVv2KzcvbIZ0VPg/deXRgPCl/QCv3jlIkLwH8NqRt6iQv+L/6toQHgaX2n3xGOMgSs23 +qA9eMPeJN1dw2weXwBlIC8EtGH1dP2GknyjXZbFCYFxxzP1J6t/W4Cq1njG3JEvBAt2 l5sw== 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=2ZiMEy//1kayA505gPczbbN35iqby1CxZE5VK4t65mE=; b=LDfmyORATIq7lK9mQ9n1oDEz5fTevNMk1raYGuF+ALY9FJQX8stJINKPF6AoKrhJY/ K0SvDLMeKDF2rYVMWqs5wa9m4RQWE+2YtBmN5KJY6Cf6sfH9uxhv3ouR8Tb5scUCBGXw JQkHcFIbDDtRNehPP+VP0z8ow6uWDAjssNNHhk/VOWgVx5H25U0VqkMAAds0OnExrdqd X0aQDSzqXgncEn/vHvhu4k/jnvWZ4+VNYMmKWM5YrDhPDheu9/1R9usJn4oTZIQJXvKV x8UFGCaeUpQ8ZRg10huPyV+5t7m50VH65zycrqAZFI8aKxU7uA2m4H5XuNnmclAKu1Ie ZDvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=P+7V4bFU; 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 bg3si9011333ejb.616.2020.09.16.13.25.36; Wed, 16 Sep 2020 13:25:59 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=P+7V4bFU; 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 S1727591AbgIPUYY (ORCPT + 99 others); Wed, 16 Sep 2020 16:24:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727008AbgIPR2V (ORCPT ); Wed, 16 Sep 2020 13:28:21 -0400 Received: from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com [IPv6:2607:f8b0:4864:20::e44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80B59C014A95 for ; Wed, 16 Sep 2020 06:30:10 -0700 (PDT) Received: by mail-vs1-xe44.google.com with SMTP id q13so3986937vsj.13 for ; Wed, 16 Sep 2020 06:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2ZiMEy//1kayA505gPczbbN35iqby1CxZE5VK4t65mE=; b=P+7V4bFUf/RvjRpWfeP0Q4K/T92HZyPjcVMWkmfGy57XXUfRJKnm1EGaEcP5cRrl7p Vhi4lQHLZ1gtEfPyzRIkaQr7wrvN0paQCK7DUr4relNqRTPL0FBHzXIuSuVK7O7hhfjs dAb9yJZAU+pLPFk5XCPwa0SeyGaNYVIb7hD2ism9V/CEklXP+joCcO4HTKedEr+eazu4 SgXo3wOlXCgn/qlBQVaMnCCgle7zOtPkF4/9FZWQRza3iwMHSPGXcd8N693DeGnFcVz0 CimWVVGuBiRlsBsUnlKtmIu/gj0nxYxqH4ZGwjnYvK9oBKmzHKrVFJQWKaFYY16dESS7 I1Mg== 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=2ZiMEy//1kayA505gPczbbN35iqby1CxZE5VK4t65mE=; b=pLvnKQFnwLm8C/eDrSljkjIh+ENvO6wA9+iowtEF+ljR5hw+7krn7b0lEOd3Gcl0/d jkbtbRIrabnn7cnOSnzNPvkeD4nBtfhtfIG1w4/j5Alvcf1SlI21/awXzvwFpW1UQJbA mI8GrlPP9ESHRVPfoexQ+3XkmSAff9UJouhzelM6iZiehzyrTFh+AB7owvOdwm/sRvuX EWiPRbjvTK2bDwGnAmDaR14BridMwshUnTUyV1L8EM4WY8SlunttDdedVlgIhB6MfQIA QWZ0uNkLOeQF0/sVa1c9qQwwgJ0XbCw5kIQPvX9/rRX80X/wvA5j8gFl7AY0kBjtP9U6 p+Yw== X-Gm-Message-State: AOAM531fG7KebUJFNFrINkL4cbNlWkWP4Rtlp0Ye+plDHojK86Mffsb8 BDwQkCtLaDTZdOKMK4oXTpU5CGNxMSnVqo8F/D/TKw== X-Received: by 2002:a67:e290:: with SMTP id g16mr4591851vsf.56.1600263009036; Wed, 16 Sep 2020 06:30:09 -0700 (PDT) MIME-Version: 1.0 References: <20200908125813.8809-1-brgl@bgdev.pl> In-Reply-To: From: Bartosz Golaszewski Date: Wed, 16 Sep 2020 15:29:58 +0200 Message-ID: Subject: Re: [PATCH 0/3] gpiolib: generalize GPIO line names property To: Anders Roxell Cc: Linus Walleij , Mika Westerberg , Andy Shevchenko , Kent Gibson , Greg Kroah-Hartman , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , ACPI Devel Maling List , Bartosz Golaszewski , lkft-triage@lists.linaro.org, Linux-Next Mailing List , Stephen Rothwell 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 Tue, Sep 15, 2020 at 2:02 PM Anders Roxell wrote: > > On Tue, 8 Sep 2020 at 18:40, Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > I initially sent this as part of the gpio-mockup overhaul but since > > these patches are indepentent and the work on gpio-mockup may become > > more complicated - I'm sending these separately. > > > > The only change is adding additional property helpers to count strings > > in array. > > > > Bartosz Golaszewski (3): > > device: property: add helpers to count items in string arrays > > gpiolib: generalize devprop_gpiochip_set_names() for device properties > > gpiolib: unexport devprop_gpiochip_set_names() > > I do an arm64 allmodconfig build fron linux-next (tag: next-20200915) and > run that in qemu. When I run I see the following output (see full log [1]): > "BUG: KASAN: null-ptr-deref in device_property_read_string_array". > > FYI: this fails because someone passes a NULL struct device * to dev_fwnode() - this is probably caused by some ordering issues in this patch. I'm working on it. Bartosz