Message ID | 1415044052-2438-1-git-send-email-john.stultz@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCJ7RPMX4EMBBY5X36RAKGQEFHAHWVI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 57A9820560 for <linaro@patches.linaro.org>; Mon, 3 Nov 2014 19:47:49 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id p9sf2847861lbv.9 for <linaro@patches.linaro.org>; Mon, 03 Nov 2014 11:47:47 -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:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe:content-type:content-transfer-encoding; bh=jotn4p1JPACDlRCVVgaqsD+YOulxQLt/sTuAIOX2Se0=; b=e2s6gbuPbt9BdUd7dvxUbL5fnSzTC5BnkMT6hBA71hH9wEJCJWG7R7Qadn9kb/zyZW SRXbM1zBbDpVvg+vq7IsCmferP8EJQj+xniTVOjPUfAUeLG1skQhKEJQIhCy50XBp24l ZbuyV8hFtFbjm0bXpkelCzdoLrkXU/FkwkpUPE6hiEnk6wZNowg1qN/REfW+ucQspGQ0 jKOYjQe1WtyLd1039MS+fwEMuE7Mf9jB1/dFpsXjl5mYAUwi52zIOovckVfCLKI/0VUp oBLcrHcrR9BbaUXfGkJ7YFbtk5i1anvuPGWN0WSH2asDwwpU1e4BCHX1/0/tf9bSMyUN CAMA== X-Gm-Message-State: ALoCoQkLtfc2MdGe6Bl/yQgnBp4P6WI0/XEOxbUp6a9fqwfBsxQ1NmFBlp1Y6PiLTnfxEn/iWQIK X-Received: by 10.112.48.98 with SMTP id k2mr14104lbn.15.1415044067144; Mon, 03 Nov 2014 11:47:47 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.170.133 with SMTP id am5ls834616lac.54.gmail; Mon, 03 Nov 2014 11:47:46 -0800 (PST) X-Received: by 10.152.42.212 with SMTP id q20mr6774047lal.10.1415044066971; Mon, 03 Nov 2014 11:47:46 -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 ay11si32569881lab.132.2014.11.03.11.47.46 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Nov 2014 11:47:46 -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 u10so1544095lbd.11 for <patchwork-forward@linaro.org>; Mon, 03 Nov 2014 11:47:46 -0800 (PST) X-Received: by 10.112.77.74 with SMTP id q10mr52939233lbw.66.1415044066260; Mon, 03 Nov 2014 11:47:46 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp15264lbc; Mon, 3 Nov 2014 11:47:45 -0800 (PST) X-Received: by 10.68.195.68 with SMTP id ic4mr45681969pbc.44.1415044064798; Mon, 03 Nov 2014 11:47:44 -0800 (PST) Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com. [209.85.192.180]) by mx.google.com with ESMTPS id bj6si7474534pdb.237.2014.11.03.11.47.44 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Nov 2014 11:47:44 -0800 (PST) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.192.180 as permitted sender) client-ip=209.85.192.180; Received: by mail-pd0-f180.google.com with SMTP id ft15so11960979pdb.25 for <patches@linaro.org>; Mon, 03 Nov 2014 11:47:44 -0800 (PST) X-Received: by 10.68.209.230 with SMTP id mp6mr44795859pbc.27.1415044064022; Mon, 03 Nov 2014 11:47:44 -0800 (PST) Received: from localhost.localdomain (c-67-170-153-23.hsd1.or.comcast.net. [67.170.153.23]) by mx.google.com with ESMTPSA id ni1sm17925805pdb.69.2014.11.03.11.47.42 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Nov 2014 11:47:43 -0800 (PST) From: John Stultz <john.stultz@linaro.org> To: Project Ara Linaro Software <projectara-software-dev@linaro.org> Cc: John Stultz <john.stultz@linaro.org> Subject: [PATCH] gbsim: Fix greybus protocol -> protocol_id renaming issue Date: Mon, 3 Nov 2014 11:47:32 -0800 Message-Id: <1415044052-2438-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: john.stultz@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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit |
diff --git a/manifest.c b/manifest.c index 9d3d2b2..0de291f 100644 --- a/manifest.c +++ b/manifest.c @@ -74,7 +74,7 @@ static int identify_descriptor(struct greybus_descriptor *desc, size_t size) } cport = malloc(sizeof(struct gbsim_cport)); cport->id = desc->cport.id; - cport->protocol = desc->cport.protocol; + cport->protocol = desc->cport.protocol_id; TAILQ_INSERT_TAIL(&info.cports, cport, cnode); break; case GREYBUS_TYPE_CLASS:
Trying to build gbsim with the latest greybus, I'm hitting the following build issue: manifest.c: In function ‘identify_descriptor’: manifest.c:77:32: error: ‘struct greybus_descriptor_cport’ has no member named ‘protocol’ Related to the fact that the greybus cport protocol field is now named protocol_id. This patch fixes it by renaming the usage. Signed-off-by: John Stultz <john.stultz@linaro.org> --- manifest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)