From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Christian Gromm Subject: [PATCH 42/50] staging: most: core: fix data type Date: Tue, 21 Nov 2017 15:05:16 +0100 Message-ID: <1511273124-7840-43-git-send-email-christian.gromm@microchip.com> In-Reply-To: <1511273124-7840-1-git-send-email-christian.gromm@microchip.com> References: <1511273124-7840-1-git-send-email-christian.gromm@microchip.com> MIME-Version: 1.0 Content-Type: text/plain List-ID: To: gregkh@linuxfoundation.org Cc: driverdev-devel@linuxdriverproject.org, Christian Gromm This patch fixes the type used to manage the channels of an registered MOST interface. Signed-off-by: Christian Gromm --- drivers/staging/most/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/most/core.h b/drivers/staging/most/core.h index d6e9b87..7c44791 100644 --- a/drivers/staging/most/core.h +++ b/drivers/staging/most/core.h @@ -238,7 +238,7 @@ struct most_interface { struct module *mod; enum most_interface_type interface; const char *description; - int num_channels; + unsigned int num_channels; struct most_channel_capability *channel_vector; int (*configure)(struct most_interface *iface, int channel_idx, struct most_channel_config *channel_config); -- 2.7.4