Message ID | 20180516113642.28136-8-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-v6csp805245lji; Wed, 16 May 2018 04:39:31 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr/EiT2HabccoqIKGcGQTTzG2aDGSqXFbEKyaUsh2DU6cgic8YHxCyp5rC9j6PZAEdqqdor X-Received: by 2002:a17:902:968d:: with SMTP id n13-v6mr594079plp.168.1526470771772; Wed, 16 May 2018 04:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526470771; cv=none; d=google.com; s=arc-20160816; b=EyfbmgM7BWCdrMR1sovK1AiCBmGM/z00r3GGVEQqrLHFsaoWATvhG80by/ARvJFuJU 5pPy4ABs0GQ/Y6IRGzhaQVxB1IzlXO55NCl02NedWT73M4UrqWo9b/wY5pDjukz4CLTE lUDKzWCUQCOhoV89Vk1WvGaYi06qhwI0hI4FVHVimZ1yjOA9gxoGbIEcNANgdtRMydUd lEGZP25jpjyLVPHbvjgzMcQzOuYCtYVJTykrKT70ckYthDyadz2WD0J1jR7cNcv4Dy2V Pk1Z9vJiRV5CfSS5dnTb/+yXbCCAE6tIDWRGQnkiYQKshzeynBRbikcZj3u9hek+MWpj IWSA== 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=wO/3Vwe2w+OXBq8uJE10e6m5PMua/N0ytj4b2qk2ZkA=; b=Ya5HpzU9C+Szh+mYvTHmRL6N7SBqcfRiI6kCbiJFayiddEyBNvFVw0ZhfVocJ9bezZ AC6Yx/Z6RPTjFQOmFgWFyLtVyiEAFijHdFJxKfuOa3LgvKVjISZyPefNQyEj5XioH6x/ NVidE2zS9LEeX7X6K/1rEhsUGe1hvJS7f1bzhNS/ToEaXC95yQ02qS8eulU4QBygbjKE NOD5vfnnllz/pnj/GfPx+A2ariG0Hnmlwf3DkgjH921GOotVEoKy3QX48s9kLzKFOkaq QdoTiLizXfRJoUnP+j0u6g2bgdbxrZ0cCQzHQFBiS9UHlWhIZngtlrSbdfjuakAiON6Y lgCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WdwPjHet; 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 h4-v6si1916979pgq.603.2018.05.16.04.39.31; Wed, 16 May 2018 04:39:31 -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=WdwPjHet; 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 S1752614AbeEPLj3 (ORCPT <rfc822;ramon.fried@linaro.org> + 29 others); Wed, 16 May 2018 07:39:29 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:39754 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752406AbeEPLjP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 May 2018 07:39:15 -0400 Received: by mail-wr0-f196.google.com with SMTP id q3-v6so565376wrj.6 for <linux-kernel@vger.kernel.org>; Wed, 16 May 2018 04:39:15 -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=wO/3Vwe2w+OXBq8uJE10e6m5PMua/N0ytj4b2qk2ZkA=; b=WdwPjHetvnTVq6o1rsnlvg60OfK4ZbuNlpSfy1+aThjdbgWz+saOvJ/OpiPnOJvS8r ITo6k9PjIIw9shrmQlupBpCRJRtVLNOIXcDWxz13afw81+EAR/qv+Jc1xg5wJZHNjZSj 1FxrgtKDFGHD/MhnY0wtSiwPR8bxamWgLrCls= 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=wO/3Vwe2w+OXBq8uJE10e6m5PMua/N0ytj4b2qk2ZkA=; b=nW/G/4yiCPOvlUAYHoN4aNmv1yPF1xHDA6j/+8IBkWPx9oseVEiyF+JroDTEPkER6j MZug9Y8S6EqAACCuiQjGqXOEA/y/7QXK++lFjh/dXJCnOHTFzFHu4BJEytov9nx5CoK3 UO1BSFXkMBJkj21CFXPGrNUKx6H85FM6lCzzYn9LjugT5autxKI3RERj1XKJntyQYzrl PKKKqrztJnV+22Qp9VOoIp4Ni4IffEd9096HFmpmIw3LeAaEnziqq1dk4KlADxKS6F6/ 0zgN3L0/9faZuTB1HGAqpBDveLlGPXm7PgWQjG82sVD/JJDNNOs2YXwrWnGgCxsHtyhA 2C3g== X-Gm-Message-State: ALKqPwek7IEjKdvtktOEDuIkB26KbncJjrVYAftleE7rAcMq326Scw1a hpfW0zGZXsm8eDvwJhL+JEyZW0F00Y8= X-Received: by 2002:adf:dc90:: with SMTP id r16-v6mr519008wrj.218.1526470754637; Wed, 16 May 2018 04:39:14 -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 k126-v6sm4504263wmd.45.2018.05.16.04.39.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 May 2018 04:39:14 -0700 (PDT) From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH 7/7] slimbus: messaging: initialize completion correctly Date: Wed, 16 May 2018 12:36:42 +0100 Message-Id: <20180516113642.28136-8-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180516113642.28136-1-srinivas.kandagatla@linaro.org> References: <20180516113642.28136-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 |
None
|
expand
|
diff --git a/drivers/slimbus/messaging.c b/drivers/slimbus/messaging.c index fd0788019357..2635eaaadf4a 100644 --- a/drivers/slimbus/messaging.c +++ b/drivers/slimbus/messaging.c @@ -277,6 +277,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