Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7638314ybi; Thu, 1 Aug 2019 11:14:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqynmMH2LGRYY7du6TMCqOIfjwuGruCBpBf+FDrgRGdAle1S22FK4qGLWk/OQ9c8YlC22+Bm X-Received: by 2002:a63:6686:: with SMTP id a128mr112232006pgc.361.1564683299197; Thu, 01 Aug 2019 11:14:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564683299; cv=none; d=google.com; s=arc-20160816; b=HsD2yzlpHDNAdlPDUhG7/ZcnJSpuwH/HJaCoJdF9Ov9LvOOjhxSlq013RQ/QGdHypb en/QZqn5leqZbq0+6h/m6bTDNG1yNzj+2CxYjbdSMwioh6MFo2Y9HihgrtCvfNqnPi89 bT3S6NzkFDZHtZJR+4ZlMvUfdENa7FTvZkZKm8MoSwwbehmdIoEtVu4LVaYesCHs7m5r 0KtWbS43vOPqp+gRGdg0sBtWHqz3YPTHQJ4f5QceISp3SAOw+f9l2hdEAeg00LQ2hGbI UM+HLosgIzSItkjTLCBPrwgjp4gIvy6Hey37gkVnSjx8B8D6HHG8dEFOofVvQEXLZr0r cZcw== 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=9PEo+69I6S1feoxvla8SChMAeGVZYcKpFtssCvLOBqM=; b=hAGit0/OMVsyO4Y5PJov1bNMV7PKVewIBu9MtXNDA7Z0fxpoGfpaUoGojpsjk6/H9r oOxI3MtMc1VjCsfPc2K2BvMCMdAJEkzcSFiPC7WDmdPa7WJ2LblzpqOoGc1nuircmvit gsm9XX45+U2o3h4qNgEr88INIl+ErXkUm8Ns3QVqeaYBS+L4BnwNP009xUM3EMMLtjip 4fPlC/vExabCurQ62PwinAooq6UNzYUbtW4EewFA+8NuYFP4x5kd4sEWM0erJQewgiZZ Fe1i9pF4jzxpaw5Nvqmp/wrpfWq4UgG7BZ6qCwgh+fz5crV6YBhSUdyQ0O+YTjxj9xFr moLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UAIqnerP; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 f72si37103403pfa.67.2019.08.01.11.14.36; Thu, 01 Aug 2019 11:14:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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=UAIqnerP; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730088AbfHAQl6 (ORCPT + 99 others); Thu, 1 Aug 2019 12:41:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:37230 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729082AbfHAQl6 (ORCPT ); Thu, 1 Aug 2019 12:41:58 -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 705DE20838; Thu, 1 Aug 2019 16:41:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564677717; bh=eknL7DZfqIIEbpkvgdNMFNcQaCK/jHKsF7wcP4BIOds=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UAIqnerPahMJKZjbSHzoUVBG2mp4T4FpNqDN0ezjnGErWygQo8dPbjCRcAXKM4liH 60YSE+Kn2cL5A9wHGQ/DVP8nGycaujtGZ5NUWTSC0mgYUhrJ5i3ZMRXROjvXtuAbKF Gn001hEEfhrKfO4B31HxECK2GO0IS2otXEQGDAhs= Date: Thu, 1 Aug 2019 18:41:55 +0200 From: Greg KH To: Adham.Abozaeid@microchip.com Cc: linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, johannes@sipsolutions.net, Ajay.Kathat@microchip.com Subject: Re: [PATCH] staging: wilc1000: merge drv_handle and operation_mode wids Message-ID: <20190801164155.GA14688@kroah.com> References: <20190731205245.6590-1-adham.abozaeid@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190731205245.6590-1-adham.abozaeid@microchip.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, Jul 31, 2019 at 08:58:19PM +0000, Adham.Abozaeid@microchip.com wrote: > From: Adham Abozaeid > > wilc_set_wfi_drv_handler and wilc_set_operation_mode sends the same > parameters to the FW, so it's better to combine them together. > > Kept wilc_set_wfi_drv_handler implementation since it sends all the > required parameters, and renamed it to wilc_set_operation_mode to be > more descriptive. > > Signed-off-by: Adham Abozaeid > --- > drivers/staging/wilc1000/wilc_hif.c | 29 ++----------------- > drivers/staging/wilc1000/wilc_hif.h | 5 ++-- > drivers/staging/wilc1000/wilc_netdev.c | 6 ++-- > .../staging/wilc1000/wilc_wfi_cfgoperations.c | 24 +++++++-------- > drivers/staging/wilc1000/wilc_wlan_if.h | 3 +- > 5 files changed, 20 insertions(+), 47 deletions(-) This patch causes the following build error: drivers/staging/wilc1000/wilc_hif.c: In function wilc_deinit: drivers/staging/wilc1000/wilc_hif.c:1610:2: error: implicit declaration of function wilc_set_wfi_drv_handler [-Werror=implicit-function-declaration] 1610 | wilc_set_wfi_drv_handler(vif, 0, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ Always test build your patches...