Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2640622ybl; Sat, 24 Aug 2019 22:56:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwYFW2Ygem+S03vFULnGlV88j5pMPVN8kG5gXmeU7xBoIJ8qyp6tmZsJdRgYsewHKghW0bo X-Received: by 2002:a63:506:: with SMTP id 6mr10794637pgf.434.1566712583744; Sat, 24 Aug 2019 22:56:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566712583; cv=none; d=google.com; s=arc-20160816; b=A2mfN0ZcGY9+TXuv9e+XJbnip8LUUDOi9KI+ZQni0dLcIIlYYFWypu2zEj4I4EH7Db PAJxR5zzj+g1wM4YlalyHXPX1rzeXb8sMTcDZ6NE6mamPtEuGI2ALdkHnOS4xM9sHQEI y9TaLygvgyYFcxcWMHF1lsNN8nh/nIvKuoF4Ao2CmlN9s9eYkyG0NjqSwdP1QUGcvcLh Si7zNjOTv+yC8KB8SD2W2alFRoHXUee9QJ3sQkT689JRHE7esKiMVuB899J4pyPewUH3 o+35XTjmSqTa/sVTNxrgHM/2iKancIa2D/Pj6/8/mcxOuDPXlzruMNhl3nwDHXCFfa2y Bnmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Fk6Xf6uxgMmd2xnQTpQ/45HW2MtBsB18PNlteWxOnfU=; b=BxdWwRz3z9J4ZqzEZ+lWMyhxP0F1vMXoVHogGphZe6XH4uwURt6x+3xLDTeqGKNYJS e4/7l23tMmp1mTy4A7yYXT9L3ul2+U7dCpWnScLfaJyO2mTw+jY482yOqfAAqeVhAl1G Bam6Nq/ZFKTKG2mRRWkjlHBa9pKqg5znMo80hCyfJUZc9STcmZAh1uFPMWlebQhOolWb rkrj2avipjN0e6WNpM34aJhwBAz5yv/mApckyIBkuGm7wpcsj9NV0lPpitgIWMt9oOqN s2AhOQTQHNpNv6ofBTFTjdSE1jKdtHAkaZroP7/PWMNMoDl/NMAaCtf2YwAmybFBo8Fu jTkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=i76Rp9ZX; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t7si6423812plr.27.2019.08.24.22.56.08; Sat, 24 Aug 2019 22:56:23 -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=@kernel.org header.s=default header.b=i76Rp9ZX; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727161AbfHYFzJ (ORCPT + 99 others); Sun, 25 Aug 2019 01:55:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:33484 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726095AbfHYFzH (ORCPT ); Sun, 25 Aug 2019 01:55:07 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 013622173E; Sun, 25 Aug 2019 05:55:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566712506; bh=eynOF9t5+dXOyKaMiT5x7hg/MTlKzel512EyY0PZXB4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i76Rp9ZXH5vGs/jjfYPY16LUiBdak8dNT63LtFXFYcB84KCSYLTAc/Jd5qo8sjQqn srhNNmAkJBfta6hT9qadup2TsE01ylULhw172ZkrS+mg09ipGk6VJA+WKkO9dgiLLx wwKcRN0Rmfiepsyvu6aWhDs5t654j+5immfangtU= From: Greg Kroah-Hartman To: devel@driverdev.osuosl.org, greybus-dev@lists.linaro.org, elder@kernel.org, johan@kernel.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , David Lin Subject: [PATCH 5/9] staging: greybus: log: Fix up some alignment checkpatch issues Date: Sun, 25 Aug 2019 07:54:25 +0200 Message-Id: <20190825055429.18547-6-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190825055429.18547-1-gregkh@linuxfoundation.org> References: <20190825055429.18547-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some function prototypes do not match the expected alignment formatting so fix that up so that checkpatch is happy. Cc: David Lin Cc: Johan Hovold Cc: Alex Elder Cc: greybus-dev@lists.linaro.org Cc: devel@driverdev.osuosl.org Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/greybus/log.c b/drivers/staging/greybus/log.c index 15a88574dbb0..4f1f161ff11c 100644 --- a/drivers/staging/greybus/log.c +++ b/drivers/staging/greybus/log.c @@ -31,14 +31,14 @@ static int gb_log_request_handler(struct gb_operation *op) /* Verify size of payload */ if (op->request->payload_size < sizeof(*receive)) { dev_err(dev, "log request too small (%zu < %zu)\n", - op->request->payload_size, sizeof(*receive)); + op->request->payload_size, sizeof(*receive)); return -EINVAL; } receive = op->request->payload; len = le16_to_cpu(receive->len); if (len != (op->request->payload_size - sizeof(*receive))) { dev_err(dev, "log request wrong size %d vs %zu\n", len, - (op->request->payload_size - sizeof(*receive))); + (op->request->payload_size - sizeof(*receive))); return -EINVAL; } if (len == 0) { @@ -83,7 +83,7 @@ static int gb_log_probe(struct gb_bundle *bundle, return -ENOMEM; connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), - gb_log_request_handler); + gb_log_request_handler); if (IS_ERR(connection)) { retval = PTR_ERR(connection); goto error_free; -- 2.23.0