Received: by 10.213.65.68 with SMTP id h4csp567799imn; Tue, 13 Mar 2018 13:20:32 -0700 (PDT) X-Google-Smtp-Source: AG47ELssICeDkwqed1LWrnVt8aNCtDaIYFl21cvX0kiSbbsjb3s9d8x2UhOkbxDSJW6owMI0OEHx X-Received: by 2002:a17:902:6b89:: with SMTP id p9-v6mr1618122plk.285.1520972432863; Tue, 13 Mar 2018 13:20:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520972432; cv=none; d=google.com; s=arc-20160816; b=e6oDC9aZdGb8zGQi7U5X98DDKZPTzonp6E8L4Y/09J5ER43DUUDEsLwlzQtY8289WA v5bPOxmBF7XheYW509lBqddO8TdD2YsKQuWTe2/KGv7U3wUMwvdKA+82eYkpOGO2ko20 hxQlL/c8vkuMYZwNtiqze9gZcrj1gtOB0BNRYnTKZUMt3Kg4vxkFrC1G6sVG0J46WUb4 8n4TaYCgnYQzvWsdCyvwPw1jGlG4+dt6O5t0zjX5dyvZnGCrDi+KUSJ6F4ga5c/Ky292 s1BKTw9jRxEchSHvAVANkcSSXVGYKQrlGMr/u7jN6BAEDaHDgjkqJ4dMfwAQtQhta7Sz gGTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:arc-authentication-results; bh=paC8vFKx7u2OwV4e+80Gb/BqMFT8+WUXrN6Y3K78SaM=; b=tmVGNuHOvzNyHhg10qQsUyy/paq0zUpImnrZfUT9yf2aarFHYJO9zWGPw5CyDZU+C5 1+pTWcjqu4YSwvHXVfH3hVAEU5h4tOJukfsvYuDeUVVWheD52obWvIMhje+7bEn79DuM TET69ZPUQ9uEDyksTNj/S1iM/zGjeqk7cBn/6UfccKhqh7n7GypgMjQ8JQHUdv++darT YOXWouXPHj0hNdU9YqJYT76ABJaQLjZ/J5qDRTGHutIwowIKxBFqtMel+Tv5WzPSeIUm rwOOEqfqoZZwNCQSkF2YK96Vk0z725RnU2ZYyJgh1kKhhdR/UiS64aoh7e8xTuA5Uxqe cDzg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11-v6si657944plz.214.2018.03.13.13.20.18; Tue, 13 Mar 2018 13:20:32 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752950AbeCMUTW convert rfc822-to-8bit (ORCPT + 99 others); Tue, 13 Mar 2018 16:19:22 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:59108 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751903AbeCMUTU (ORCPT ); Tue, 13 Mar 2018 16:19:20 -0400 Received: from marcel-macpro.fritz.box (p4FF9F617.dip0.t-ipconnect.de [79.249.246.23]) by mail.holtmann.org (Postfix) with ESMTPSA id 4B078CF35F; Tue, 13 Mar 2018 21:25:33 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: [2/3] mwifiex: support sysfs initiated device coredump From: Marcel Holtmann In-Reply-To: <5AA829A1.1090209@broadcom.com> Date: Tue, 13 Mar 2018 21:19:18 +0100 Cc: Kalle Valo , linux-wireless , Linux Bluetooth mailing list , LKML , Greg Kroah-Hartman Content-Transfer-Encoding: 8BIT Message-Id: <24B25258-E680-490C-B7FF-D34CEBBA8566@holtmann.org> References: <1519210220-22437-3-git-send-email-arend.vanspriel@broadcom.com> <20180312094115.2E1C1606DB@smtp.codeaurora.org> <5AA67616.2000602@broadcom.com> <87efkoazow.fsf@kamboji.qca.qualcomm.com> <5AA829A1.1090209@broadcom.com> To: Arend van Spriel X-Mailer: Apple Mail (2.3445.5.20) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arend, >>>>> Since commit 3c47d19ff4dc ("drivers: base: add coredump driver ops") >>>>> it is possible to initiate a device coredump from user-space. This >>>>> patch adds support for it adding the .coredump() driver callback. >>>>> As there is no longer a need to initiate it through debugfs remove >>>>> that code. >>>>> >>>>> Signed-off-by: Arend van Spriel >>>> >>>> Based on the discussion I assume this is ok to take to w-d-next. If that's not >>>> the case, please let me know ASAP. >>> >>> It is up to the mwifiex maintainers to decide, I guess. The ABI >>> documentation need to be revised and change the callback to void >>> return type. I am not sure what the best approach is. 1) apply this >>> and fix return type later, or 2) fix return type and resubmit this. >>> What is your opinion? >> >> I guess the callback change will go through Greg's tree? Then I suspect >> it's easier that you submit the callback change to Greg first and wait >> for it to trickle down to wireless-drivers-next (after the next merge >> window) and then I can apply the driver patches. Otherwise there might >> be a conflict between my and Greg's tree. > > That was my assessment, but unfortunately Marcel already applied the btmrvl patch before I could reply. So how do I move from here? Option 1) revert brmrvl and fix callback return type, or 2) apply mwifiex patch and fix callback return type later for both drivers. I can take the patch back out of bluetooth-next if needed. It is your call. Regards Marcel