Return-Path: Date: Fri, 8 Nov 2013 12:49:53 +0200 From: Johan Hedberg To: Andrei Emeltchenko Cc: linux-bluetooth@vger.kernel.org Subject: Re: [PATCHv4 2/3] android/debug: Convert uuid helper to use uint8_t buffer Message-ID: <20131108104953.GB28608@x220.p-661hnu-f1> References: <1383903349-17487-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> <1383903349-17487-3-git-send-email-Andrei.Emeltchenko.news@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1383903349-17487-3-git-send-email-Andrei.Emeltchenko.news@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Andrei, On Fri, Nov 08, 2013, Andrei Emeltchenko wrote: > -char *bt_uuid_t2str(const bt_uuid_t *uuid, char *buf) > +char *bt_uuid_t2str(const uint8_t *uuid, size_t len, char *buf) I don't understand what you need the len parameter for. Won't you always be passing 16 bytes to this function? Johan