Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3852905ybl; Mon, 26 Aug 2019 01:22:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzF5oQJka7gASaeQ+G4PBDnhRhdy3Sls+uiT5m0OyqqgskYgQiT8e/TkAd1V5BgKSKzEUvi X-Received: by 2002:a63:1341:: with SMTP id 1mr5216060pgt.48.1566807756127; Mon, 26 Aug 2019 01:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566807756; cv=none; d=google.com; s=arc-20160816; b=gywB3t2fE6oBnaIj+n5BsW4PLeKxWEHKsgzJ8fWdakColGyYyx7k/KzswpREEmXr8M n0KTLJHI8Ul0mu4UWiZxrByo3dyzToew1V9dkwl7TkqRNOax4GwvPOTr8wFrbyoTU9LT LPsOXSdSQCHSB9D95YjLNkss/p78iffMCkuA0hIARe8i788OHvd+vLj+ktB9Ya2tiuuu W+ev2sLcUPxbs9e1dn7l/vhOcEfjuXO28cx/lEsNIl0ghiH7rN+yi85aRCb4QARthpDI U+GnB+hshtYccHwkaqibZQrVODxCPtpd8VWXULPqw/RUo6pXY+8LVwArOlbMhl3gSxnW sjwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YwQsICc+3DjGnun37xdBipcHejPDbWJbE4T4sSSvK/8=; b=QhktmyoKT3/NK36s3xiJXwwnQe72RvECdbvQTyEFTi19HOzLsGTUcb6r+TEGt0eN0f nsUEn56ZIgl0kF+RDDekQRzAR4E+GtmCJb42YPUx66224FH18GQQflGaZiBFy4czHm9d 2jUWAbNDSxocjZ0+KpQo0SN6m4K3Iu4Dl+7UicR84qisimpg76B8kCiLhkYaqdlixP0p JIqTn32Ih9IANfZDWx+vwvUEIIEMMaFab7wx280jvgxFgiEgaDXexZOGVCuMfI6uIDCA BvNZKYbhFXaW6uBJi+LKLYe2+S7clCcaDNGD2b8GuxxYSXRKq7rjs2fh1lvKTQYNos1a ndIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JsXM6obO; 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 t16si8934472ply.133.2019.08.26.01.22.21; Mon, 26 Aug 2019 01:22:36 -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=JsXM6obO; 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 S1729394AbfHZGMi (ORCPT + 99 others); Mon, 26 Aug 2019 02:12:38 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:44732 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729175AbfHZGMi (ORCPT ); Mon, 26 Aug 2019 02:12:38 -0400 Received: by mail-pf1-f196.google.com with SMTP id c81so11073914pfc.11 for ; Sun, 25 Aug 2019 23:12:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=YwQsICc+3DjGnun37xdBipcHejPDbWJbE4T4sSSvK/8=; b=JsXM6obO3s98zghqwnJOHh5dnIRH0wCR7FN4My7XafFUbegpBWBVk4b/0cvUgJO8fj c++HQRVw6iamu8+y9JHp2Ul3n14zcd9NQ7VVn2G85qjYHvkRaNqnJVnn0Xsua2NUVC9E 14rFVASTv4sQO3Al214u69RBIm5Y3xl9RIsIadA2Wwe8SlJF9qMQqwxUVIwftBR9G93A fXxZ3qJjRvU9fZTLB0I5kpWR0Qfn8q6RDo2WhS6mQ/Q+Wz2LMQRjnvL+teZsynyqLPpv pUBVHpkC5N/TbJsoPV5V2JIkQMZ7B9NVxbe5ihXLml0U9ax1wqqK9txq3rhG+e/tWIuL wQIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=YwQsICc+3DjGnun37xdBipcHejPDbWJbE4T4sSSvK/8=; b=s1QftvbxiiS6nMsUxsa1n8e0ryjh2hyjQrtHSGH0dtJfy7s4epnwUtisBuxyQzgctx 6L1ny1Uf9xf8bsC9pqIDN7RcavUNeMfaztU77yQs/aNYznvHQHrvv3od2UAVq3Vhj0VF tqni3+kaHssM8ByS9pXbhyYP3Gv5AfjMw0RO/IVRETDl5zTUvgWnVP+44HTIWRzEj8FG BaEE1ZU2Lba7rCnyWgZCXNwWMajJqIFDjBhdnikyGe3u3DWMuQ5zuQvrFhJz1tD6NuWh lY6ZHApmJ4t5i7wDaqT5p64mtlRISyxXsnxwC5tv8iwA2mk7aKgAyUPwpv8ztxGdrNSq HJMg== X-Gm-Message-State: APjAAAV08R4L0Su6lENVpATg9ztZToSlFWIh+qO6iCdmj0UWO/BHWeyR kNkDUR7mxWea/XQGPMs3D064yA== X-Received: by 2002:a17:90b:28f:: with SMTP id az15mr18038596pjb.18.1566799957389; Sun, 25 Aug 2019 23:12:37 -0700 (PDT) Received: from localhost ([122.172.76.219]) by smtp.gmail.com with ESMTPSA id e13sm10396911pff.181.2019.08.25.23.12.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Aug 2019 23:12:36 -0700 (PDT) Date: Mon, 26 Aug 2019 11:42:35 +0530 From: Viresh Kumar To: Greg Kroah-Hartman Cc: devel@driverdev.osuosl.org, greybus-dev@lists.linaro.org, elder@kernel.org, johan@kernel.org, linux-kernel@vger.kernel.org, David Lin Subject: Re: [greybus-dev] [PATCH 5/9] staging: greybus: log: Fix up some alignment checkpatch issues Message-ID: <20190826061235.u3chbbctniukjdys@vireshk-i7> References: <20190825055429.18547-1-gregkh@linuxfoundation.org> <20190825055429.18547-6-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190825055429.18547-6-gregkh@linuxfoundation.org> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25-08-19, 07:54, Greg Kroah-Hartman wrote: > 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; Acked-by: Viresh Kumar -- viresh