From patchwork Thu Dec 19 01:20:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 11302545 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BD6A1109A for ; Thu, 19 Dec 2019 01:20:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A492E227BF for ; Thu, 19 Dec 2019 01:20:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726641AbfLSBUt (ORCPT ); Wed, 18 Dec 2019 20:20:49 -0500 Received: from relmlor1.renesas.com ([210.160.252.171]:38252 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726463AbfLSBUt (ORCPT ); Wed, 18 Dec 2019 20:20:49 -0500 Date: 19 Dec 2019 10:20:46 +0900 X-IronPort-AV: E=Sophos;i="5.69,330,1571670000"; d="scan'208";a="34796485" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 19 Dec 2019 10:20:46 +0900 Received: from morimoto-PC.renesas.com (unknown [10.166.18.140]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id C1407400CA1A; Thu, 19 Dec 2019 10:20:46 +0900 (JST) Message-ID: <87woatyutt.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Yoshinori Sato , Rich Felker , Karl Nasrallah Cc: Linux-SH , Linux-Renesas , Geert Uytterhoeven Subject: [PATCH v2 0/3] sh: fixup strncpy() User-Agent: Wanderlust/2.15.9 Emacs/24.5 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Hi Sato-san, Rich These are strncpy() fixup patches, but using different solutions. Karl's patches are updating current strncpy(), but using 2 patterns. Kuninori's patch is using generic strncpy(). We don't know which is the best, but we can follow SH maintainer's selection. Karl Nasrallah (2): sh: fixup strncpy() warning and add missing padding sh: fixup strncpy() warning and add missing padding Kuninori Morimoto (4): sh: use generic strncpy() Thank you for your help !! Best regards --- Kuninori Morimoto