From: Harvey Harrison <harvey.harrison@gmail.com>
To: Reinette Chatre <reinette.chatre@intel.com>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org,
ipw3945-devel@lists.sourceforge.net, "Winkler,
Tomas" <tomas.winkler@intel.com>
Subject: Re: [PATCH 10/13] iwlwifi: move iwl_print_hex_dump to iwl-debug.h
Date: Fri, 07 Nov 2008 10:03:59 -0800 [thread overview]
Message-ID: <1226081039.11596.20.camel@brick> (raw)
In-Reply-To: <1226080726-24860-11-git-send-email-reinette.chatre@intel.com>
On Fri, 2008-11-07 at 09:58 -0800, Reinette Chatre wrote:
> From: Winkler, Tomas <tomas.winkler@intel.com>
>
> This patch moves iwl_print_hex_dump to iwl-debug.h
> where it belongs
>
> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
> ---
> drivers/net/wireless/iwlwifi/iwl-debug.h | 10 ++++++++++
> drivers/net/wireless/iwlwifi/iwl-dev.h | 17 -----------------
> 2 files changed, 10 insertions(+), 17 deletions(-)
>
> diff --git a/drivers/net/wireless/iwlwifi/iwl-debug.h b/drivers/net/wireless/iwlwifi/iwl-debug.h
> index 84b7772..0e79a6a 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-debug.h
> +++ b/drivers/net/wireless/iwlwifi/iwl-debug.h
> @@ -40,6 +40,13 @@ do { if ((priv->debug_level & (level)) && net_ratelimit()) \
> dev_printk(KERN_ERR, &(priv->hw->wiphy->dev), "%c %s " fmt, \
> in_interrupt() ? 'I' : 'U', __func__ , ## args); } while (0)
>
> +#define iwl_print_hex_dump(priv, level, p, len) \
> +do { \
> + if (priv->debug_level & level) \
> + print_hex_dump(KERN_DEBUG, "iwl data: ", \
> + DUMP_PREFIX_OFFSET, 16, 1, p, len, 1); \
> +} while (0)
static inline please.
> +
> #ifdef CONFIG_IWLWIFI_DEBUGFS
> struct iwl_debugfs {
> const char *name;
> @@ -70,6 +77,9 @@ void iwl_dbgfs_unregister(struct iwl_priv *priv);
> #else
> #define IWL_DEBUG(level, fmt, args...)
> #define IWL_DEBUG_LIMIT(level, fmt, args...)
> +static inline void iwl_print_hex_dump(struct iwl_priv *priv, int level,
> + void *p, u32 len)
> +{}
> #endif /* CONFIG_IWLWIFI_DEBUG */
To keep it in sync with this.
Cheers,
Harvey
next prev parent reply other threads:[~2008-11-07 18:04 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-07 17:58 [PATCH 0/13] iwlwifi driver updates Reinette Chatre
2008-11-07 17:58 ` [PATCH 01/13] iwlagn: fix resume for ADHOC network Reinette Chatre
2008-11-07 17:58 ` [PATCH 02/13] iwl3945: " Reinette Chatre
2008-11-07 17:58 ` [PATCH 03/13] iwlwifi: trivial fix in includes Reinette Chatre
2008-11-07 17:58 ` [PATCH 04/13] iwlwifi: don't fail power set when calibration is not done yet Reinette Chatre
2008-11-07 17:58 ` [PATCH 05/13] iwlwifi: update iwl-commands.h for 3 stream support Reinette Chatre
2008-11-07 17:58 ` [PATCH 06/13] iwlwifi: move rx queue read pointer into rxq Reinette Chatre
2008-11-07 17:58 ` [PATCH 07/13] iwlwifi: revamp tx scheduler byte count tables handling Reinette Chatre
2008-11-07 17:58 ` [PATCH 08/13] iwlwifi: move spectrum measurement code to iwl-spectrum.c file Reinette Chatre
2008-11-07 17:58 ` [PATCH 09/13] iwl3945 : Fix Sparse Warnings Reinette Chatre
2008-11-07 17:58 ` [PATCH 10/13] iwlwifi: move iwl_print_hex_dump to iwl-debug.h Reinette Chatre
2008-11-07 17:58 ` [PATCH 11/13] iwl3945 : Simplify iwl3945_send_beacon_cmd Reinette Chatre
2008-11-07 17:58 ` [PATCH 12/13] iwlwifi: get some more information about command failure Reinette Chatre
2008-11-07 17:58 ` [PATCH 13/13] iwlwifi: use Rx single frame mode (one Rx frame per RB) Reinette Chatre
2008-11-07 18:09 ` [PATCH 11/13] iwl3945 : Simplify iwl3945_send_beacon_cmd Harvey Harrison
2008-11-07 20:10 ` reinette chatre
2008-11-07 18:03 ` Harvey Harrison [this message]
2008-11-08 19:11 ` [PATCH 10/13] iwlwifi: move iwl_print_hex_dump to iwl-debug.h Tomas Winkler
2008-11-07 18:07 ` [PATCH 09/13] iwl3945 : Fix Sparse Warnings Harvey Harrison
2008-11-07 18:18 ` reinette chatre
2008-11-08 5:51 ` [PATCH 05/13] iwlwifi: update iwl-commands.h for 3 stream support Marcel Holtmann
2008-11-11 16:54 ` reinette chatre
2008-11-07 20:58 ` [PATCH 01/13] iwlagn: fix resume for ADHOC network Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1226081039.11596.20.camel@brick \
--to=harvey.harrison@gmail.com \
--cc=ipw3945-devel@lists.sourceforge.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=reinette.chatre@intel.com \
--cc=tomas.winkler@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.