Skip to content

Commit

Permalink
media: xilinx: tpg: Block comments
Browse files Browse the repository at this point in the history
Block comments by using */ on a seprate line:

./scripts/checkpatch.pl --max-line-length 120 xilinx-tpg.c
WARNING: Block comments use a trailing */ on a separate line
+	 * the sink pad size */

total: 0 errors, 1 warnings, 1168 lines checked

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
  • Loading branch information
xlnx-hyunkwon authored and Michal Simek committed May 29, 2017
1 parent 315f019 commit cd4e659
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/platform/xilinx/xilinx-tpg.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,8 @@ static int xtpg_enum_frame_size(struct v4l2_subdev *subdev,

/* Min / max values for pad 0 is always fixed in both one and two pads
* modes. In two pads mode, the source pad(= 1) size is identical to
* the sink pad size */
* the sink pad size.
*/
if (fse->pad == 0) {
fse->min_width = XVIP_MIN_WIDTH;
fse->max_width = XVIP_MAX_WIDTH;
Expand Down

0 comments on commit cd4e659

Please sign in to comment.