All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <3db1be098d362d554ebcd31ced83eefc5134aa8f.camel@mediatek.com>

diff --git a/N1/2.bin b/N1/2.bin
new file mode 100644
index 0000000..09ac635
--- /dev/null
+++ b/N1/2.bin
@@ -0,0 +1,82 @@
+<html><body><p>
+<pre>
+On&#32;Wed,&#32;2024-10-09&#32;at&#32;08:41&#32;-0700,&#32;Guillaume&#32;Ranquet&#32;wrote:
+&gt;&#32;&#32;&#32;
+&gt;&#32;External&#32;email&#32;:&#32;Please&#32;do&#32;not&#32;click&#32;links&#32;or&#32;open&#32;attachments&#32;until
+&gt;&#32;you&#32;have&#32;verified&#32;the&#32;sender&#32;or&#32;the&#32;content.
+&gt;&#32;&#32;On&#32;Fri,&#32;27&#32;Sep&#32;2024&#32;11:03,&#32;Liankun&#32;Yang&#32;&lt;liankun.yang@mediatek.com&gt;
+&gt;&#32;wrote:
+&gt;&#32;&gt;If&#32;the&#32;len&#32;is&#32;0,&#32;kernel&#32;crash&#32;will&#32;occur&#32;when&#32;performing&#32;operations.
+&gt;&#32;&gt;Add&#32;the&#32;len&#32;check&#32;conditions&#32;to&#32;prevent&#32;kernel&#32;crash.
+&gt;&#32;&gt;
+&gt;&#32;&gt;Fixes:&#32;f70ac097a2cf&#32;(&quot;drm/mediatek:&#32;Add&#32;MT8195&#32;Embedded&#32;DisplayPort
+&gt;&#32;driver&quot;)
+&gt;&#32;&gt;Signed-off-by:&#32;Liankun&#32;Yang&#32;&lt;liankun.yang@mediatek.com&gt;
+&gt;&#32;&gt;---
+&gt;&#32;&gt;Changes&#32;in&#32;V2:
+&gt;&#32;&gt;-&#32;Fix&#32;the&#32;commit&#32;title.
+&gt;&#32;&gt;-&#32;Remove&#32;blank&#32;line&#32;between&#32;the&#32;Fixes&#32;and&#32;Signe-off-by.
+&gt;&#32;&gt;-&#32;Modify&#32;the&#32;judgment&#32;writing&#32;method.
+&gt;&#32;&gt;Per&#32;suggestion&#32;from&#32;the&#32;previous&#32;thread:
+&gt;&#32;&gt;
+&gt;&#32;https://patchwork.kernel.org/project/linux-mediatek/patch/20240925084116.28848-1-liankun.yang@mediatek.com/
+&gt;&#32;&gt;---
+&gt;&#32;&gt;&#32;drivers/gpu/drm/mediatek/mtk_dp.c&#32;|&#32;2&#32;+-
+&gt;&#32;&gt;&#32;1&#32;file&#32;changed,&#32;1&#32;insertion(+),&#32;1&#32;deletion(-)
+&gt;&#32;&gt;
+&gt;&#32;&gt;diff&#32;--git&#32;a/drivers/gpu/drm/mediatek/mtk_dp.c
+&gt;&#32;b/drivers/gpu/drm/mediatek/mtk_dp.c
+&gt;&#32;&gt;index&#32;d8796a904eca..9ecdf62398ee&#32;100644
+&gt;&#32;&gt;---&#32;a/drivers/gpu/drm/mediatek/mtk_dp.c
+&gt;&#32;&gt;+++&#32;b/drivers/gpu/drm/mediatek/mtk_dp.c
+&gt;&#32;&gt;@@&#32;-1082,7&#32;+1082,7&#32;@@&#32;static&#32;void&#32;mtk_dp_get_calibration_data(struct
+&gt;&#32;mtk_dp&#32;*mtk_dp)
+&gt;&#32;&gt;&#32;buf&#32;=&#32;(u32&#32;*)nvmem_cell_read(cell,&#32;&amp;len);
+&gt;&#32;&gt;&#32;nvmem_cell_put(cell);
+&gt;&#32;&gt;
+&gt;&#32;&gt;-if&#32;(IS_ERR(buf)&#32;||&#32;((len&#32;/&#32;sizeof(u32))&#32;!=&#32;4))&#32;{
+&gt;&#32;&gt;+if&#32;(IS_ERR(buf)&#32;||&#32;!len&#32;||&#32;((len&#32;/&#32;sizeof(u32))&#32;!=&#32;4))&#32;{
+&gt;&#32;&gt;&#32;dev_warn(dev,&#32;&quot;Failed&#32;to&#32;read&#32;nvmem_cell_read&#92;n&quot;);
+&gt;&#32;
+&gt;&#32;Hello&#32;Liankun,
+&gt;&#32;Would&#32;you&#32;be&#32;able&#32;to&#32;describe&#32;the&#32;crash&#32;with&#32;more&#32;details&#63;
+&gt;&#32;
+&gt;&#32;I&#39;m&#32;afraid&#32;I&#32;don&#39;t&#32;understand&#32;the&#32;fix&#63;
+&gt;&#32;
+&gt;&#32;if&#32;len&#32;is&#32;0,&#32;dividing&#32;0&#32;by&#32;sizeof(u32)&#32;is&#32;0&#32;and&#32;thus&#32;!=&#32;4
+&gt;&#32;So&#32;to&#32;me,&#32;checking&#32;for&#32;len&#32;!=&#32;0&#32;is&#32;redundant&#63;
+&gt;&#32;
+&gt;&#32;Thx,
+&gt;&#32;Guillaume.
+
+Hello&#32;Guillaume,
+
+Thank&#32;you&#32;for&#32;your&#32;correction.
+
+The&#32;check&#32;for&#32;len&#32;!=&#32;0&#32;is&#32;redundant.
+
+I&#32;did&#32;not&#32;review&#32;this&#32;patch&#32;carefully,&#32;and&#32;will&#32;review&#32;it&#32;again&#32;next
+time.
+
+Thx,
+Liankun.
+
+&gt;&#32;&gt;
+&gt;&#32;&gt;&#32;if&#32;(!IS_ERR(buf))
+&gt;&#32;&gt;--
+&gt;&#32;&gt;2.45.2
+
+</pre>
+</p></body></html><!--type:text--><!--{--><pre>************* MEDIATEK Confidentiality Notice ********************
+The information contained in this e-mail message (including any 
+attachments) may be confidential, proprietary, privileged, or otherwise
+exempt from disclosure under applicable laws. It is intended to be 
+conveyed only to the designated recipient(s). Any use, dissemination, 
+distribution, printing, retaining or copying of this e-mail (including its 
+attachments) by unintended recipient(s) is strictly prohibited and may 
+be unlawful. If you are not an intended recipient of this e-mail, or believe 
+that you have received this e-mail in error, please notify the sender 
+immediately (by replying to this e-mail), delete any and all copies of 
+this e-mail (including any attachments) from your system, and do not
+disclose the content of this e-mail to any other person. Thank you!
+</pre><!--}-->
diff --git a/N1/2.hdr b/N1/2.hdr
new file mode 100644
index 0000000..da1f671
--- /dev/null
+++ b/N1/2.hdr
@@ -0,0 +1,3 @@
+Content-Type: text/html;
+	charset="utf-8"
+Content-Transfer-Encoding: base64
diff --git a/a/content_digest b/N1/content_digest
index 70da954..3c74d77 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -21,7 +21,7 @@
   linux-mediatek@lists.infradead.org <linux-mediatek@lists.infradead.org>
   linux-arm-kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org>
  " Project_Global_Chrome_Upstream_Group <Project_Global_Chrome_Upstream_Group@mediatek.com>\0"
