From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 978D0C433EF for ; Mon, 20 Sep 2021 09:14:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7F3C560F36 for ; Mon, 20 Sep 2021 09:14:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235006AbhITJPa (ORCPT ); Mon, 20 Sep 2021 05:15:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:53876 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230360AbhITJPJ (ORCPT ); Mon, 20 Sep 2021 05:15:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 488D560FC0; Mon, 20 Sep 2021 09:08:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632128920; bh=G0xk/In77HKWUFgN+ffEjb+8ar4ZJgT3XWv0U2UYhcE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DU9PtqkPUzHI6qosiweJrMLwhY9jT6bfPnE6zWk4APz9IcNXvdXAEvqN1wcPRnTtB jaP8bwO2YivOtDZPGYlpM8LD7Ok7ZDY3oTqQ2ZTQXZbpNgIkuPKUzp5wmU/CL1HXBE SMyIb7VyDVhdMK75gmEu2OfknNQf8WFcT7lpXJ2A= Date: Mon, 20 Sep 2021 11:08:38 +0200 From: Greg KH To: Jeya R Cc: linux-arm-msm@vger.kernel.org, srinivas.kandagatla@linaro.org, linux-kernel@vger.kernel.org, fastrpc.upstream@qti.qualcomm.com Subject: Re: [PATCH] misc: fastrpc: fix improper packet size calculation Message-ID: References: <1632125731-18768-1-git-send-email-jeyr@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1632125731-18768-1-git-send-email-jeyr@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Mon, Sep 20, 2021 at 01:45:31PM +0530, Jeya R wrote: > The buffer list is sorted and this is not being > considered while calculating packet size. This > would lead to improper copy length calculation > for non-dmaheap buffers which would eventually > cause sending improper buffers to DSP. You do have the full 72 columns to use :) > > Signed-off-by: Jeya R > --- > drivers/misc/fastrpc.c | 13 +++++++++---- > 1 file changed, 9 insertions(+), 4 deletions(-) What commit does this fix? thanks, greg k-h