Message ID | 20180525143618.820-6-srinivas.kandagatla@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3675801lji; Fri, 25 May 2018 07:39:09 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoh83NKvXFjSiP/NGzRDD8f6An5Cv5KcCOzJYsbIox5drAPez2Q9pDI8vwM6gRSsAAOAz52 X-Received: by 2002:a17:902:a5c7:: with SMTP id t7-v6mr2933053plq.360.1527259149467; Fri, 25 May 2018 07:39:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527259149; cv=none; d=google.com; s=arc-20160816; b=C3hMb4D1rB+ldXOw+YbeXCXmKCGmd3nioVhWfk11w7P45E+lFWpH1Z4ArNw5eqNF0n h6ua04Jb+DawzYdB8QSKCTfvRQSkvpMdLjIHUaS4PlWCbTc6+8yFzjqkumf2VGZWfJO0 w8V0y0ue5JKHmgH75fd+J2KEk8z+LE7uNbhVB1+8xNoHckzkJ2QrhaSOe8pESYNHTxOi rpKiCJzg3jlh11+KTHPbMXPrFPcz+qiRMorGGKzTgW9WZJK0bUkGU66v1GPGaR6oWmbP 9F+ILU3Rkkz1lY3ipE6ywI3y+b9fi+MCc799NpK0DsCnSkY6OK1qaNJk3ZcUewOVDsuL dbeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=DATBD+bfVSJYi0EGGsuGsSQSPfajgrHRQrhVJaxnXeI=; b=Q6ANIN8y7WTxT31gf/AE7NmA8Qofs3AKkgJgXiBltPnwOvqWizGd1dodIoHoXZwJNz uijtHOlOhX3o1mFKEje3QhCubqT1bSJhQYHmN+SSDp7ZEOqumIWz5LAwnL8Q/nSPdwCl FWfxw6tY9dn26GJ0oOEGcN4rbI8S25SGgFAxbz+nONZCPXE4tM76Bk+2lt1HOdoIc1Os sjA0o1nLaHg5osmmHlSnlchGR0vaCLCYmaoqKPzTvCRHKCcVOe1TVk8f7I9lOMp86BxX hlyF4ROBcjelSofqANOOXuRUauW746k0C0jgPnkO/l5D28RmYVPaQ0aY4rINDZTGACIv T9ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HqyU58eM; 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n12-v6si19479486pgs.560.2018.05.25.07.39.09; Fri, 25 May 2018 07:39:09 -0700 (PDT) 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=HqyU58eM; 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 S966083AbeEYOii (ORCPT <rfc822;ruslan.trofymenko@linaro.org> + 30 others); Fri, 25 May 2018 10:38:38 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:52036 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965074AbeEYOi2 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 25 May 2018 10:38:28 -0400 Received: by mail-wm0-f67.google.com with SMTP id j4-v6so15074905wme.1 for <linux-kernel@vger.kernel.org>; Fri, 25 May 2018 07:38:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DATBD+bfVSJYi0EGGsuGsSQSPfajgrHRQrhVJaxnXeI=; b=HqyU58eMmtno/FDQyjBEX2p+cfBlorJ4Tslx/3XvP77SOwFrgZ9zGAocup68F5XoRv vkjLRVddX9sh4CVQg2JqxeMCGFBETk8jXeIsGvMgQWFTqV8A/OMEMZpepNbye1ZeFytP Q7qr8rouc/xmX21XglrgFZ8KNPGlTLJyNIG7M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DATBD+bfVSJYi0EGGsuGsSQSPfajgrHRQrhVJaxnXeI=; b=awEB/3FTKuprk0W8sdMS8eFFfR2FGSwm+MKOaHfokELDFaCwI7OIi3fPHmBhvzRmfm NiljC5NW4x6N8XyWuVHrSaD+bFun/nbhtNvQzQ3R4wOxD+V84bovDpFpHIbqdFhwU+xH S3NPuL1WZ/ek8AoBLWhPK3rCbRDNrvDUrefkKKUNmDDClkPmcmZyCtPnySOcyxX/yBWm 9gNpXa4OK3Cs4VCFYh4AJ2HU6NYXVWelriHmoCuPX3b75n3N65t7Y3nVxtqIq87wAmWQ Rrh6EAOsH5QXXh18nzqAGiQaI5PZ8WWBV9hK+MaH0DWW50RK2+Tg4KaKVIp312N4b+RR HwkQ== X-Gm-Message-State: ALKqPweUTA+o81vD7P14xpzvk2m7YPBbW2vsKGisx+nBkvDBSCLD0iTC alLuk9ybSqanGCimevA7ItcMhkfpPWQ= X-Received: by 2002:a1c:d1c2:: with SMTP id i185-v6mr2147266wmg.10.1527259107033; Fri, 25 May 2018 07:38:27 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id r6-v6sm26165729wrg.73.2018.05.25.07.38.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 May 2018 07:38:26 -0700 (PDT) From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH v3 5/8] slimbus: messaging: initialize completion correctly Date: Fri, 25 May 2018 15:36:15 +0100 Message-Id: <20180525143618.820-6-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180525143618.820-1-srinivas.kandagatla@linaro.org> References: <20180525143618.820-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
slimbus: fixes and some helpers
|
expand
|
diff --git a/drivers/slimbus/messaging.c b/drivers/slimbus/messaging.c index 1c57b631031a..e3605ed1c459 100644 --- a/drivers/slimbus/messaging.c +++ b/drivers/slimbus/messaging.c @@ -246,6 +246,7 @@ static void slim_fill_msg(struct slim_val_inf *msg, u32 addr, msg->num_bytes = count; msg->rbuf = rbuf; msg->wbuf = wbuf; + msg->comp = NULL; } /**
slim_val_inf can contain random value from stack, make sure the completion is initialized to NULL while filling the msg. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> --- drivers/slimbus/messaging.c | 1 + 1 file changed, 1 insertion(+) -- 2.16.2