Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp183033imc; Sun, 10 Mar 2019 01:36:35 -0800 (PST) X-Google-Smtp-Source: APXvYqx80hkvHTmExs4RX8iAykG9abIvM3QBEKl4lmMf1oXslMQSAUNINzmgg/2b+2AGxsd5MD7W X-Received: by 2002:a62:6f06:: with SMTP id k6mr27265062pfc.257.1552210595786; Sun, 10 Mar 2019 01:36:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552210595; cv=none; d=google.com; s=arc-20160816; b=UH04jpWF7LrzszVbDqy7Rv2UhPkBBCKeH2lHTEnQbUd22xc6WKbjkpP5C41HULQrCb ypBtu/hfbN96+tH3FmzgS0Vjsx2SOg4IN2xY3WONRD4tCSPusOXNM4Em334be/wFp/Op 8OQYZIsC9/yA9PwSj5BnrtsTvZOsZe3Tle7cocw+Mso0jfg5wolGLu9CDFIhtZ96bl/P DzoYS7FMklGe4TnyZ6XFnFM4sj5PJwNE5/3ySZpqQbIVUsXbOouCgO3Soqv+A0Uz4lro O51RoG7ZupEiwmMw6+Waz9XMOKKuW2MBBzeIeGMuh4gBbWXiwOz7YHm01ZfjiAwXr1ci Azjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=v9k/CsSfVnH85A9qcgroYZ1skyD09UPRMhrmEOCyGPk=; b=spfGMj35anZmIBJoOueiBgiWGdXdbbguyLg7p3FCwSHnaxiljZLbatf/yeEDUuTjVa lEbdf8wGUnFeeaSa1lN8WqIVsuLQiIgfWRtrK7SILStzEJF3r8EaOe7BZPJxmaAxzPob gIIXWiS2OC4TekgT58ZMV6J+tdu2xpJEaO7tHPwcMvPansD+OAZd6PwUmlr2mE6Vqray Y2/l6FsXdB8bV+FfpaU+TtjalfdTkTWSocXOztpOO9kiBv2z/qYkknnfT+hfjZDK5XfE MOBcXptMk86x3WFN/WO40ZWpAnxcNnG165K2NS7vQ10caglXP6uPQ2wMq18wqsy+5fvO OpGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EAd9rmPW; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10si2522522pge.304.2019.03.10.01.36.02; Sun, 10 Mar 2019 01:36:35 -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=@kernel.org header.s=default header.b=EAd9rmPW; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726352AbfCJJej (ORCPT + 99 others); Sun, 10 Mar 2019 05:34:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:50326 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725834AbfCJJej (ORCPT ); Sun, 10 Mar 2019 05:34:39 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 53F6F206BA; Sun, 10 Mar 2019 09:34:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552210478; bh=60ewPDAia41NIVV42sNmPJUuJc/qziXF9U6SoUmDdTM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EAd9rmPW0pXEvGTtGDCUyp5RO4BlliJmnscRWz3H3ZIGFxajd4UmK4zDVxGEsgLCI r13GqYkK3cJQnt53hZOlQ/JOmh2H8y0o+IJFORwTNyCY2Etr3R7z0bWn4l2CZJ9G14 Rh7O631u1vQt+kNHKNcmQpklMzl70Xs8/VPfCEXQ= Date: Sun, 10 Mar 2019 09:34:32 +0000 From: Jonathan Cameron To: Sven Van Asbroeck Cc: Tomasz Duszynski , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org, Linux Kernel Mailing List , Matt Ranostay Subject: Re: [PATCH v2] iio: proximity: as3935: fix use-after-free on device remove Message-ID: <20190310093432.7751f45d@archlinux> In-Reply-To: References: <20190308175935.21904-1-TheSven73@gmail.com> <20190308202936.GA32641@arch> <20190308223249.GC32641@arch> <20190309102427.GA3565@arch> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 9 Mar 2019 08:03:44 -0500 Sven Van Asbroeck wrote: > 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. I don't mind either way (definitely a marginal case!) but as we have this one and the alignment tidy up is trivial... Applied with the alignment tweaked to the togreg branch of iio.git and pushed out as testing. I'm not taking this the fast way or proposing it for stable as whilst the race is there, I don't think anyone has actually managed to trigger it. Thanks, Jonathan