From patchwork Sat Apr 3 13:00:51 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hebbar, Shivananda" X-Patchwork-Id: 90532 X-Patchwork-Delegate: omar.ramirez@ti.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o33D0wV4017384 for ; Sat, 3 Apr 2010 13:00:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753629Ab0DCNA5 (ORCPT ); Sat, 3 Apr 2010 09:00:57 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:54425 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753604Ab0DCNA5 convert rfc822-to-8bit (ORCPT ); Sat, 3 Apr 2010 09:00:57 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o33D0rBS005784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 3 Apr 2010 08:00:56 -0500 Received: from dbde71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id o33D0qlX010835 for ; Sat, 3 Apr 2010 18:30:52 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde71.ent.ti.com ([172.24.170.149]) with mapi; Sat, 3 Apr 2010 18:30:52 +0530 From: "Hebbar, Shivananda" To: "linux-omap@vger.kernel.org" Date: Sat, 3 Apr 2010 18:30:51 +0530 Subject: [PATCH] DSPBRIDGE: Change num_proc type to u8. Thread-Topic: [PATCH] DSPBRIDGE: Change num_proc type to u8. Thread-Index: AQHK0y2wO2m2uW939k+jtbNEX9xANA== Message-ID: <830E2177532E7946BE0E82F0F4288505044E450B9B@dbde02.ent.ti.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 03 Apr 2010 13:01:32 +0000 (UTC) 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];