Wu X.C. <bobwxc@xxxxxxxx> 于2021年3月29日周一 下午2:21写道: > > Hi, > > On Mon, Mar 29, 2021 at 10:51:38AM +0800, Yanteng Si wrote: > > This patch translates Documention/cpu-freq/cpu-drivers.rst into Chinese. > > > > Signed-off-by: Yanteng Si <siyanteng@xxxxxxxxxxx> > > --- > > .../zh_CN/cpu-freq/cpu-drivers.rst | 259 ++++++++++++++++++ > > 1 file changed, 259 insertions(+) > > create mode 100644 Documentation/translations/zh_CN/cpu-freq/cpu-drivers.rst > > > > diff --git a/Documentation/translations/zh_CN/cpu-freq/cpu-drivers.rst b/Documentation/translations/zh_CN/cpu-freq/cpu-drivers.rst > [...] > > +1.5. target/target_index > > +------------------------ > > + > > +target_index调用有两个参数/:``struct cpufreq_policy * policy``和``unsigned int`` > > "s/。/:/" means use ':' to replace '。' ; > aka "s/{0}/{1}/" means use {1} to replace {0}, this is a sed command. > So, please delete the '/' . OK! > > [...] > > + > > +如果你需要在driver_freq_table中处理pos的位置,不要减去指针,因为它的代价相当高。相反,使用宏 > > + cpufreq_for_each_entry_idx() 和 cpufreq_for_each_valid_entry_idx() 。 > > The spaces in the begin are also redundant. > OK! > And one more thing: > The numbers of columns are very random, if someone read the rst files > <http://fars.ee/sqoL.png> > instead of html files, that may cause difficulties. Please use a > monospaced font to fix the problem, try to keep in 74-80 columns > except meet a long English word, one Chinese character use 2 columns. > > This comment is for all patches. > > Thanks! > > Wu X.C. > Thanks! Yanteng