Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6739350imb; Sat, 9 Mar 2019 05:05:46 -0800 (PST) X-Google-Smtp-Source: APXvYqyiDp+rxlwNOt9WBfJ/ATZZvAed8aWBTJY24b5uX0QmzMjeTIA5Y6aQS4RZHGz0NCYRLUCX X-Received: by 2002:a62:b286:: with SMTP id z6mr23647443pfl.106.1552136746227; Sat, 09 Mar 2019 05:05:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552136746; cv=none; d=google.com; s=arc-20160816; b=XpRagbd5D0d0wyUOZeIm+Zn+YkGVb9dqOuEU3tSiZMu3ZQQcwmR2j8f6D6NjUv24va uUTZC1JtyzQoXTT0N6ZaDFAE/0XePBEDT44i1JuAgS0eBLGvkV+/DueWDEv2d6LdgSS0 vCYireuNLSUwh9NNq33im12KoukZFEd9ua49Oqg/1IqAKPLjVu6MnMyouhctbzvtuDcZ lRagjvEH+i+d2tUI0Wx8xs0Hi22vOwSyBxGaoAJbZTBd6rjVSrUGUmRAji7joW3mAEhq 4c+4ErG8BJcwNfr2N+oRwQ/MScwombQIoraSkM4PdWgeSsurvZT5fvjswcj+NO7JzLF/ 1GXQ== 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=3KuXqEiBSM8f3dFXLXwTQfqlgt9COvXmn96ZMFSltoU=; b=O4eQCLJpmrqHAE5ipcUB8s813308dNO0oorWiaRV55x36JYXl89o41KFO6NmKoj8Nl pmOvRAku+8QGAgR6H9kN33yBuXpai2KJnY8OaOIEqkvr1ahVMI9Vvn2+dtJiC1CHDVNz OdOeWq8iGOfnvMLb6uoAnC5e76O31lEy/bIR8M4E67QQnG7OLC26dXTFhfNSR3BPaS2i rXJnC/BNctaQFReSmJN79QNqqnhlE2w875tN6Th/0xejos4EZFdbitB3bCqyZwCAzvSe Y1O4AaQ2KQrnJpN4+sFf39arICNIEevdhTArh3M5MiaMoQQxIbj6BV1pqrjdj7IL/i4X Rx0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Yo9IDIi/"; 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 n79si330105pfh.202.2019.03.09.05.04.55; Sat, 09 Mar 2019 05:05:46 -0800 (PST) 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="Yo9IDIi/"; 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 S1726340AbfCIND4 (ORCPT + 99 others); Sat, 9 Mar 2019 08:03:56 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:38449 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726257AbfCIND4 (ORCPT ); Sat, 9 Mar 2019 08:03:56 -0500 Received: by mail-ot1-f68.google.com with SMTP id m1so205090otf.5; Sat, 09 Mar 2019 05:03:56 -0800 (PST) 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=3KuXqEiBSM8f3dFXLXwTQfqlgt9COvXmn96ZMFSltoU=; b=Yo9IDIi/2GTj1OGTYY213+C3kuHFxlg5VL1820pjUXMLzu6G6WlEhTZitr6lVSTy+T SnfOizQ4xV9D7h1kABGugkfVhGu9+6N/3AKEDvHPn815w07XSXB55QII92J9TjESggjR 0CCzWnezYxXeqIo9kwxNSyHCLJBrHwHRLSJAksN1zLgtgbKdrY1gDTJQ+h80kbSGyadG t+DPYLoFBInHw2L3nYqDdzzVHekedJ6+qNMXPTGa82voEVGSiKx97VyYEYN0czLcNOsk kbAip8FEWTJFVMGuDmFB/GqP7gPBk2sOOLMQW0MesvQ9jodujeoS5qxCx5S7ZHy8CcLG bq4w== 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=3KuXqEiBSM8f3dFXLXwTQfqlgt9COvXmn96ZMFSltoU=; b=IitzfHJEZyry4Fy5UxGIiedFAj5M6vELygRhnbcsTiyVMKMjvs+pNJKYj7WN2TtGln ZnO+1N9Fsbtn1gk72fxsE9RNNcGMIr230JWgJ2PkY4q79wzpnXdBxsCsdK0T0KpjvZJy x+RdV7QGBjeIB09AO1DPv9yPlVaCbIeNfkSe/Jb5nUQ20sI6mKoFCCU7zOn7W7DySML0 8BUIBZZNi8H/6xwG1XQUnZebqCuOb6jEncHR3sm4gUs07MEPfpcLouAbG6I1v0zP/S0h 3F2fe6ZEy/2hKKt/48X9H2OCrnXEEbeAj8FSqingMIJTSO5zz6XzPDa95tFPnTneuR7t Bu6Q== X-Gm-Message-State: APjAAAWOF0tU9puvCojO6Hp8+IL8fjULBy2yoEq07N6GHT5cWX+VrNDm +/d19NiL4phCtiN+bE6N4PfoQVFD7k/kyLhvt4c= X-Received: by 2002:a9d:5f1a:: with SMTP id f26mr13851310oti.95.1552136635507; Sat, 09 Mar 2019 05:03:55 -0800 (PST) MIME-Version: 1.0 References: <20190308175935.21904-1-TheSven73@gmail.com> <20190308202936.GA32641@arch> <20190308223249.GC32641@arch> <20190309102427.GA3565@arch> In-Reply-To: <20190309102427.GA3565@arch> From: Sven Van Asbroeck Date: Sat, 9 Mar 2019 08:03:44 -0500 Message-ID: Subject: Re: [PATCH v2] iio: proximity: as3935: fix use-after-free on device remove To: Tomasz Duszynski Cc: Jonathan Cameron , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org, Linux Kernel Mailing List , Matt Ranostay 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 Sat, Mar 9, 2019 at 5:24 AM Tomasz Duszynski wrote: > > What I meant is that delayed work initialization could stay where it was. > The reason you moved it is readability improvement so to me it is more > of a cleanup hence I suggested a separate patch. Up to you. Ah, I see what you mean now. I'm ok with splitting this up, but we should probably ask the maintainer (Jonathan) what he prefers, because he's the one who will have to take two small patches instead of one. And the second patch is a one-liner.