mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
staging: davinci_vpfe: fix space prohibited before semicolon warning
This patch fixes the following checkpatch.pl warning: space prohibited before semicolon Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1703ca9039
commit
0cba55bac3
1 changed files with 2 additions and 2 deletions
|
@ -901,7 +901,7 @@ static int ipipe_set_gbce_params(struct vpfe_ipipe_device *ipipe, void *param)
|
||||||
struct device *dev = ipipe->subdev.v4l2_dev->dev;
|
struct device *dev = ipipe->subdev.v4l2_dev->dev;
|
||||||
|
|
||||||
if (!gbce_param) {
|
if (!gbce_param) {
|
||||||
memset(gbce, 0 , sizeof(struct vpfe_ipipe_gbce));
|
memset(gbce, 0, sizeof(struct vpfe_ipipe_gbce));
|
||||||
} else {
|
} else {
|
||||||
memcpy(gbce, gbce_param, sizeof(struct vpfe_ipipe_gbce));
|
memcpy(gbce, gbce_param, sizeof(struct vpfe_ipipe_gbce));
|
||||||
if (ipipe_validate_gbce_params(gbce) < 0) {
|
if (ipipe_validate_gbce_params(gbce) < 0) {
|
||||||
|
@ -1086,7 +1086,7 @@ static int ipipe_set_car_params(struct vpfe_ipipe_device *ipipe, void *param)
|
||||||
struct vpfe_ipipe_car *car = &ipipe->config.car;
|
struct vpfe_ipipe_car *car = &ipipe->config.car;
|
||||||
|
|
||||||
if (!car_param) {
|
if (!car_param) {
|
||||||
memset(car , 0, sizeof(struct vpfe_ipipe_car));
|
memset(car, 0, sizeof(struct vpfe_ipipe_car));
|
||||||
} else {
|
} else {
|
||||||
memcpy(car, car_param, sizeof(struct vpfe_ipipe_car));
|
memcpy(car, car_param, sizeof(struct vpfe_ipipe_car));
|
||||||
if (ipipe_validate_car_params(car) < 0) {
|
if (ipipe_validate_car_params(car) < 0) {
|
||||||
|
|
Loading…
Reference in a new issue