- "\00:1\0"
+ "\01:1\0"
  "b\0"
  "On Wed, 2024-10-09 at 08:41 -0700, Guillaume Ranquet wrote:\n"
  ">  \t \n"
@@ -88,5 +88,89 @@
  "> > if (!IS_ERR(buf))\n"
  "> >--\n"
  > >2.45.2
+ "\01:2\0"
+ "b\0"
+ "<html><body><p>\r\n"
+ "<pre>\r\n"
+ "On&#32;Wed,&#32;2024-10-09&#32;at&#32;08:41&#32;-0700,&#32;Guillaume&#32;Ranquet&#32;wrote:\r\n"
+ "&gt;&#32;&#32;&#32;\r\n"
+ "&gt;&#32;External&#32;email&#32;:&#32;Please&#32;do&#32;not&#32;click&#32;links&#32;or&#32;open&#32;attachments&#32;until\r\n"
+ "&gt;&#32;you&#32;have&#32;verified&#32;the&#32;sender&#32;or&#32;the&#32;content.\r\n"
+ "&gt;&#32;&#32;On&#32;Fri,&#32;27&#32;Sep&#32;2024&#32;11:03,&#32;Liankun&#32;Yang&#32;&lt;liankun.yang@mediatek.com&gt;\r\n"
+ "&gt;&#32;wrote:\r\n"
+ "&gt;&#32;&gt;If&#32;the&#32;len&#32;is&#32;0,&#32;kernel&#32;crash&#32;will&#32;occur&#32;when&#32;performing&#32;operations.\r\n"
+ "&gt;&#32;&gt;Add&#32;the&#32;len&#32;check&#32;conditions&#32;to&#32;prevent&#32;kernel&#32;crash.\r\n"
+ "&gt;&#32;&gt;\r\n"
+ "&gt;&#32;&gt;Fixes:&#32;f70ac097a2cf&#32;(&quot;drm/mediatek:&#32;Add&#32;MT8195&#32;Embedded&#32;DisplayPort\r\n"
+ "&gt;&#32;driver&quot;)\r\n"
+ "&gt;&#32;&gt;Signed-off-by:&#32;Liankun&#32;Yang&#32;&lt;liankun.yang@mediatek.com&gt;\r\n"
+ "&gt;&#32;&gt;---\r\n"
+ "&gt;&#32;&gt;Changes&#32;in&#32;V2:\r\n"
+ "&gt;&#32;&gt;-&#32;Fix&#32;the&#32;commit&#32;title.\r\n"
+ "&gt;&#32;&gt;-&#32;Remove&#32;blank&#32;line&#32;between&#32;the&#32;Fixes&#32;and&#32;Signe-off-by.\r\n"
+ "&gt;&#32;&gt;-&#32;Modify&#32;the&#32;judgment&#32;writing&#32;method.\r\n"
+ "&gt;&#32;&gt;Per&#32;suggestion&#32;from&#32;the&#32;previous&#32;thread:\r\n"
+ "&gt;&#32;&gt;\r\n"
+ "&gt;&#32;https://patchwork.kernel.org/project/linux-mediatek/patch/20240925084116.28848-1-liankun.yang@mediatek.com/\r\n"
+ "&gt;&#32;&gt;---\r\n"
+ "&gt;&#32;&gt;&#32;drivers/gpu/drm/mediatek/mtk_dp.c&#32;|&#32;2&#32;+-\r\n"
+ "&gt;&#32;&gt;&#32;1&#32;file&#32;changed,&#32;1&#32;insertion(+),&#32;1&#32;deletion(-)\r\n"
+ "&gt;&#32;&gt;\r\n"
+ "&gt;&#32;&gt;diff&#32;--git&#32;a/drivers/gpu/drm/mediatek/mtk_dp.c\r\n"
+ "&gt;&#32;b/drivers/gpu/drm/mediatek/mtk_dp.c\r\n"
+ "&gt;&#32;&gt;index&#32;d8796a904eca..9ecdf62398ee&#32;100644\r\n"
+ "&gt;&#32;&gt;---&#32;a/drivers/gpu/drm/mediatek/mtk_dp.c\r\n"
+ "&gt;&#32;&gt;+++&#32;b/drivers/gpu/drm/mediatek/mtk_dp.c\r\n"
+ "&gt;&#32;&gt;@@&#32;-1082,7&#32;+1082,7&#32;@@&#32;static&#32;void&#32;mtk_dp_get_calibration_data(struct\r\n"
+ "&gt;&#32;mtk_dp&#32;*mtk_dp)\r\n"
+ "&gt;&#32;&gt;&#32;buf&#32;=&#32;(u32&#32;*)nvmem_cell_read(cell,&#32;&amp;len);\r\n"
+ "&gt;&#32;&gt;&#32;nvmem_cell_put(cell);\r\n"
+ "&gt;&#32;&gt;\r\n"
+ "&gt;&#32;&gt;-if&#32;(IS_ERR(buf)&#32;||&#32;((len&#32;/&#32;sizeof(u32))&#32;!=&#32;4))&#32;{\r\n"
+ "&gt;&#32;&gt;+if&#32;(IS_ERR(buf)&#32;||&#32;!len&#32;||&#32;((len&#32;/&#32;sizeof(u32))&#32;!=&#32;4))&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;dev_warn(dev,&#32;&quot;Failed&#32;to&#32;read&#32;nvmem_cell_read&#92;n&quot;);\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;Hello&#32;Liankun,\r\n"
+ "&gt;&#32;Would&#32;you&#32;be&#32;able&#32;to&#32;describe&#32;the&#32;crash&#32;with&#32;more&#32;details&#63;\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;I&#39;m&#32;afraid&#32;I&#32;don&#39;t&#32;understand&#32;the&#32;fix&#63;\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;if&#32;len&#32;is&#32;0,&#32;dividing&#32;0&#32;by&#32;sizeof(u32)&#32;is&#32;0&#32;and&#32;thus&#32;!=&#32;4\r\n"
+ "&gt;&#32;So&#32;to&#32;me,&#32;checking&#32;for&#32;len&#32;!=&#32;0&#32;is&#32;redundant&#63;\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;Thx,\r\n"
+ "&gt;&#32;Guillaume.\r\n"
+ "\r\n"
+ "Hello&#32;Guillaume,\r\n"
+ "\r\n"
+ "Thank&#32;you&#32;for&#32;your&#32;correction.\r\n"
+ "\r\n"
+ "The&#32;check&#32;for&#32;len&#32;!=&#32;0&#32;is&#32;redundant.\r\n"
+ "\r\n"
+ "I&#32;did&#32;not&#32;review&#32;this&#32;patch&#32;carefully,&#32;and&#32;will&#32;review&#32;it&#32;again&#32;next\r\n"
+ "time.\r\n"
+ "\r\n"
+ "Thx,\r\n"
+ "Liankun.\r\n"
+ "\r\n"
+ "&gt;&#32;&gt;\r\n"
+ "&gt;&#32;&gt;&#32;if&#32;(!IS_ERR(buf))\r\n"
+ "&gt;&#32;&gt;--\r\n"
+ "&gt;&#32;&gt;2.45.2\r\n"
+ "\r\n"
+ "</pre>\r\n"
+ "</p></body></html><!--type:text--><!--{--><pre>************* MEDIATEK Confidentiality Notice ********************\r\n"
+ "The information contained in this e-mail message (including any \r\n"
+ "attachments) may be confidential, proprietary, privileged, or otherwise\r\n"
+ "exempt from disclosure under applicable laws. It is intended to be \r\n"
+ "conveyed only to the designated recipient(s). Any use, dissemination, \r\n"
+ "distribution, printing, retaining or copying of this e-mail (including its \r\n"
+ "attachments) by unintended recipient(s) is strictly prohibited and may \r\n"
+ "be unlawful. If you are not an intended recipient of this e-mail, or believe \r\n"
+ "that you have received this e-mail in error, please notify the sender \r\n"
+ "immediately (by replying to this e-mail), delete any and all copies of \r\n"
+ "this e-mail (including any attachments) from your system, and do not\r\n"
+ "disclose the content of this e-mail to any other person. Thank you!\r\n"
+ </pre><!--}-->
 
-9c5850338c16b0efe5934ca46602d6f8be371637441a750111ec9c7edd7ded95
+d6b341edee6fb6372d0cdcc5a9eb6aa8b8b5e2d3de9f025cb630b8bb04ebbb48

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.