Re: [PATCH 14/15] [media] marvell-ccic: use unsigned int type replace int type

2012-11-27 Thread Guennadi Liakhovetski
On Fri, 23 Nov 2012, Albert Wang wrote: This patch use unsigned int type replace int type in marvell-ccic. These variables: frame number, buf number, irq... should be unsigned. Several issues to be considered here: * most these variables will never take values INT_MAX, so, this isn't

RE: [PATCH 14/15] [media] marvell-ccic: use unsigned int type replace int type

2012-11-27 Thread Albert Wang
Hi, Guennadi -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: Wednesday, 28 November, 2012 00:02 To: Albert Wang Cc: cor...@lwn.net; linux-media@vger.kernel.org; Libin Yang Subject: Re: [PATCH 14/15] [media] marvell-ccic: use unsigned int type replace

[PATCH 14/15] [media] marvell-ccic: use unsigned int type replace int type

2012-11-23 Thread Albert Wang
This patch use unsigned int type replace int type in marvell-ccic. These variables: frame number, buf number, irq... should be unsigned. Signed-off-by: Albert Wang twan...@marvell.com --- .../media/platform/marvell-ccic/mcam-core-soc.h|2 +-