diff for duplicates of <1473250509.11323.60.camel@linux.intel.com> diff --git a/a/1.txt b/N1/1.txt index 79f7c1d..99eed5e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -73,7 +73,7 @@ Ditto. > +++ b/arch/x86/platform/intel-mid/device_libs/platform_max7315.c > @@ -31,7 +31,7 @@ static void __init *max7315_platform_data(void > *info) -> if (nr = MAX7315_NUM) { +> if (nr == MAX7315_NUM) { > pr_err("too many max7315s, we only support %d\n", > MAX7315_NUM); @@ -146,9 +146,9 @@ pr_err("%s: Can't find %s GPIO interrupt\n", __func__, MPU3050_INT); > intr = get_gpio_by_name(intr_pin_name); > > /* Check if the SFI record valid */ -> - if (gpio_base = -1) +> - if (gpio_base == -1) > - return NULL; -> + if (gpio_base = -1) { +> + if (gpio_base == -1) { > + pr_err("%s: invalid gpio base error\n", __func__); > + return ERR_PTR(gpio_base); @@ -215,7 +215,7 @@ platform_ipc.c. > > pdev = platform_device_alloc(pentry->name, 0); -> if (pdev = NULL) { +> if (pdev == NULL) { > @@ -371,8 +374,10 @@ static void __init sfi_handle_spi_dev(struct > sfi_device_table_entry *pentry, > spi_info.chip_select); diff --git a/a/content_digest b/N1/content_digest index e925eeb..1425f75 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01473210255-227672-1-git-send-email-sathyanarayanan.kuppuswamy@linux.intel.com\0" "From\0Andy Shevchenko <andriy.shevchenko@linux.intel.com>\0" "Subject\0Re: [PATCH 1/1] intel-mid: Fix sfi get_platform_data() return value issues\0" - "Date\0Wed, 07 Sep 2016 12:15:09 +0000\0" + "Date\0Wed, 07 Sep 2016 15:15:09 +0300\0" "To\0Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>" " wharms@bfs.de\0" "Cc\0dan.carpenter@oracle.com" @@ -86,7 +86,7 @@ "> +++ b/arch/x86/platform/intel-mid/device_libs/platform_max7315.c\n" "> @@ -31,7 +31,7 @@ static void __init *max7315_platform_data(void\n" "> *info)\n" - "> \302\240\tif (nr = MAX7315_NUM) {\n" + "> \302\240\tif (nr == MAX7315_NUM) {\n" "> \302\240\t\tpr_err(\"too many max7315s, we only support %d\\n\",\n" "> \302\240\t\t\t\tMAX7315_NUM);\n" "\n" @@ -159,9 +159,9 @@ "> \302\240\tintr = get_gpio_by_name(intr_pin_name);\n" "> \302\240\n" "> \302\240\t/* Check if the SFI record valid */\n" - "> -\tif (gpio_base = -1)\n" + "> -\tif (gpio_base == -1)\n" "> -\t\treturn NULL;\n" - "> +\tif (gpio_base = -1) {\n" + "> +\tif (gpio_base == -1) {\n" "> +\t\tpr_err(\"%s: invalid gpio base error\\n\", __func__);\n" "> +\t\treturn ERR_PTR(gpio_base);\n" "\n" @@ -228,7 +228,7 @@ "\n" "> \302\240\n" "> \302\240\tpdev = platform_device_alloc(pentry->name, 0);\n" - "> \302\240\tif (pdev = NULL) {\n" + "> \302\240\tif (pdev == NULL) {\n" "> @@ -371,8 +374,10 @@ static void __init sfi_handle_spi_dev(struct\n" "> sfi_device_table_entry *pentry,\n" "> \302\240\t\tspi_info.chip_select);\n" @@ -293,4 +293,4 @@ "Andy Shevchenko <andriy.shevchenko@linux.intel.com>\n" Intel Finland Oy -7562142eab10554c76cf6cc78fa8d7cd8ffd6c6dc98dfd4a5a622589936b79dc +fb024900e47122c1b2a75e9d48f37e143cabd3fb3485c3e34a7c88f682f338b4
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.