Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp751757pxk; Wed, 9 Sep 2020 19:04:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7Pd5qgGP/fB+kFWOoEjpyr6AjXZZl6ax7e0qZ1IxHFjJN6jz0UQE/N7OAcjQYbTHS2/OS X-Received: by 2002:a05:6402:78b:: with SMTP id d11mr7341182edy.341.1599703483031; Wed, 09 Sep 2020 19:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599703483; cv=none; d=google.com; s=arc-20160816; b=SA4DlPU9XnaqJVfKIVhtB+CY5h/TygpuoyGQRmLoitjzj6Anfg0focH5XMLh425v5w 6kvGun/I861yvNP9g70TnwLuaEwkORZE3kPWw/WYtZyQCaWqM4bRh5/Ku1oHFSYYK2Ib 11iCLVGDR7cyM/XIw1d4k3b8FxmHITuZWZ1P9wX6q4MptpGTz9yIjiaOUjJxgQbEnGmd sDnZPVp/YYexfpbL3eSLGRtyMRM8GJUGko+CrJfb9cCF2Oo7YycCRh3YZywvSq6bBilM vtqjMzc3z+TMmsMDSZZ2zu7uzNfdMWUUBC0j1OffUP/GUS54rc9XFrfrbV43kqbTgmoJ lRAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0kHeBkrm0QCQX5yLoLl7ByLnT2cie7rlwYYNGJSbUFA=; b=w3Acnw3GSGWUsB7/m2pKatN2eYG+gYNvHPpnxUac4alKt5W7kqp/KcTl8Y98IwYb1L 95M4p7+V4IlYbUEueJfOkDRAMosLPVPWne+YbTaTBtj5ykNg1ayaCt1H5s4JKbF2Hcmq BfoT95qV5G5vNZTQalwBwLA7hVN/waqpvsQPt+L0RVlVa0QwH/QzDD28L30w6WcGPbtJ PjQJ5Kjo3ANa4IgxRIlo5DuNb85XhbwQl7QfzPQFPXKfPW8XQOiMF/crl/qPcoFfsJt8 H5gnIEKXlVvh8Su8gA9sc/jmksTD4Cb5UBYGTf7cq+nlo5lGsaYzvW1hPkSl/JavsVal WgBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kolabnow.com header.s=dkim20160331 header.b=p4ZXhzXg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q24si2476435eja.493.2020.09.09.19.04.20; Wed, 09 Sep 2020 19:04:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kolabnow.com header.s=dkim20160331 header.b=p4ZXhzXg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729860AbgIJCDp (ORCPT + 99 others); Wed, 9 Sep 2020 22:03:45 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:61240 "EHLO mx.kolabnow.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729785AbgIJBn4 (ORCPT ); Wed, 9 Sep 2020 21:43:56 -0400 X-Greylist: delayed 11067 seconds by postgrey-1.27 at vger.kernel.org; Wed, 09 Sep 2020 21:43:53 EDT Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 179975CB; Thu, 10 Sep 2020 00:39:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20160331; t=1599691162; x=1601505563; bh=0kHeBkrm0QCQX5yLoLl7ByLnT2cie7rlwYYNGJSbUFA=; b=p4ZXhzXgRXhY Nqed7LYCJuMZGma0fzM7lsRpUKshqmnWaFVCffgr8ZsIuEgnnv9y151nteCVI2nU OMpLzdew3x633JMGIGPI7Jv9uB3Wl696qqtWg73CQjXJyoQepVNNGpOxA8SSfuLW yE0uj0bxan1ehKuZYVfd6sRiFkISJ7kUTiQ6HXrhOGbbbpofe8B3mw4CTHZU7tgZ pDWs7pXAI7nPkYhxmJMrrX5Jn3c00H0TvAMAc5WJECbCz66gqbsbYzilzxVts+H1 tSbODVTQdILH+GRemSiD0zfvbG2n8OosRI2SYMnOana8Db99VnLuM3YILtzP/KYQ 8sxhtWK5dwrfXnTWJJZTyRn9kqm9gWjj5wX/mpIwYrwHe+Yhtvtq6MucMlhLfx4A UAcHYbHGIQiJd8mgL3sSrJhjnvaLT024L7A2UdYsmts7wEoHa0hadgmp5XTK+NYi sAh+wRPn3Vyi394nL96pc9P6J/u8ho83Jy5jyXw2kv/Trr0fbRM3xd6XugBwwL10 lrN+x90flEV/uHpvp9Tc1lHTvVMEgJGJb62mT3T9sGIOXlPCvBv5Hte8H4/QgZ7o AIvAPHjBI1RAG9voWedCWaXO11RNXwT8COiKkvdzwnmgD2/63M4vCchipTXeGwdQ um6M11tn3nbKiPd8smVYRuK4VcQtqmM= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.899 X-Spam-Level: X-Spam-Status: No, score=-1.899 tagged_above=-10 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t6FBjPI3exCi; Thu, 10 Sep 2020 00:39:22 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id D3A0B489; Thu, 10 Sep 2020 00:39:21 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 741CAAC2; Thu, 10 Sep 2020 00:39:21 +0200 (CEST) From: Federico Vaga To: Jonathan Corbet Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Federico Vaga Subject: [PATCH] doc:it_IT: align Italian documentation Date: Thu, 10 Sep 2020 00:38:39 +0200 Message-Id: <20200909223839.9000-1-federico.vaga@vaga.pv.it> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Translation for the following patches commit 68e4cd17e218 ("docs: deprecated.rst: Add zero-length and one-element arrays") commit 5429ef62bcf3 ("compiler/gcc: Raise minimum GCC version for kernel builds to 4.8") commit 5b5bbb8cc51b ("docs: process: Add an example for creating a fixes tag") commit 858e6845654d ("docs: dt: convert submitting-patches.txt to ReST format") commit bdc48fa11e46 ("checkpatch/coding-style: deprecate 80-column warning") commit cca73e4946c4 ("docs: Correct the release date of 5.2 stable") Signed-off-by: Federico Vaga --- .../translations/it_IT/process/2.Process.rst | 2 +- .../translations/it_IT/process/changes.rst | 2 +- .../it_IT/process/coding-style.rst | 26 ++-- .../translations/it_IT/process/deprecated.rst | 128 ++++++++++++++++++ .../it_IT/process/submitting-patches.rst | 7 +- 5 files changed, 152 insertions(+), 13 deletions(-) diff --git a/Documentation/translations/it_IT/process/2.Process.rst b/Documentation/translations/it_IT/process/2.Process.rst index 30dc172f06b0..220248127285 100644 --- a/Documentation/translations/it_IT/process/2.Process.rst +++ b/Documentation/translations/it_IT/process/2.Process.rst @@ -123,7 +123,7 @@ iniziale, i kernel ricevono aggiornamenti per più di un ciclo di sviluppo. Quindi, per esempio, la storia del kernel 5.2 appare così (anno 2019): ============== =============================== - 15 settembre 5.2 rilascio stabile FIXME settembre è sbagliato + 7 luglio 5.2 rilascio stabile 14 luglio 5.2.1 21 luglio 5.2.2 26 luglio 5.2.3 diff --git a/Documentation/translations/it_IT/process/changes.rst b/Documentation/translations/it_IT/process/changes.rst index 02da4408983d..3310d788fca3 100644 --- a/Documentation/translations/it_IT/process/changes.rst +++ b/Documentation/translations/it_IT/process/changes.rst @@ -32,7 +32,7 @@ PC Card, per esempio, probabilmente non dovreste preoccuparvi di pcmciautils. ====================== ================= ======================================== Programma Versione minima Comando per verificare la versione ====================== ================= ======================================== -GNU C 4.6 gcc --version +GNU C 4.8 gcc --version GNU make 3.81 make --version binutils 2.23 ld -v flex 2.5.35 flex --version diff --git a/Documentation/translations/it_IT/process/coding-style.rst b/Documentation/translations/it_IT/process/coding-style.rst index 6f4f85832dee..e188692deefe 100644 --- a/Documentation/translations/it_IT/process/coding-style.rst +++ b/Documentation/translations/it_IT/process/coding-style.rst @@ -92,16 +92,22 @@ delle righe. Lo stile del codice riguarda la leggibilità e la manutenibilità utilizzando strumenti comuni. -Il limite delle righe è di 80 colonne e questo e un limite fortemente -desiderato. - -Espressioni più lunghe di 80 colonne saranno spezzettate in pezzi più piccoli, -a meno che eccedere le 80 colonne non aiuti ad aumentare la leggibilità senza -nascondere informazioni. I pezzi derivati sono sostanzialmente più corti degli -originali e vengono posizionati più a destra. Lo stesso si applica, nei file -d'intestazione, alle funzioni con una lista di argomenti molto lunga. Tuttavia, -non spezzettate mai le stringhe visibili agli utenti come i messaggi di -printk, questo perché inibireste la possibilità d'utilizzare grep per cercarle. +Come limite di riga si preferiscono le 80 colonne. + +Espressioni più lunghe di 80 colonne dovrebbero essere spezzettate in +pezzi più piccoli, a meno che eccedere le 80 colonne non aiuti ad +aumentare la leggibilità senza nascondere informazioni. + +I nuovi pezzi derivati sono sostanzialmente più corti degli originali +e vengono posizionati più a destra. Uno stile molto comune è quello di +allineare i nuovi pezzi alla parentesi aperta di una funzione. + +Lo stesso si applica, nei file d'intestazione, alle funzioni con una +lista di argomenti molto lunga. + +Tuttavia, non spezzettate mai le stringhe visibili agli utenti come i +messaggi di printk, questo perché inibireste la possibilità +d'utilizzare grep per cercarle. 3) Posizionamento di parentesi graffe e spazi --------------------------------------------- diff --git a/Documentation/translations/it_IT/process/deprecated.rst b/Documentation/translations/it_IT/process/deprecated.rst index e108eaf82cf6..158a63d9f244 100644 --- a/Documentation/translations/it_IT/process/deprecated.rst +++ b/Documentation/translations/it_IT/process/deprecated.rst @@ -95,6 +95,11 @@ Invece, usate la seguente funzione:: header = kzalloc(struct_size(header, item, count), GFP_KERNEL); +.. note:: Se per caso state usando struct_size() su una struttura dati che + in coda contiene un array di lunghezza zero o uno, allora siete + invitati a riorganizzare il vostro codice usando il + `flexible array member <#zero-length-and-one-element-arrays>`_. + Per maggiori dettagli fate riferimento a array_size(), array3_size(), e struct_size(), così come la famiglia di funzioni check_add_overflow() e check_mul_overflow(). @@ -227,3 +232,126 @@ modi: * ``continue;`` * ``goto