Re: [PATCH 1/5] CSI camera interface driver for MX1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Guennadi Liakhovetski wrote:
On Thu, 26 Mar 2009, Mauro Carvalho Chehab wrote:

+	/* common v4l buffer stuff -- must be first */
+	struct videobuf_buffer vb;
Here you have one space

+
+	const struct soc_camera_data_format        *fmt;
Here you have 8 spaces

+
+	int			inwork;
Here you have tabs. Please, unify.
Please always check your patches with checkpatch.pl. This will point such issues.

No, I did check the patch with checkpatch.pl and it didn't complain about this. It checks _indentation_ of lines, that _must_ be done with TABs, but it doesn't check what is used for alignment _inside_ lines, like

	xxx     = 0;
	y	= 1;
	zzzzz   = 2;

where first and third lines have spaces before "=", and the second one has a TAB. This is not checked by checkpatch.pl.

Thanks
Guennadi
---
Guennadi Liakhovetski


Newbie question -- where does one find checkpatch.pl?  And are there any other
tools we should be running on patches before we submit them?

Thanks.

 - Dave Strauss
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux