From patchwork Wed Dec 10 22:00:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 42102 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BE4AA26C75 for ; Wed, 10 Dec 2014 22:01:03 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id r20sf2838222wiv.9 for ; Wed, 10 Dec 2014 14:01:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=R51tg9D9qjP26JzWmiP9GcaMjcCGdKK4RbTAlk1gZb4=; b=iSBZ++3TwI7n4CvFPlQ0oUCKWxqqK8fvt7LinG36a9gSIpD53zlQ8L48linkOnzAxo /ZJuSZieicYH8MHiIIMYSESe8AIyBCc8dQxtCXzTqHNMDyD3bZp75bhrBURtXUGDwX30 uj5DrqYZa27B7CuPPYLNl4WqbmRJ/vRRuqOWdKrYV2emzTC+H+90QcUciZ0pYLPiSGD/ G1B7Iy0AemdlZScezcOocTHCOgNkrqcop8ISC2VMUYrcYPx7y/oaJs9RkyRxHEan8F/M ihrzw78D13vnm9QP/zd1F+IhuFQkLuXM5Fn4YeCArqfqBXqggvK1FjnqXa1OwRKdOJ+W 9HJQ== X-Gm-Message-State: ALoCoQn577BXbCCOofpNMYuMAYr0VBZAG2AAZn7Ib+UyoieqRmV/WaWkA3cPPDDLSA+ox/iUS9fr X-Received: by 10.194.134.193 with SMTP id pm1mr714131wjb.4.1418248862988; Wed, 10 Dec 2014 14:01:02 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.170.227 with SMTP id ap3ls227689lac.60.gmail; Wed, 10 Dec 2014 14:01:02 -0800 (PST) X-Received: by 10.112.171.170 with SMTP id av10mr6275643lbc.77.1418248862657; Wed, 10 Dec 2014 14:01:02 -0800 (PST) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id m4si5890634lbd.106.2014.12.10.14.01.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Dec 2014 14:01:02 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id l4so3079805lbv.39 for ; Wed, 10 Dec 2014 14:01:02 -0800 (PST) X-Received: by 10.152.45.41 with SMTP id j9mr6400205lam.59.1418248862503; Wed, 10 Dec 2014 14:01:02 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.142.69 with SMTP id ru5csp338186lbb; Wed, 10 Dec 2014 14:01:01 -0800 (PST) X-Received: by 10.229.16.197 with SMTP id p5mr13440868qca.3.1418248861042; Wed, 10 Dec 2014 14:01:01 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id c68si6413954qga.110.2014.12.10.14.01.00 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 10 Dec 2014 14:01:01 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XypJa-0002k7-Kd; Wed, 10 Dec 2014 22:00:58 +0000 Received: from mail-qa0-f47.google.com ([209.85.216.47]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XypJU-0002k0-BK for lng-odp@lists.linaro.org; Wed, 10 Dec 2014 22:00:52 +0000 Received: by mail-qa0-f47.google.com with SMTP id s7so2680773qap.6 for ; Wed, 10 Dec 2014 14:00:47 -0800 (PST) X-Received: by 10.224.37.133 with SMTP id x5mr13459275qad.58.1418248847114; Wed, 10 Dec 2014 14:00:47 -0800 (PST) Received: from fedora1.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id w7sm5450566qge.17.2014.12.10.14.00.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Dec 2014 14:00:46 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 10 Dec 2014 17:00:39 -0500 Message-Id: <1418248839-47292-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH] api: doxygen: test_odp_sys_cpu_model_str X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Specify more clearly the behaviour of the function. Signed-off-by: Mike Holmes --- platform/linux-generic/include/api/odp_system_info.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/include/api/odp_system_info.h b/platform/linux-generic/include/api/odp_system_info.h index bcd08d7..bf5896c 100644 --- a/platform/linux-generic/include/api/odp_system_info.h +++ b/platform/linux-generic/include/api/odp_system_info.h @@ -48,6 +48,8 @@ uint64_t odp_sys_page_size(void); /** * CPU model name + * The string is 128 chars long and will be NULL terminatied. + * The pointer will never be NULL, but it may be an empty string. * * @return Pointer to CPU model name string */