Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2258630imm; Thu, 27 Sep 2018 09:49:50 -0700 (PDT) X-Google-Smtp-Source: ACcGV62me43vIB1sP/91ERdAh1lauWsE7Z4lk8gVTCCgJJ2CKMtiPbSJKx7vEwgrP2EgBFG7/D57 X-Received: by 2002:a17:902:8481:: with SMTP id c1-v6mr12113669plo.158.1538066990391; Thu, 27 Sep 2018 09:49:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538066990; cv=none; d=google.com; s=arc-20160816; b=rqvF1EjqwKm5Qg/ZzAOiAHY6KPkya/liSir01GiCC47TYBxf67XkfTrJo7z7IK3viF a1nEgBIaff+Dynu816nAg2fhLQfvjtva1ki6aePQkg5kGq4O54Ww71oNyABciMpu+Yeo rc7rr65qda/g0yP/F+2l+3iA2MZ5xPPD5TJsSx5vWtT5ZYdVYnGMqKYLpYv34b3w9WAd LQXHbc+y4WoLmZAmPHhvMcgFES+DCYhjyOdAm8FWKc5HH95ovU2D49yt3U6hBalXYO7m b27J7m1qdqgxQf4Qwq2WQXeM0Owt2BYLL76yrwryCRxIhohGyUZI9P5VocQlDsRLfIl7 /1Xg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature; bh=kgo0O+/bHzsrLiv2p/xdA1/YPWNcCGRexPZzebcrnUU=; b=fMbD/ZbXYb/XnWW/kOF+4Bkz+28q10xyhfMwzqlbqPueo4sRxC4L6Ee022fe8lomCx R/z8Z6XgxMCXoL1ivKz13UGn9VoumLtIlR9k4nDOab8elbawhXDIRI9RWQ8LiKhAp06/ iC9zx3SE+QGVA34KZAGO/RH9gJBunjw/2xP6wToaTrE0hwL9Go2N4zcMftlc/4KYAdtD iM8dugo+qQFNd9JnKIdJovOWTBizLFaJMqAcH9+by4FALZhbtci+enCZ5+lZdOMo9YDp fhKEUifYcnkx5E7Ye4Eal0YGf9ertXwDTlC5nQJh9W7Hmn1HjjP1OhBEP8HAOe3wqUHD ZJoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="h8+E/euo"; dkim=pass header.i=@codeaurora.org header.s=default header.b="o/4Ywzuv"; 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 u10-v6si2601498pfd.297.2018.09.27.09.49.25; Thu, 27 Sep 2018 09:49:50 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b="h8+E/euo"; dkim=pass header.i=@codeaurora.org header.s=default header.b="o/4Ywzuv"; 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 S1728302AbeI0XGS (ORCPT + 99 others); Thu, 27 Sep 2018 19:06:18 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50058 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727622AbeI0XGS (ORCPT ); Thu, 27 Sep 2018 19:06:18 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4EEA260BEE; Thu, 27 Sep 2018 16:47:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538066830; bh=cOMd1iDuqkuzHjfwqOtwWUesrbKTYoTboLawwYv4x8k=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=h8+E/euo4VyKQrcK1aGIQWD0wR9sDi1mPrTRNu0/f7MQUENUK695POCXaEI6jLQDM YLC+LTwqj0CyG52KGlzkwz7Rca9IFLt+ne7RtFC5rfSu+efmx5XtTwK3hVwxIljoYc HTnW3NrAUm8uG16T7nqDb04dDiOrHMtkUoTgZ2Y4= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.0.106] (cpe-174-109-247-98.nc.res.rr.com [174.109.247.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: okaya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 02C6A609A8; Thu, 27 Sep 2018 16:47:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538066829; bh=cOMd1iDuqkuzHjfwqOtwWUesrbKTYoTboLawwYv4x8k=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=o/4YwzuvRXziZu5IeOZY+W0uq3vcgYQggXr/6lI3it0Avjrk/LGdDqOen3Ti7yjDv QFsaeatYfO/m9EulqkPHhtdr94OOziuwtaXXT6qUXbQiXaNlQaI4zEAvieUZshimMx Bj9bOaTXKCuGtJ+XAqpa8BSMm/iVUzU/RomDoMjw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 02C6A609A8 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=okaya@codeaurora.org Subject: Re: [PATCH v4 1/2] Bluetooth: Add device_get_bd_address() To: Balakrishna Godavarthi , Matthias Kaehlcke Cc: Greg Kroah-Hartman , "Rafael J . Wysocki" , Sakari Ailus , Marcin Wojtas , Andy Shevchenko Andy Shevchenko , Marcel Holtmann , Johan Hedberg , linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, Loic Poulain , Brian Norris References: <20180927004810.124185-1-mka@chromium.org> <20180927004810.124185-2-mka@chromium.org> From: Sinan Kaya Message-ID: Date: Thu, 27 Sep 2018 12:47:06 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/27/2018 12:41 PM, Balakrishna Godavarthi wrote: >  void bt_sock_reclassify_lock(struct sock *sk, int proto); > > +int device_get_bd_address(struct device *dev, bdaddr_t *bd_addr); Maybe change the API name to start with bt_ and get rid of device_?