From patchwork Tue Jun 19 15:12:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 139135 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5329824lji; Tue, 19 Jun 2018 08:13:20 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIlv8Pghy+Gd1FDUnMWzA3r+0WCngxtwdOEb1sNLW3EilBMKRLhVrIPJ0aynpXmYMRgFSnU X-Received: by 2002:a62:9513:: with SMTP id p19-v6mr18543894pfd.239.1529421199941; Tue, 19 Jun 2018 08:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529421199; cv=none; d=google.com; s=arc-20160816; b=BGgTGlHlrCMSuj8D7iuVmfs5uc6LAvm9BoVfnfpZbcfR025+E7OasqxA540BVJgDgX h4OAbcQFjqvFF6FBYN4IMmGwzm7N0ua+2Q7ic18fP5OcAOTsgYpUtmcxwiTkGAjGgvZ/ oOwdM0OAirAhi8MWveQU52Itjvb83Y45OdiKnCIO37mLPRuqN7yB0ICI8de7UWEDKXVg IkVXuS/sqpVMJDHe4tsYYpz0CjFMkviqKMmygCqXIRFVcJjy05yXXH+eua17bV7L3i4w sWRD5a1V4YGVoNxvdkliXQQCq/crLEvPMl4WAUJVlIZxlPKVxvScN9J0IDX1DXkbRRSc FGgw== 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=DnQSKW5o2YhxDqE/nKAX2tk0JqwF4Q5eataCmZqSwi4=; b=kwZbuHKUtFCdgjfZ6jurzcjp0gHrDstIjuwdD4GlInXkaOJiyJOJpVWFuAY7cpbMb7 qbDkIGwVnKeRG7cx2TbVYd6SJqmc9+F9OhYvYqxD9iMIwbrramsJHoaXy7jhCRjPN8GC T6n2J9Gr0Ug+RVn4RNHnUUCnEl4IggxYSVfRpADy54wlDGUkuPg0s7+L4xcnqCPxk45t 1seYS0Xh2Y0J/p7YvMOM4TNCcXZjFWwbLztudPAm9m/acAQAnqQn4FwDjYNDXU7CeIkD aeabv++W/sU3UXOaG7dsNmkMTjDzsJSGafDAuHzapDZPCDYd6B935/9fJKZhI9/XSn2k Q1uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bpreQH00; 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 o126-v6si17534824pfo.72.2018.06.19.08.13.19; Tue, 19 Jun 2018 08:13:19 -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=bpreQH00; 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 S937586AbeFSPNR (ORCPT + 30 others); Tue, 19 Jun 2018 11:13:17 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:50717 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965599AbeFSPMR (ORCPT ); Tue, 19 Jun 2018 11:12:17 -0400 Received: by mail-wm0-f66.google.com with SMTP id e16-v6so1020230wmd.0 for ; Tue, 19 Jun 2018 08:12:16 -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=DnQSKW5o2YhxDqE/nKAX2tk0JqwF4Q5eataCmZqSwi4=; b=bpreQH00Y8Ey+sv1dlbzJrp/uNViVpOvCxQfvYoAv19cRY+qCFgBDL3PNDpcWtFYA7 HlrBk7NGEZc7hLw9wYPX+lThXv+VB9Kmqk1AWaow9+GqKNY8war+9lTAIU0jQeCAOhe9 3cl3SiXOq5l4W4Lw3jgQAotHfHNu8l9GTRESA= 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=DnQSKW5o2YhxDqE/nKAX2tk0JqwF4Q5eataCmZqSwi4=; b=MAXhM7S26UfGSffaS38/EgqlStKgSELZm6FiiilW5ic5aMuFvm403tS3ODaskwmzY9 7dtfnB3K/wq7qniZm0iWbwABE9YUb0s/nuRxHdUOewVRtJx++r94QTi6YFQ8/CMhScu5 CRkZELKHuaAJz5D3O9rpPVRtTnjuvKAI88uSNV3w2vh4XUb2O8BlF/X2ftLcNcPTeiTT ZEVSDXqSUbhY1FX9+zoGVnJ2qTQ5Ymj4txKuujS926gwUPohoOe/F/FHqSxZQKMlEn7D PLhM+53zqdFcsUf9u1WAvlEKUAVpA3+VVI5s+/WcmqlqGbkm2q808bZHjGzzHABEXYgT 1TPQ== X-Gm-Message-State: APt69E2ymH4cmqfmQHVo3lTQkQ+OR9EA+EgdJgFd5NQ8jTf9JJIVBs4n fwe6xJo9A2vYPjqiiXlS0wGdIHb9bz4= X-Received: by 2002:a1c:988d:: with SMTP id a135-v6mr13131937wme.79.1529421136310; Tue, 19 Jun 2018 08:12:16 -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 f81-v6sm473599wmh.32.2018.06.19.08.12.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Jun 2018 08:12:15 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 1/4] slimbus: messaging: pass correct wbuf Date: Tue, 19 Jun 2018 16:12:02 +0100 Message-Id: <20180619151205.11300-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180619151205.11300-1-srinivas.kandagatla@linaro.org> References: <20180619151205.11300-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There seems to be a typo while filling msg for slim_write, wbuf is set to NULL instead of rbuf. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/messaging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.16.2 diff --git a/drivers/slimbus/messaging.c b/drivers/slimbus/messaging.c index 457ea1f8db30..5a2ff01b394c 100644 --- a/drivers/slimbus/messaging.c +++ b/drivers/slimbus/messaging.c @@ -307,7 +307,7 @@ int slim_write(struct slim_device *sdev, u32 addr, size_t count, u8 *val) { struct slim_val_inf msg; - slim_fill_msg(&msg, addr, count, val, NULL); + slim_fill_msg(&msg, addr, count, NULL, val); return slim_xfer_msg(sdev, &msg, SLIM_MSG_MC_CHANGE_VALUE); }