diff for duplicates of <57313821.4050309@samsung.com> diff --git a/a/1.txt b/N1/1.txt index 44fdeb7..ec220f1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,39 +1,50 @@ Hi Krzysztof, -On 2016년 05월 06일 16:27, Krzysztof Kozlowski wrote: +On 2016=EB=85=84 05=EC=9B=94 06=EC=9D=BC 16:27, Krzysztof Kozlowski wrote: > The regmap_irq_get_virq() can return negative ERRNO, so its result > should not be stored in unsigned int because error would be ignored. -> +>=20 > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> > --- > drivers/extcon/extcon-max8997.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) -> -> diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c +>=20 +> diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8= +997.c > index 68754ac2c8ea..0afa3e8b5dc3 100644 > --- a/drivers/extcon/extcon-max8997.c > +++ b/drivers/extcon/extcon-max8997.c -> @@ -660,11 +660,11 @@ static int max8997_muic_probe(struct platform_device *pdev) -> -> for (i = 0; i < ARRAY_SIZE(muic_irqs); i++) { -> struct max8997_muic_irq *muic_irq = &muic_irqs[i]; -> - unsigned int virq = 0; -> + int virq = 0; -> -> virq = regmap_irq_get_virq(max8997->irq_data_muic, +> @@ -660,11 +660,11 @@ static int max8997_muic_probe(struct platform_devic= +e *pdev) +> =20 +> for (i =3D 0; i < ARRAY_SIZE(muic_irqs); i++) { +> struct max8997_muic_irq *muic_irq =3D &muic_irqs[i]; +> - unsigned int virq =3D 0; +> + int virq =3D 0; +> =20 +> virq =3D regmap_irq_get_virq(max8997->irq_data_muic, > muic_irq->irq); > - if (!virq) { -> + if (virq <= 0) { -> ret = -EINVAL; +> + if (virq <=3D 0) { +> ret =3D -EINVAL; > goto err_irq; > } -> +>=20 Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Thanks, Chanwoo Choi --- -To unsubscribe from this list: send the line "unsubscribe linux-input" in -the body of a message to majordomo@vger.kernel.org -More majordomo info at http://vger.kernel.org/majordomo-info.html + +--=20 +--=20 +You received this message because you are subscribed to "rtc-linux". +Membership options at http://groups.google.com/group/rtc-linux . +Please read http://groups.google.com/group/rtc-linux/web/checklist +before submitting a driver. +---=20 +You received this message because you are subscribed to the Google Groups "= +rtc-linux" group. +To unsubscribe from this group and stop receiving emails from it, send an e= +mail to rtc-linux+unsubscribe@googlegroups.com. +For more options, visit https://groups.google.com/d/optout. diff --git a/a/content_digest b/N1/content_digest index 6317edb..076b61c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01462519636-3250-1-git-send-email-k.kozlowski@samsung.com\0" "ref\01462519636-3250-4-git-send-email-k.kozlowski@samsung.com\0" "From\0Chanwoo Choi <cw00.choi@samsung.com>\0" - "Subject\0Re: [PATCH v6 5/9] extcon: max8997: Fix handling error code of regmap_irq_get_virq()\0" + "Subject\0[rtc-linux] Re: [PATCH v6 5/9] extcon: max8997: Fix handling error code of regmap_irq_get_virq()\0" "Date\0Tue, 10 May 2016 10:23:45 +0900\0" "To\0Krzysztof Kozlowski <k.kozlowski@samsung.com>" Kukjin Kim <kgene@kernel.org> @@ -32,42 +32,53 @@ "b\0" "Hi Krzysztof,\n" "\n" - "On 2016\353\205\204 05\354\233\224 06\354\235\274 16:27, Krzysztof Kozlowski wrote:\n" + "On 2016=EB=85=84 05=EC=9B=94 06=EC=9D=BC 16:27, Krzysztof Kozlowski wrote:\n" "> The regmap_irq_get_virq() can return negative ERRNO, so its result\n" "> should not be stored in unsigned int because error would be ignored.\n" - "> \n" + ">=20\n" "> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>\n" "> ---\n" "> drivers/extcon/extcon-max8997.c | 4 ++--\n" "> 1 file changed, 2 insertions(+), 2 deletions(-)\n" - "> \n" - "> diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c\n" + ">=20\n" + "> diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8=\n" + "997.c\n" "> index 68754ac2c8ea..0afa3e8b5dc3 100644\n" "> --- a/drivers/extcon/extcon-max8997.c\n" "> +++ b/drivers/extcon/extcon-max8997.c\n" - "> @@ -660,11 +660,11 @@ static int max8997_muic_probe(struct platform_device *pdev)\n" - "> \n" - "> \tfor (i = 0; i < ARRAY_SIZE(muic_irqs); i++) {\n" - "> \t\tstruct max8997_muic_irq *muic_irq = &muic_irqs[i];\n" - "> -\t\tunsigned int virq = 0;\n" - "> +\t\tint virq = 0;\n" - "> \n" - "> \t\tvirq = regmap_irq_get_virq(max8997->irq_data_muic,\n" + "> @@ -660,11 +660,11 @@ static int max8997_muic_probe(struct platform_devic=\n" + "e *pdev)\n" + "> =20\n" + "> \tfor (i =3D 0; i < ARRAY_SIZE(muic_irqs); i++) {\n" + "> \t\tstruct max8997_muic_irq *muic_irq =3D &muic_irqs[i];\n" + "> -\t\tunsigned int virq =3D 0;\n" + "> +\t\tint virq =3D 0;\n" + "> =20\n" + "> \t\tvirq =3D regmap_irq_get_virq(max8997->irq_data_muic,\n" "> \t\t\t\t\tmuic_irq->irq);\n" "> -\t\tif (!virq) {\n" - "> +\t\tif (virq <= 0) {\n" - "> \t\t\tret = -EINVAL;\n" + "> +\t\tif (virq <=3D 0) {\n" + "> \t\t\tret =3D -EINVAL;\n" "> \t\t\tgoto err_irq;\n" "> \t\t}\n" - "> \n" + ">=20\n" "\n" "Acked-by: Chanwoo Choi <cw00.choi@samsung.com>\n" "\n" "Thanks,\n" "Chanwoo Choi\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-input\" in\n" - "the body of a message to majordomo@vger.kernel.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + "\n" + "--=20\n" + "--=20\n" + "You received this message because you are subscribed to \"rtc-linux\".\n" + "Membership options at http://groups.google.com/group/rtc-linux .\n" + "Please read http://groups.google.com/group/rtc-linux/web/checklist\n" + "before submitting a driver.\n" + "---=20\n" + "You received this message because you are subscribed to the Google Groups \"=\n" + "rtc-linux\" group.\n" + "To unsubscribe from this group and stop receiving emails from it, send an e=\n" + "mail to rtc-linux+unsubscribe@googlegroups.com.\n" + For more options, visit https://groups.google.com/d/optout. -6e4018ef4c6f4a354002a5d5be0b0b0d578a99923db58ccb5a9a53b454a2c872 +2aa6aba5248ceb7179c466e213c45ece6db142a13981113592521a519170a127
diff --git a/a/1.txt b/N2/1.txt index 44fdeb7..e702ed2 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -1,6 +1,6 @@ Hi Krzysztof, -On 2016년 05월 06일 16:27, Krzysztof Kozlowski wrote: +On 2016? 05? 06? 16:27, Krzysztof Kozlowski wrote: > The regmap_irq_get_virq() can return negative ERRNO, so its result > should not be stored in unsigned int because error would be ignored. > @@ -33,7 +33,3 @@ Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Thanks, Chanwoo Choi --- -To unsubscribe from this list: send the line "unsubscribe linux-input" in -the body of a message to majordomo@vger.kernel.org -More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N2/content_digest index 6317edb..e0a366f 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,38 +1,15 @@ "ref\01462519289-2356-2-git-send-email-k.kozlowski@samsung.com\0" "ref\01462519636-3250-1-git-send-email-k.kozlowski@samsung.com\0" "ref\01462519636-3250-4-git-send-email-k.kozlowski@samsung.com\0" - "From\0Chanwoo Choi <cw00.choi@samsung.com>\0" - "Subject\0Re: [PATCH v6 5/9] extcon: max8997: Fix handling error code of regmap_irq_get_virq()\0" + "From\0cw00.choi@samsung.com (Chanwoo Choi)\0" + "Subject\0[PATCH v6 5/9] extcon: max8997: Fix handling error code of regmap_irq_get_virq()\0" "Date\0Tue, 10 May 2016 10:23:45 +0900\0" - "To\0Krzysztof Kozlowski <k.kozlowski@samsung.com>" - Kukjin Kim <kgene@kernel.org> - MyungJoo Ham <myungjoo.ham@samsung.com> - Dmitry Torokhov <dmitry.torokhov@gmail.com> - Richard Purdie <rpurdie@rpsys.net> - Jacek Anaszewski <j.anaszewski@samsung.com> - Lee Jones <lee.jones@linaro.org> - Sebastian Reichel <sre@kernel.org> - Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> - David Woodhouse <dwmw2@infradead.org> - Liam Girdwood <lgirdwood@gmail.com> - Mark Brown <broonie@kernel.org> - Alessandro Zummo <a.zummo@towertech.it> - Alexandre Belloni <alexandre.belloni@free-electrons.com> - devicetree@vger.kernel.org - linux-arm-kernel@lists.infradead.org - linux-samsung-soc@vger.kernel.org - linux-kernel@vger.kernel.org - linux-input@vger.kernel.org - linux-leds@vger.kernel.org - linux-pm@vger.kernel.org - " rtc-linux@googlegroups.com\0" - "Cc\0r.baldyga@hackerion.com" - " Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "Hi Krzysztof,\n" "\n" - "On 2016\353\205\204 05\354\233\224 06\354\235\274 16:27, Krzysztof Kozlowski wrote:\n" + "On 2016? 05? 06? 16:27, Krzysztof Kozlowski wrote:\n" "> The regmap_irq_get_virq() can return negative ERRNO, so its result\n" "> should not be stored in unsigned int because error would be ignored.\n" "> \n" @@ -64,10 +41,6 @@ "Acked-by: Chanwoo Choi <cw00.choi@samsung.com>\n" "\n" "Thanks,\n" - "Chanwoo Choi\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-input\" in\n" - "the body of a message to majordomo@vger.kernel.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + Chanwoo Choi -6e4018ef4c6f4a354002a5d5be0b0b0d578a99923db58ccb5a9a53b454a2c872 +e0ce2dd0b61186d006e5a1ce6feee323f40b1c1efc0d5d3e5042e1c0315dcfd3
diff --git a/a/1.txt b/N3/1.txt index 44fdeb7..0ef6bb4 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -33,7 +33,3 @@ Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Thanks, Chanwoo Choi --- -To unsubscribe from this list: send the line "unsubscribe linux-input" in -the body of a message to majordomo@vger.kernel.org -More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N3/content_digest index 6317edb..e868a10 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -64,10 +64,6 @@ "Acked-by: Chanwoo Choi <cw00.choi@samsung.com>\n" "\n" "Thanks,\n" - "Chanwoo Choi\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-input\" in\n" - "the body of a message to majordomo@vger.kernel.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + Chanwoo Choi -6e4018ef4c6f4a354002a5d5be0b0b0d578a99923db58ccb5a9a53b454a2c872 +17296b947662a6bd03a1bdae5d8ba19a64c854a6a37b0f69202f42e5c8f8865a
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.