All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Hebbar, Shivananda" <x0hebbar@ti.com>
To: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: [PATCH] DSPBRIDGE: Change num_proc type to u8.
Date: Sat, 3 Apr 2010 18:30:51 +0530	[thread overview]
Message-ID: <830E2177532E7946BE0E82F0F4288505044E450B9B@dbde02.ent.ti.com> (raw)

>From 1203012297c7b0a6a36f000a870c5e1210a233e1 Mon Sep 17 00:00:00 2001
From: Shivananda Hebbar <x0hebbar@ti.com>
Date: Fri, 19 Mar 2010 17:29:46 -0600
Subject: [PATCH] DSPBRIDGE: Change num_proc type to u8.

num_proc is used to represent number of processors.
As of now its 1. Also it can not be > 256.
So changing it to u8.

Signed-off-by: Shivananda Hebbar <x0hebbar@ti.com>
---
 drivers/dsp/bridge/pmgr/wcd.c  |    2 +-
 drivers/dsp/bridge/wmd/io_sm.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/bridge/pmgr/wcd.c
index 88dd3db..cd9db42 100644
--- a/drivers/dsp/bridge/pmgr/wcd.c
+++ b/drivers/dsp/bridge/pmgr/wcd.c
@@ -447,7 +447,7 @@ u32 mgrwrap_enum_node_info(union Trapped_Args *args, void *pr_ctxt)
 u32 mgrwrap_enum_proc_info(union Trapped_Args *args, void *pr_ctxt)
 {
  u8 *processor_info;
- u32 num_procs;
+ u8 num_procs;
  dsp_status status = DSP_SOK;
  u32 size = args->args_mgr_enumproc_info.processor_info_size;
 
diff --git a/drivers/dsp/bridge/wmd/io_sm.c b/drivers/dsp/bridge/wmd/io_sm.c
index 867402f..91d67d1 100644
--- a/drivers/dsp/bridge/wmd/io_sm.c
+++ b/drivers/dsp/bridge/wmd/io_sm.c
@@ -320,7 +320,7 @@ dsp_status bridge_io_on_loaded(struct io_mgr *hio_mgr)
  u32 ul_pad_size = 0;
  u32 i;
  dsp_status status = DSP_SOK;
- u32 num_procs = 0;
+ u8 num_procs = 0;
  s32 ndx = 0;
  /* DSP MMU setup table */
  struct wmdioctl_extproc ae_proc[WMDIOCTL_NUMOFMMUTLB];
-- 
1.6.0.4

             reply	other threads:[~2010-04-03 13:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-03 13:00 Hebbar, Shivananda [this message]
2010-04-22 21:42 ` [PATCH] DSPBRIDGE: Change num_proc type to u8 Ramirez Luna, Omar

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=830E2177532E7946BE0E82F0F4288505044E450B9B@dbde02.ent.ti.com \
    --to=x0hebbar@ti.com \
    --cc=linux-omap@vger.kernel.org \
    /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.