diff for duplicates of <20101018163223.GC2468@vigoh> diff --git a/a/1.txt b/N1/1.txt index 6838a7c..26f6846 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -6,19 +6,17 @@ Hi Harvey, > > From: steven miao <realmz6@gmail.com> > > > > -> > =A0 =A0 =A0 =A0case 2: -> > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 *((__le16 *) opt->val) =3D cpu_to_le16(va= -l); -> > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 put_unaligned_le16(cpu_to_le16(val), opt-= ->val); -> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0break; +> > case 2: +> > - *((__le16 *) opt->val) = cpu_to_le16(val); +> > + put_unaligned_le16(cpu_to_le16(val), opt->val); +> > break; > > ->=20 +> > I think you wanted: > put_unaligned_le16(val, opt->val); -I fixed that in the tree. Thanks for the report.=20 +I fixed that in the tree. Thanks for the report. ---=20 +-- Gustavo F. Padovan ProFUSION embedded systems - http://profusion.mobi diff --git a/a/content_digest b/N1/content_digest index a1f0a89..132f1bd 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -21,21 +21,19 @@ "> > From: steven miao <realmz6@gmail.com>\n" "> >\n" "> >\n" - "> > =A0 =A0 =A0 =A0case 2:\n" - "> > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 *((__le16 *) opt->val) =3D cpu_to_le16(va=\n" - "l);\n" - "> > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 put_unaligned_le16(cpu_to_le16(val), opt-=\n" - ">val);\n" - "> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0break;\n" + "> > \302\240 \302\240 \302\240 \302\240case 2:\n" + "> > - \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 *((__le16 *) opt->val) = cpu_to_le16(val);\n" + "> > + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 put_unaligned_le16(cpu_to_le16(val), opt->val);\n" + "> > \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240break;\n" "> >\n" - ">=20\n" + "> \n" "> I think you wanted:\n" "> put_unaligned_le16(val, opt->val);\n" "\n" - "I fixed that in the tree. Thanks for the report.=20\n" + "I fixed that in the tree. Thanks for the report. \n" "\n" - "--=20\n" + "-- \n" "Gustavo F. Padovan\n" ProFUSION embedded systems - http://profusion.mobi -17972768e02b4ae98d30559d496390f14ba6be6f6e9a4117466b05a0427da340 +46fba6524baa884979d8dd4dd200b439a5a3c94ea1dad60c4b28cb5bb67edac7
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.