Received: by 10.223.164.202 with SMTP id h10csp150423wrb; Wed, 8 Nov 2017 13:41:40 -0800 (PST) X-Google-Smtp-Source: ABhQp+RSrsmyCK4aYFQKfYIspP54A4yjsv87/I0yIGrOHake/TtOiXtwiUj4Mrnx7wmM3MRMQVAo X-Received: by 10.98.72.9 with SMTP id v9mr1865360pfa.131.1510177300466; Wed, 08 Nov 2017 13:41:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510177300; cv=none; d=google.com; s=arc-20160816; b=WdaN9ZbVUbTwrttI7pRqguuiJPsYNrLS1DUd6Iev4OAaAMy+W5Sl4SiCgVMH7WuEC4 X9ncd1rRlJUt34a5sBxuOhkGPw2qLNXrJLoJVg8rAvCAdWO97K00GfATYTxZVKhfLD3G afxq15PyEIn+4V50A98cRhOkwwdyrkUNqwctduryIaf6EWXsZt0yk0TAQatiAlOn2c3u wwxOoHEGSm4GzeRDeVk9e0Rf/W/P7BArn+mbMewvQgadHLBUgxnu0eZGdvm/jCXhLEpC rQneAS88zc5To39F2LKAjiMOByrA6T9XdDXjFBiAwWOsGvDXJQXWfBUp7phokWWRxG6o 4Itw== 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:arc-authentication-results; bh=XVnBnQSM7iSv7V9njB37JaZffvP6GiPKo+KdfBsQnsc=; b=G1TkJIT7QTy/jaUmoG2CjTT1PhxeEp5CKGW4VNZFQ0wIwQJtPiunIL7B4e1DwlZ0SH pGWOfpRVRmcjdBCAVZWXUtUZXu3DGLAqG2ynBh6OMzAt10XdaWnhSNfGCDuwULz/zbVa C7WZneMg15vPOQglSQr2llRoBXePUtQJ0QjHQbAl06+6Kii4tZ2FQkyy3WkQgCxOLTaM ohqczxtmZLd2b9GVIfmMee6srrH47QY+Y6JU6AaaGRjYZGWEcjqI12/xXA/SmV6ncqDp LkYO3zEI72aGXxuDIhvx8G3qtfL3aU48EHRcdMVbeA1mAiULkW0x0YZFIh2DqCYIjgv6 hIag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=fBOLq9Wv; dkim=pass header.i=@codeaurora.org header.s=default header.b=P9+w32OF; 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 e33si4621792pld.537.2017.11.08.13.41.28; Wed, 08 Nov 2017 13:41:40 -0800 (PST) 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=fBOLq9Wv; dkim=pass header.i=@codeaurora.org header.s=default header.b=P9+w32OF; 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 S1752826AbdKHVkq (ORCPT + 84 others); Wed, 8 Nov 2017 16:40:46 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:60846 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752680AbdKHVkb (ORCPT ); Wed, 8 Nov 2017 16:40:31 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 130A76077A; Wed, 8 Nov 2017 21:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510177231; bh=tqzMkabUrytT7BdUExGNrp8GnXGOZoqxoXr3u6OVnOM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=fBOLq9WvksyYbyInh54Z+Ct7AKNerkiK5z4oOIunu3qUra5g9lpPSjDNdGY2c4V+f H+tje9OekYPNb2hzkaygoRIqPdto+cf+1DfeMBJ/a4e8dRd20Ve0RKG9Y3kQR1NDrx wLSe0fTVb4jCskItFfluGn94kY8zWS7kSD+n69N4= 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.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.142.6] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: clew@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5D515600CE; Wed, 8 Nov 2017 21:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510177230; bh=tqzMkabUrytT7BdUExGNrp8GnXGOZoqxoXr3u6OVnOM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=P9+w32OFI4Z5Bii6JVzJqUWv7gRo4EjgoNY/cNfi5zAryth8VswixOhj7lRDedpqY b5+oqRHKtMdRaDRdDXKt5LWBdzStZPcJGV/+As/N/w/ZVtvKowYmcDXenxEiNEHcsV 9UxppJsdYO9zX/lCma1qDhQt+mqDVml3R//n5hWM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5D515600CE 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=clew@codeaurora.org Subject: Re: [PATCH v2 2/5] soc: qcom: Introduce QMI helpers To: Bjorn Andersson , Andy Gross , Ohad Ben-Cohen Cc: Arun Kumar Neelakantam , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-remoteproc@vger.kernel.org References: <20171107052042.22569-1-bjorn.andersson@linaro.org> <20171107052042.22569-3-bjorn.andersson@linaro.org> From: Chris Lew Message-ID: <858b59b9-6bff-6ed9-fd25-e35cbeec8aec@codeaurora.org> Date: Wed, 8 Nov 2017 13:40:29 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171107052042.22569-3-bjorn.andersson@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, Found a minor typo. On 11/6/2017 9:20 PM, Bjorn Andersson wrote: [..] > +ssize_t qmi_send_indication(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, > + int msg_id, size_t len, struct qmi_elem_info *ei, > + const void *c_struct) > +{ > + struct qmi_txn txn; > + ssize_t rval; > + int ret; > + > + ret = qmi_txn_init(qmi, &txn, NULL, NULL); > + if (ret < 0) > + return ret;; Double semi colon on ret. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project From 1583463298887406527@xxx Wed Nov 08 02:31:19 +0000 2017 X-GM-THRID: 1583428086602479824 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread