Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5929853yba; Thu, 11 Apr 2019 08:35:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0R8ejwGEgjEnElnks9iT8e8xzRDUe68Ldvo+h5Z4Z7kV0/2vavSemfazevDChSESxZEbY X-Received: by 2002:a63:f40d:: with SMTP id g13mr48711612pgi.345.1554996908530; Thu, 11 Apr 2019 08:35:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554996908; cv=none; d=google.com; s=arc-20160816; b=vyfW+QSbjLhdSTyBKTjIhLk9hZHQ8MMmYILqADOvmbc+oVA56HMp1JGbn5/9YWmCc+ Z/BmyEe0Me04i5xzXTszqGmF5LJLkJHCSeOuEG/veqYe9Bq9UU20Hf+AlxQbiZU3XSK+ dILrxobgOO3HwCvchMG3rjPax2Z9YDrZvk/WuO8nb82NK0+1pUGb041XxegGCZd/pVK1 7uKwCSvof3qjPE2ZaaCGU/YUa3Fx/EJirV1R2KUIkduPqAHTYaWmnNvUgTdjpiRaxZZk DUOExtYZIhFaNgWae5Ra+1OaPwxSQFVsnq2P2pBRX+4nqHkSDz6M+yBErYmwU0VzaXsm tLIw== 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:to :from:date:dkim-signature; bh=Q8N1+kXs+T1Y/W9zehSt5c7P2vOSKnCC/i1Jb4Cdp9A=; b=lYy+7rbXJIyd6Aq6N+2GqG30hsuchCHsZIIeiWB+N+yaQlIr4Z8HGb+8YsAHoYAqTY XBaQuf0mrX6cYVqUdQ5JvXJFZnHFq8OuUGXUlfNgAUBMJ9oQ9tpUTfQZuzI5S4EOxSg/ bYhEGnRMsekGQNVcqDB/EuevZ8TDQWEYgvOqAc1vyBEFkMgBoZin+B4/eBlE7etcFAgQ cgm/ZzQBSlj7JgL57VWpwVsYKt4/mP2/o2YJR8KiCkiZTNaYY9OxRmNdOR+Nsn+ECX3a MDrZOv4suIfHE1iVKYopbt2GMn2utRIQy0aXZ0LNnugwzxdSVDRCbdKU73BfKh4Qys1u jesA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bl6PDDXh; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d9si32840969pgp.336.2019.04.11.08.34.52; Thu, 11 Apr 2019 08:35:08 -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=@gmail.com header.s=20161025 header.b=bl6PDDXh; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726828AbfDKPdg (ORCPT + 99 others); Thu, 11 Apr 2019 11:33:36 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:35831 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726073AbfDKPdf (ORCPT ); Thu, 11 Apr 2019 11:33:35 -0400 Received: by mail-ot1-f67.google.com with SMTP id m10so5632680otp.2 for ; Thu, 11 Apr 2019 08:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Q8N1+kXs+T1Y/W9zehSt5c7P2vOSKnCC/i1Jb4Cdp9A=; b=bl6PDDXh3XfRI3fZPfuU0LuBd0RaOqIElUPs3sYXIMB9TFz4HYEA6Uhxm2h+sgzwF+ 62mjeAEt62QLC5AeNZRCXfFceIuaXpjfBVjsGR7hMmGl5DZqBrCkdyEH1/lCsj34h19V wAKNtDbgpFe0H9t7rbx0CzGJCxAOW7oPWmX8dHWJxWYN/jAQQ69jwgGrVLA5RgpRteLA Os14g270cJ7vGLTGKD4gGvwZYzlr9Yjva8LJhC+GmVXx+gABal6xRJ5QsTWarjaSk1nf geKq5ot2rDBjtf6cjsNte4uiAJFitcdbHOccY7dZv+PmRMRXbL38OwZcM9zeCSbZSb5V hgRA== 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:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Q8N1+kXs+T1Y/W9zehSt5c7P2vOSKnCC/i1Jb4Cdp9A=; b=Sz9Ihjd0iY32WYqDrt7WBmczXPk+BohkuvyJnnuweufYVeHKmQ1GH/swidWtJrLob5 WKMqiYfsCaHtv7pGZKWngjtpmyMUwG67fDew7Y2jLpN7uYA0+E3SlzDB4iZ+erfmH0KJ atylXeNH6gvY+NQBih4Yc+UgPul7b1GVXt/w5cozMlc4Ckxlp6PlP2WYUmREPxbX6UyR tQptwn6yB4kRZVTWg/G6/K8+tRwNefqVMiU8BEekE2qO4jIVVmxzpROj5mVwH6N5GUMl kAeI6qpqCEprlCYNyNCjk5+YQ29r/j4xc+0GI9eR+A85+UtpmVCp6THgaGafTv/inGbi YbCg== X-Gm-Message-State: APjAAAUprYHNVEeiM9i5KUL9gWN0jjFIbvf/UHOFc3uz8/NSPXLDe5nD yZqSh2NMLGmpH75kL15xBWI= X-Received: by 2002:a9d:7616:: with SMTP id k22mr31154474otl.51.1554996814947; Thu, 11 Apr 2019 08:33:34 -0700 (PDT) Received: from madhuleo ([2605:6000:1023:606d:dd26:e4e7:c0ed:7fbb]) by smtp.gmail.com with ESMTPSA id g17sm14911619otq.45.2019.04.11.08.33.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Apr 2019 08:33:34 -0700 (PDT) Date: Thu, 11 Apr 2019 10:33:32 -0500 From: Madhumthia Prabakaran To: Dan Carpenter , gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Staging: rtl8723bs: Remove typedef in struct sdio_data Message-ID: <20190411153331.GA8557@madhuleo> References: <20190409161617.29871-1-madhumithabiw@gmail.com> <20190410064954.GE6095@kadam> <20190410194908.GA13242@madhuleo> <20190411081328.GF31633@kadam> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190411081328.GF31633@kadam> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 11, 2019 at 11:13:28AM +0300, Dan Carpenter wrote: > On Wed, Apr 10, 2019 at 02:49:09PM -0500, Madhumthia Prabakaran wrote: > > On Wed, Apr 10, 2019 at 09:49:54AM +0300, Dan Carpenter wrote: > > > On Tue, Apr 09, 2019 at 11:16:17AM -0500, Madhumitha Prabakaran wrote: > > > > diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/staging/rtl8723bs/include/drv_types.h > > > > index bafb2c30e7fb..b0623c936940 100644 > > > > --- a/drivers/staging/rtl8723bs/include/drv_types.h > > > > +++ b/drivers/staging/rtl8723bs/include/drv_types.h > > > > @@ -220,7 +220,7 @@ struct registry_priv > > > > #define BSSID_SZ(field) sizeof(((struct wlan_bssid_ex *) 0)->field) > > > > > > > > #include > > > > -#define INTF_DATA SDIO_DATA > > > > +#define INTF_DATA struct sdio_data > > > > > > > > > > Just get rid of INTF_DATA data as well. It's only used once a bit lower > > > in the file. (Get rid of the ifdef around it). > > > > But, reference of INTF_DATA is also included in file > > ./drivers/staging/rtl8723bs/include/drv_types.h:487: > > return &dvobj->intf_data.func->dev; > > > > Actually, I maybe misunderstood your email. I'm not sure what you mean > about "&dvobj->intf_data.func->dev;". I just meant to replace > INTF_DATA with "struct sdio_data". Sorry, I wasn't able to align my thoughts over ifdef. Thus, the confusion in fixing it. However, I edited it now. Thanks, Madhumitha > > regards, > dan carpenter >