Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp884588rdg; Fri, 13 Oct 2023 04:21:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1gzttjUmhNJhmOBYgkLU1kYZWvW9xkBc1qORv3fD/dFX/XLJuBjhlkCQCxgUH4aduUCO6 X-Received: by 2002:a17:903:22c8:b0:1c3:845d:a4 with SMTP id y8-20020a17090322c800b001c3845d00a4mr24702745plg.51.1697196110593; Fri, 13 Oct 2023 04:21:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697196110; cv=none; d=google.com; s=arc-20160816; b=GCrC88LHFwkIx+OQa2CZqnLuasuyCrjnBqs6buCzCxwIvJl7/QOt9YeN8H1YZ+zbny pTV8lQug/y5xQ80cJSjARHqQYeLKlrrSE/r1n5sdGqz5vO4NjcP/1lWKBdbwrSh4Mi9L A5nSWB3fjdwmt7bNiNVRIWtHi6+AhpSTHzv6CODPmrkc+JLHblIjaXeA7o8S0bzVWvya Xd6bDlXq2e06wHDN2RozLWRYUaNMuIBBsvvlFewysHVtSVMMzFRa2tzNYLGCVJMkYLVk 2y7WpY4K3BFEA9m3srmUehkgJcmoW9crMAqYS8VQyfjh4zRdgiFXIwhoa5XZSTfqvEAn T0Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=sqz62tPuOAaPACY6H8xuj22Zo3FzSolVivhSz5HwsYU=; fh=cOckVxVjrM5jmf86/i5eTTw5wBLyeTzAmcCgKIUtB0I=; b=WawzWT0QOJgNQ2qm8KZMfUyJRsFJXs/dnE2QItMYjQuP19xb1oH0q4d11I28sc//sZ XoCPQpKdqN4VaTIsr89iVOo/WRn0pOCt3NDVcA/ObDpMD+Np+abNl29l51y5aUYooJtE ZyAbttIQ6SF/UILOPyO1Mm3NDRlhWRlBQ0LUrOMoah2c/7R0YjoaRArb0gwFK8vZE59C Z50ZhpYM6mV+N+1gX1GvVaZ3meqp6x0QGDeNAfsqOLSbqnJTapHMKCkQo2rhSG6wMdjo OMFL1mrwLUuGqLsmCHesWGQla5kHrwPgsFa6Bz2V6g4yKPSksx7oTlNluJqq8fhgckVm 5kkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Gye196l+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id t2-20020a170902e84200b001c61bdd8e89si4467808plg.150.2023.10.13.04.21.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 04:21:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Gye196l+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 8CD5E8081CD2; Fri, 13 Oct 2023 04:21:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230292AbjJMLVk (ORCPT + 99 others); Fri, 13 Oct 2023 07:21:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230118AbjJMLVi (ORCPT ); Fri, 13 Oct 2023 07:21:38 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C9ECB7 for ; Fri, 13 Oct 2023 04:21:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697196096; x=1728732096; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4qcZWCWIBIltuQKs7SwdL1M/OoXqzM5+6D1gYOXf61Q=; b=Gye196l+sHNeBGmmNgyIVc/hVEdqv62VhMywB0+OUBZupTIbDQNVeK43 KpEGtf5coJYdT7YT34vG06oNeZXv1PYWJYXCBzC73s6WxQeo7qY7578Qa EmXXOZCHPqy83O4aLWvH2gbcx7hYa6gCpmKJx0gqBA5uPE8zguhHdpvvr qQZFrQfWXvIfa+u8FuEGfF7bsRDMF/QnMW80NCjw/3Yz2ukj/kRSeL/iK L5lw+g1H0YF6VgkE0ehpe/BAfPr/4CLjR7Q+RFUPFI1z4kOP12AD0xc8E dS/6bNagvNBjLDxp4YtfYoMsjER9vxZ2bpz06i747JH7LRtmRF/isLuyt A==; X-IronPort-AV: E=McAfee;i="6600,9927,10861"; a="388010205" X-IronPort-AV: E=Sophos;i="6.03,222,1694761200"; d="scan'208";a="388010205" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2023 04:21:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10861"; a="825024794" X-IronPort-AV: E=Sophos;i="6.03,222,1694761200"; d="scan'208";a="825024794" Received: from kesooi-mobl1.gar.corp.intel.com (HELO intel.com) ([10.215.155.173]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2023 04:21:30 -0700 Date: Fri, 13 Oct 2023 13:21:26 +0200 From: Andi Shyti To: Calvince Otieno Cc: outreachy@lists.linux.dev, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Luke Koch , Bagas Sanjaya , Simon Horman , linux-staging@lists.linux.dev Subject: Re: [PATCH v2] staging: wlan-ng: remove helper function prism2sta_inf_handover() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 13 Oct 2023 04:21:47 -0700 (PDT) Hi Calvince, ... > @@ -1697,7 +1697,8 @@ void prism2sta_ev_info(struct wlandevice *wlandev, > /* Dispatch */ > switch (inf->infotype) { > case HFA384x_IT_HANDOVERADDR: > - pr_debug("received infoframe:HANDOVER (unhandled)\n"); > + netdev_dbg(wlandev->netdev, > + "received infoframe:HANDOVER (unhandled)\n"); but then you generate this: CHECK: Alignment should match open parenthesis #240: FILE: drivers/staging/wlan-ng/prism2sta.c:1701: + netdev_dbg(wlandev->netdev, + "received infoframe:HANDOVER (unhandled)\n"); total: 0 errors, 0 warnings, 1 checks, 9 lines checked :-) Make it a habit... before sending a patch check it with checkpatch, in order to be sure you are not introducing other checkpatch errors. Don't rush... take your time, check your changes carefully; use checkpatch, compile test, run sparse, etc. Give others time to see your patch and comment. Andi