From patchwork Mon Nov 3 19:47:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 40077 Return-Path: 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 ; Mon, 3 Nov 2014 19:47:49 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id p9sf2847861lbv.9 for ; 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 (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 ; 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 (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 ; 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 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Nov 2014 11:47:43 -0800 (PST) From: John Stultz To: Project Ara Linaro Software Cc: John Stultz 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: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- manifest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: