diff for duplicates of <20170228093707.GA3458@kroah.com> diff --git a/a/1.txt b/N1/1.txt index 48c314c..077e7eb 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -15,14 +15,14 @@ mailing lists reject them, and your quoting is all messed up :( > > Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com> > > --- > > changes in v6 -> >� �- changes done such that no other errors can generate. -> >� �- Improve the coding style. -> >� �- Introduced new variables. -> >� �- type of the variable is changed. +> > - changes done such that no other errors can generate. +> > - Improve the coding style. +> > - Introduced new variables. +> > - type of the variable is changed. > > -> >� drivers/staging/xgifb/XGI_main_26.c | 29 ++++++----------------------- -> >� drivers/staging/xgifb/vb_setmode.c� | 17 +++++++++++------ -> >� 2 files changed, 17 insertions(+), 29 deletions(-) +> > drivers/staging/xgifb/XGI_main_26.c | 29 ++++++----------------------- +> > drivers/staging/xgifb/vb_setmode.c | 17 +++++++++++------ +> > 2 files changed, 17 insertions(+), 29 deletions(-) > > > > diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/ > XGI_main_26.c @@ -31,43 +31,43 @@ mailing lists reject them, and your quoting is all messed up :( > > +++ b/drivers/staging/xgifb/XGI_main_26.c > > @@ -878,30 +878,13 @@ static void XGIfb_post_setmode(struct > xgifb_video_info *xgifb_info) -> >� � � � � � � � � � � �} +> > } > > -> >� � � � � � � � � � � �if ((filter >= 0) && (filter <= 7)) { -> > +� � � � � � � � � � � � � � �const u8 *f = XGI_TV_filter[filter_tb]. +> > if ((filter >= 0) && (filter <= 7)) { +> > + const u8 *f = XGI_TV_filter[filter_tb]. > filter[filter]; -> >� � � � � � � � � � � � � � � �pr_debug("FilterTable[%d]-%d: %*ph\n", -> > -� � � � � � � � � � � � � � � � � � � filter_tb, filter, -> > -� � � � � � � � � � � � � � � � � � � 4, XGI_TV_filter[filter_tb]. -> > -� � � � � � � � � � � � � � � � � � � � � � � � filter[filter]); -> > -� � � � � � � � � � � � � � �xgifb_reg_set( -> > -� � � � � � � � � � � � � � � � � � �XGIPART2, -> > -� � � � � � � � � � � � � � � � � � �0x35, -> > -� � � � � � � � � � � � � � � � � � �(XGI_TV_filter[filter_tb]. -> > -� � � � � � � � � � � � � � � � � � � � � � �filter[filter][0])); -> > -� � � � � � � � � � � � � � �xgifb_reg_set( -> > -� � � � � � � � � � � � � � � � � � �XGIPART2, -> > -� � � � � � � � � � � � � � � � � � �0x36, -> > -� � � � � � � � � � � � � � � � � � �(XGI_TV_filter[filter_tb]. -> > -� � � � � � � � � � � � � � � � � � � � � � �filter[filter][1])); -> > -� � � � � � � � � � � � � � �xgifb_reg_set( -> > -� � � � � � � � � � � � � � � � � � �XGIPART2, -> > -� � � � � � � � � � � � � � � � � � �0x37, -> > -� � � � � � � � � � � � � � � � � � �(XGI_TV_filter[filter_tb]. -> > -� � � � � � � � � � � � � � � � � � � � � � �filter[filter][2])); -> > -� � � � � � � � � � � � � � �xgifb_reg_set( -> > -� � � � � � � � � � � � � � � � � � �XGIPART2, -> > -� � � � � � � � � � � � � � � � � � �0x38, -> > -� � � � � � � � � � � � � � � � � � �(XGI_TV_filter[filter_tb]. -> > -� � � � � � � � � � � � � � � � � � � � � � �filter[filter][3])); -> > +� � � � � � � � � � � � � � � � � � � filter_tb, filter, 4, f); -> > +� � � � � � � � � � � � � � �xgifb_reg_set(XGIPART2, 0x35, f[0]); -> > +� � � � � � � � � � � � � � �xgifb_reg_set(XGIPART2, 0x36, f[1]); -> > +� � � � � � � � � � � � � � �xgifb_reg_set(XGIPART2, 0x37, f[2]); -> > +� � � � � � � � � � � � � � �xgifb_reg_set(XGIPART2, 0x38, f[3]); -> >� � � � � � � � � � � �} -> >� � � � � � � �} -> >� � � �} +> > pr_debug("FilterTable[%d]-%d: %*ph\n", +> > - filter_tb, filter, +> > - 4, XGI_TV_filter[filter_tb]. +> > - filter[filter]); +> > - xgifb_reg_set( +> > - XGIPART2, +> > - 0x35, +> > - (XGI_TV_filter[filter_tb]. +> > - filter[filter][0])); +> > - xgifb_reg_set( +> > - XGIPART2, +> > - 0x36, +> > - (XGI_TV_filter[filter_tb]. +> > - filter[filter][1])); +> > - xgifb_reg_set( +> > - XGIPART2, +> > - 0x37, +> > - (XGI_TV_filter[filter_tb]. +> > - filter[filter][2])); +> > - xgifb_reg_set( +> > - XGIPART2, +> > - 0x38, +> > - (XGI_TV_filter[filter_tb]. +> > - filter[filter][3])); +> > + filter_tb, filter, 4, f); +> > + xgifb_reg_set(XGIPART2, 0x35, f[0]); +> > + xgifb_reg_set(XGIPART2, 0x36, f[1]); +> > + xgifb_reg_set(XGIPART2, 0x37, f[2]); +> > + xgifb_reg_set(XGIPART2, 0x38, f[3]); +> > } +> > } +> > } > > diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/ > vb_setmode.c > > index 7c7c8c8f1df3..249a32804c06 100644 @@ -76,21 +76,21 @@ mailing lists reject them, and your quoting is all messed up :( > > @@ -221,8 +221,11 @@ static unsigned char XGI_AjustCRT2Rate(unsigned > short ModeIdIndex, > > -> >� � � �for (; XGI330_RefIndex[RefreshRateTableIndex + (*i)].ModeID == -> >� � � � � � � tempbx; (*i)--) { -> > -� � � � � � �infoflag = XGI330_RefIndex[RefreshRateTableIndex + (*i)]. -> > -� � � � � � � � � � � � � � �Ext_InfoFlag; -> > +� � � � � � �unsigned short j; +> > for (; XGI330_RefIndex[RefreshRateTableIndex + (*i)].ModeID == +> > tempbx; (*i)--) { +> > - infoflag = XGI330_RefIndex[RefreshRateTableIndex + (*i)]. +> > - Ext_InfoFlag; +> > + unsigned short j; > > + -> > +� � � � � � �j = XGI330_RefIndex[RefreshRateTableIndex + +> > + j = XGI330_RefIndex[RefreshRateTableIndex + > (*i)].Ext_InfoFlag; -> > +� � � � � � �infoflag = j; +> > + infoflag = j; > > + -> >� � � � � � � �if (infoflag & tempax) -> >� � � � � � � � � � � �return 1; +> > if (infoflag & tempax) +> > return 1; > > -> Why are you using a temporary variable 'j' here?� It's not needed at +> Why are you using a temporary variable 'j' here? It's not needed at > all, and just is confusing to read the code now, don't you agree? > > I am using temporary variable of small size(character) so that when diff --git a/a/content_digest b/N1/content_digest index 8663b3c..2d9a4f0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -28,14 +28,14 @@ "> > Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>\n" "> > ---\n" "> > changes in v6\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275- changes done such that no other errors can generate.\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275- Improve the coding style.\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275- Introduced new variables.\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275- type of the variable is changed.\n" + "> >\302\240 \302\240- changes done such that no other errors can generate.\n" + "> >\302\240 \302\240- Improve the coding style.\n" + "> >\302\240 \302\240- Introduced new variables.\n" + "> >\302\240 \302\240- type of the variable is changed.\n" "> >\n" - "> >\303\257\302\277\302\275 drivers/staging/xgifb/XGI_main_26.c | 29 ++++++-----------------------\n" - "> >\303\257\302\277\302\275 drivers/staging/xgifb/vb_setmode.c\303\257\302\277\302\275 | 17 +++++++++++------\n" - "> >\303\257\302\277\302\275 2 files changed, 17 insertions(+), 29 deletions(-)\n" + "> >\302\240 drivers/staging/xgifb/XGI_main_26.c | 29 ++++++-----------------------\n" + "> >\302\240 drivers/staging/xgifb/vb_setmode.c\302\240 | 17 +++++++++++------\n" + "> >\302\240 2 files changed, 17 insertions(+), 29 deletions(-)\n" "> >\n" "> > diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/\n" "> XGI_main_26.c\n" @@ -44,43 +44,43 @@ "> > +++ b/drivers/staging/xgifb/XGI_main_26.c\n" "> > @@ -878,30 +878,13 @@ static void XGIfb_post_setmode(struct\n" "> xgifb_video_info *xgifb_info)\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275}\n" + "> >\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240}\n" "> >\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275if ((filter >= 0) && (filter <= 7)) {\n" - "> > +\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275const u8 *f = XGI_TV_filter[filter_tb].\n" + "> >\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240if ((filter >= 0) && (filter <= 7)) {\n" + "> > +\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240const u8 *f = XGI_TV_filter[filter_tb].\n" "> filter[filter];\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275pr_debug(\"FilterTable[%d]-%d: %*ph\\n\",\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 filter_tb, filter,\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 4, XGI_TV_filter[filter_tb].\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 filter[filter]);\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275xgifb_reg_set(\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275XGIPART2,\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\2750x35,\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275(XGI_TV_filter[filter_tb].\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275filter[filter][0]));\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275xgifb_reg_set(\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275XGIPART2,\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\2750x36,\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275(XGI_TV_filter[filter_tb].\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275filter[filter][1]));\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275xgifb_reg_set(\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275XGIPART2,\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\2750x37,\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275(XGI_TV_filter[filter_tb].\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275filter[filter][2]));\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275xgifb_reg_set(\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275XGIPART2,\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\2750x38,\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275(XGI_TV_filter[filter_tb].\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275filter[filter][3]));\n" - "> > +\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 filter_tb, filter, 4, f);\n" - "> > +\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275xgifb_reg_set(XGIPART2, 0x35, f[0]);\n" - "> > +\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275xgifb_reg_set(XGIPART2, 0x36, f[1]);\n" - "> > +\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275xgifb_reg_set(XGIPART2, 0x37, f[2]);\n" - "> > +\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275xgifb_reg_set(XGIPART2, 0x38, f[3]);\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275}\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275}\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275}\n" + "> >\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240pr_debug(\"FilterTable[%d]-%d: %*ph\\n\",\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 filter_tb, filter,\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 4, XGI_TV_filter[filter_tb].\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 filter[filter]);\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240xgifb_reg_set(\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240XGIPART2,\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\2400x35,\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240(XGI_TV_filter[filter_tb].\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240filter[filter][0]));\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240xgifb_reg_set(\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240XGIPART2,\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\2400x36,\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240(XGI_TV_filter[filter_tb].\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240filter[filter][1]));\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240xgifb_reg_set(\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240XGIPART2,\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\2400x37,\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240(XGI_TV_filter[filter_tb].\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240filter[filter][2]));\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240xgifb_reg_set(\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240XGIPART2,\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\2400x38,\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240(XGI_TV_filter[filter_tb].\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240filter[filter][3]));\n" + "> > +\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 filter_tb, filter, 4, f);\n" + "> > +\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240xgifb_reg_set(XGIPART2, 0x35, f[0]);\n" + "> > +\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240xgifb_reg_set(XGIPART2, 0x36, f[1]);\n" + "> > +\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240xgifb_reg_set(XGIPART2, 0x37, f[2]);\n" + "> > +\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240xgifb_reg_set(XGIPART2, 0x38, f[3]);\n" + "> >\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240}\n" + "> >\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240}\n" + "> >\302\240 \302\240 \302\240 \302\240}\n" "> > diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/\n" "> vb_setmode.c\n" "> > index 7c7c8c8f1df3..249a32804c06 100644\n" @@ -89,21 +89,21 @@ "> > @@ -221,8 +221,11 @@ static unsigned char XGI_AjustCRT2Rate(unsigned\n" "> short ModeIdIndex,\n" "> >\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275for (; XGI330_RefIndex[RefreshRateTableIndex + (*i)].ModeID ==\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 tempbx; (*i)--) {\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275infoflag = XGI330_RefIndex[RefreshRateTableIndex + (*i)].\n" - "> > -\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275Ext_InfoFlag;\n" - "> > +\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275unsigned short j;\n" + "> >\302\240 \302\240 \302\240 \302\240for (; XGI330_RefIndex[RefreshRateTableIndex + (*i)].ModeID ==\n" + "> >\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 tempbx; (*i)--) {\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240infoflag = XGI330_RefIndex[RefreshRateTableIndex + (*i)].\n" + "> > -\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240Ext_InfoFlag;\n" + "> > +\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240unsigned short j;\n" "> > +\n" - "> > +\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275j = XGI330_RefIndex[RefreshRateTableIndex +\n" + "> > +\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240j = XGI330_RefIndex[RefreshRateTableIndex +\n" "> (*i)].Ext_InfoFlag;\n" - "> > +\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275infoflag = j;\n" + "> > +\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240infoflag = j;\n" "> > +\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275if (infoflag & tempax)\n" - "> >\303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275 \303\257\302\277\302\275return 1;\n" + "> >\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240if (infoflag & tempax)\n" + "> >\302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240return 1;\n" "> \n" "> \n" - "> Why are you using a temporary variable 'j' here?\303\257\302\277\302\275 It's not needed at\n" + "> Why are you using a temporary variable 'j' here?\302\240 It's not needed at\n" "> all, and just is confusing to read the code now, don't you agree?\n" "> \n" "> I am using temporary variable of small size(character) so that when\n" @@ -123,4 +123,4 @@ "\n" greg k-h -795dcdecd76987876d8b9907bbdd1ed63421dca51c3d3729996893c27ed707aa +8252aae2f54b15a9af456470d3b424baf06377caa9cd9191fa37ba0c2aa9acbc
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.