Merge tag 'staging-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[platform/kernel/linux-exynos.git] / drivers / staging / greybus / svc_watchdog.c
index d8af2d5..779fbea 100644 (file)
@@ -44,14 +44,14 @@ static int svc_watchdog_pm_notifier(struct notifier_block *notifier,
 
 static void greybus_reset(struct work_struct *work)
 {
-       static char start_path[256] = "/system/bin/start";
+       static char const start_path[] = "/system/bin/start";
        static char *envp[] = {
                "HOME=/",
                "PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin",
                NULL,
        };
        static char *argv[] = {
-               start_path,
+               (char *)start_path,
                "unipro_reset",
                NULL,
        };