drm/bridge/tc358775: Fix for PTR_ERR
Subsystems (3)
PATCH 1/1 drm/bridge/tc358775: Fix for PTR_ERR
passing zero to 'PTR_ERR'
Reported-by kernel test robot <[email protected]>
Signed-off-by Vinay Simha BN <[email protected]>
--- drivers/gpu/drm/bridge/tc358775.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/tc358775.c +1 -1
@@ -684,7 +684,7 @@ static int tc_probe(struct i2c_client *client, const struct i2c_device_id *id) tc->vdd =devm_regulator_get (dev,"vdd-supply" );if (IS_ERR (tc->vdd)) { - ret =PTR_ERR (tc->vddio); + ret =PTR_ERR (tc->vdd);dev_err (dev,"vdd-supply not found\n" );return ret; }
Signature · 1 line
2.7.4
Sam Ravnborg
AppliedQuoted 4 lines · Vinay Simha BN
passing zero to '
PTR_ERR'Reported-by kernel test robot <[email protected]>Signed-off-by Vinay Simha BN <[email protected]>
Applied to drm-misc-next - thanks.
Sam
Quoted 24 lines
--- drivers/gpu/drm/bridge/tc358775.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/bridge/tc358775.c +1
-1@@ -684,7 +684,7 @@ static int tc_probe(struct i2c_client *client, const struct i2c_device_id *id) tc->vdd =devm_regulator_get (dev,"vdd-supply" );if (IS_ERR (tc->vdd)) { - ret =PTR_ERR (tc->vddio); + ret =PTR_ERR (tc->vdd);dev_err (dev,"vdd-supply not found\n" );return ret; }Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Thanks Sam.
Quoted 35 lines · Sam Ravnborg
Quoted 4 lines · Vinay Simha BN
passing zero to '
PTR_ERR'Reported-by kernel test robot <[email protected]>Signed-off-by Vinay Simha BN <[email protected]>Applied to drm-misc-next - thanks.
Sam
Quoted 24 lines
--- drivers/gpu/drm/bridge/tc358775.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/bridge/tc358775.c +1
-2@@ -684,7 +684,7 @@ static int tc_probe(struct i2c_client *client, const struct i2c_device_id *id) tc->vdd =devm_regulator_get (dev,"vdd-supply" );if (IS_ERR (tc->vdd)) { - ret =PTR_ERR (tc->vddio); + ret =PTR_ERR (tc->vdd);dev_err (dev,"vdd-supply not found\n" );return ret; } --2.7.4
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 2 lines
regards, vinaysimha