From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Nasrallah Date: Tue, 17 Dec 2019 07:36:06 +0000 Subject: Re: can someone solve string_32.h issue for SH ? Message-Id: <2131872019.198149.1576568166106@mail.yahoo.com> List-Id: References: <87h81zh4ap.wl-kuninori.morimoto.gx@renesas.com> In-Reply-To: <87h81zh4ap.wl-kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org Hello, This appears to be your culprit: char vub_name[3 + (9 * 8) + 4 + 1]; in struct vub300_mmc_host on line 302 of the file /drivers/mmc/host/vub300.c. This is the exact line triggering your warning, also in vub300.c: 515 strncpy(vub300->vub_name, "EMPTY Processing Disabled", sizeof(vub300->vub_name)); And the fix would be to probably fix vub300.c, do a sizeof() on the string or hardcode the string size to 26 characters since the string is already hardcoded in as it stands. The asm doesn't look wrong. Hope this helps! (Sorry I can't do any pretty formatting: mail client and majordomo don't play very well together and html gets generated at even the slightest provocation, despite having disabled it...)