Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6997708imu; Wed, 14 Nov 2018 10:03:39 -0800 (PST) X-Google-Smtp-Source: AJdET5drE/pDAHWWpVYOMrRl1BomUPfKu4vdJwZ8FggBdE2pZ+tbQnN78eSZdKfeOcRVT22K8Nru X-Received: by 2002:a63:4384:: with SMTP id q126mr2692152pga.160.1542218619604; Wed, 14 Nov 2018 10:03:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542218619; cv=none; d=google.com; s=arc-20160816; b=FJyedYWq3MGwJpqQIFieAS3wWDSwrzzl8jBiGqmxrG2PfBeO/KQP+NmJV/FydygmYz 83hYPUJi+4PiZ3T+uQ/l2QUCncq//8IDU3pBjYSSqHNaEhrgd+Ze/wPvJZ0/q8D76eKN fCxenmLKTGyQMD61+l5lyLLX2Vc5Pf/sii5t+BdINrZNtmQo47OsLdHmCmEYEp3yPYqg edB82G1grqtXBGSIQoYBAnWvO/kaPkMXZjueqbimgZLmbNc0kN865KePJoUgbVX8nEL8 ZWJVD4SNq3rFJWqR9pXfyFYelPNORve7B1JOh1aOowSbxxHoCnDc6fQgvp+6RSvu0NQm LCqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1ovRvZGQSWtqecLbqSafVVYgSiBi9D/p2+yALXnG+yk=; b=0u8d2nbCB/pLgKBbGp+CEB9piJXDL3Pj1eioACf6B6nxvX1lZtVW5xmpbt4yakDUo9 shyQwVEeg+1U/hEra34gz7j2NJFWBPQ+CvUhqTboKfBRrYAmKfLoyFL+Uu8r26zhNGzY JUtcqETZVAyvU2YDlXL7ZlQb1HP/ZNrlAnTD+OegsheNE+e9JJEmKpczGnSn0FCgzi6x PiavOCTTFihL8QcCImbya0DH+5wCmw3DaLqfURurhUWfQIdBnHjnhMrhWGvUZOK8Gii1 G1xdm9bZPywR23uyhonmPDhz8I9tZ1fgeQbOg+gL2wj2VZINNATizjp+n2JxBpx7jG/K g0BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mk99Qytf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z23-v6si25703468plo.265.2018.11.14.10.03.17; Wed, 14 Nov 2018 10:03:39 -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=@linaro.org header.s=google header.b=Mk99Qytf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732847AbeKOEGw (ORCPT + 99 others); Wed, 14 Nov 2018 23:06:52 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:40744 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731192AbeKOEGw (ORCPT ); Wed, 14 Nov 2018 23:06:52 -0500 Received: by mail-pl1-f195.google.com with SMTP id b22-v6so2692714pls.7 for ; Wed, 14 Nov 2018 10:02:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1ovRvZGQSWtqecLbqSafVVYgSiBi9D/p2+yALXnG+yk=; b=Mk99QytfFNJrw5LqJAHt7HnQzy97X9YU2LTd7hUtojLxI1QdilHWAyzju9eHWvuk8Q l3JjsCeA1+/lHUhjo2mIc9VsrszPg9XKeJjP8CZWz5dEJvh7LV074W99GJ4AAOLYtxhC GjlTTjA0/GtUKzpcGlcBcYJbox+qo9l+reH38= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=1ovRvZGQSWtqecLbqSafVVYgSiBi9D/p2+yALXnG+yk=; b=BJoYlijY+BzY1vKysIiQEpOVxzUioVY37XSJdizAk/+G0oyuOTST937oUpfk5NkaDi /xpmqc/vksS7CYCMYMmYXnxpWcyKKv5e+fxmCmh4C+DX6dIVuRx/rjItk+9ZdQlyrny1 9imk/FAsaqXXE7HUo5raLj/SepV9D7utlSZmy3eCprNXVSSd+tbztSIroHeZCh5jaY2N 2ZT29uLH7ia3zqKqfPjTFCZFPLPq0ZiCsmbVA8wM7cBXrj9p5uCQKXB65OCfFEwqWSb6 smINAqBjqkoqxC5vNSRGXRw8AwT/r4aBfxVvn0NCbPwJ2uBKnuJiX4daIsgJ6/FAOIdu NRVQ== X-Gm-Message-State: AGRZ1gLPwBgZ22NvRPqikyzOyYT2EHYyGYwWCHokZbKL9V7xr6NLpGAp Rq7SCMPFXaFpuxRPlW8A7SPIqA== X-Received: by 2002:a17:902:3084:: with SMTP id v4-v6mr2852693plb.326.1542218559206; Wed, 14 Nov 2018 10:02:39 -0800 (PST) Received: from localhost ([64.114.255.97]) by smtp.gmail.com with ESMTPSA id f62sm23320538pgc.67.2018.11.14.10.02.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 10:02:38 -0800 (PST) Date: Wed, 14 Nov 2018 10:02:37 -0800 From: Andy Gross To: Arun Kumar Neelakantam Cc: davem@davemloft.net, bjorn.andersson@linaro.org, clew@codeaurora.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, fw@strlen.de, hannes@stressinduktion.org, dvlasenk@redhat.com, nicolas.dechesne@linaro.org, David Brown , "open list:ARM/QUALCOMM SUPPORT" Subject: Re: [PATCH] soc: qcom: qmi_interface: Limit txn ids to U16_MAX Message-ID: <20181114180237.GD14703@hector> References: <1538545205-17939-1-git-send-email-aneela@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1538545205-17939-1-git-send-email-aneela@codeaurora.org> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 03, 2018 at 11:10:02AM +0530, Arun Kumar Neelakantam wrote: > Txn IDs created up to INT_MAX cause overflow while storing > the IDs in u16 type supported by QMI header. > > Limit the txn IDs max value to U16_MAX to avoid overflow. > > Signed-off-by: Arun Kumar Neelakantam > --- Thanks for sending this in. I'll queue it up. Andy