From patchwork Wed Jun 5 04:07:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Kwanghoon Son X-Patchwork-Id: 802241 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D2EE25777 for ; Wed, 5 Jun 2024 04:08:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.24 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717560491; cv=none; b=QIEdozcLnvKyDqJ3I/GPVmaCJbOJpS3QrESWViGqPzbYECQ3th0R5u1+mYh1vdGTHaBqWa18k6V7yXJ9juNMAw1AsGRRZns0AtM3cbJfFbyyjqlBb3zMtFGCWIGYbM+aSO8Mu7DKuPRGwQTdBRPgyMO2LmLl+/le8z5PL33uMuY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717560491; c=relaxed/simple; bh=Gylef4GcXPhQHxtq8zlE827XXS4oEjoA2fA2JFBSqf4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: References; b=QH4262Pu69HlAYWopk88MuPORbr+F0+XKmqRyT5CFYCh4zGc3HRmTITICTpzEvDNUTnydJqdizgERiOWgPPGuxCTJQHJmH7TcQMpAgJINNiGvRxgYurFgfyM9Neno+beSspM6E+MHy3dI6BEH4INYQYHjylrEqFrgl8xmjBy354= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=B7UohmVL; arc=none smtp.client-ip=203.254.224.24 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="B7UohmVL" Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20240605040801epoutp01c30deacabfdda8b27da5a8dd2483de76~WAChoRvkJ1402714027epoutp01H for ; Wed, 5 Jun 2024 04:08:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20240605040801epoutp01c30deacabfdda8b27da5a8dd2483de76~WAChoRvkJ1402714027epoutp01H DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1717560481; bh=eKuGQnMat5M3+u0vPMOYAf7NolpbbN6olPjo1mZERy0=; h=From:To:Cc:Subject:Date:References:From; b=B7UohmVLB0OY3i0wJl8304Uh1sYD/ZLt0PBhHuER32bP0JGzpmx86jLIR6YgcowC0 TfLeISsi3x1nS6uv/A44hvsM8JfilWej1gSUKoL/3kcVFMqMbVg/8zB96leKjIjaUt ohrR0trSfFmxPLeuMB2X/jLwh0LN5r6PJtUBmfRs= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20240605040801epcas1p4c8e9ccfb78ef3f07ec7951c99582660a~WAChT35bQ1980319803epcas1p4a; Wed, 5 Jun 2024 04:08:01 +0000 (GMT) Received: from epsmgec1p1-new.samsung.com (unknown [182.195.38.234]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4VvDTD3P4yz4x9QJ; Wed, 5 Jun 2024 04:08:00 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmgec1p1-new.samsung.com (Symantec Messaging Gateway) with SMTP id 1A.D0.19059.0A4EF566; Wed, 5 Jun 2024 13:08:00 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p3.samsung.com (KnoxPortal) with ESMTPA id 20240605040759epcas1p36d200e262d9a98f9879cf7fd0ee94bba~WACgR0Ozu1676116761epcas1p3V; Wed, 5 Jun 2024 04:07:59 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240605040759epsmtrp18fb56ae248568c5aea09d6e6d776f754~WACgRMGC50471504715epsmtrp15; Wed, 5 Jun 2024 04:07:59 +0000 (GMT) X-AuditID: b6c32a4c-e6fff70000004a73-54-665fe4a0c417 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id B4.18.08336.F94EF566; Wed, 5 Jun 2024 13:07:59 +0900 (KST) Received: from localhost.localdomain (unknown [10.113.111.204]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240605040759epsmtip26314e25484e240b2563186566e0ef1d1~WACgD7DdK2983129831epsmtip22; Wed, 5 Jun 2024 04:07:59 +0000 (GMT) From: Kwanghoon Son To: krzk@kernel.org, alim.akhtar@samsung.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-samsung-soc@vger.kernel.org, linux-serial@vger.kernel.org Cc: Kwanghoon Son Subject: [PATCH] serial: samsung: Change MAX_CLK_NAME_LENGTH to 17 Date: Wed, 5 Jun 2024 13:07:19 +0900 Message-Id: <20240605040719.160778-1-k.son@samsung.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHKsWRmVeSWpSXmKPExsWy7bCmvu6CJ/FpBoumilk8mLeNzaJ58Xo2 i3dzZSx611xlsjh/fgO7xYzz+5gszizuZXdg99i0qpPNY//cNewefVtWMXp83iQXwBKVbZOR mpiSWqSQmpecn5KZl26r5B0c7xxvamZgqGtoaWGupJCXmJtqq+TiE6Dr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AA+NgFtrDLMWRmVeSWpSXmKPExsWy7bCSvO78J/FpBtdPW1g8mLeNzaJ58Xo2 i3dzZSx611xlsjh/fgO7xYzz+5gszizuZXdg99i0qpPNY//cNewefVtWMXp83iQXwBLFZZOS mpNZllqkb5fAlXH4+TmWgsVsFe+vczYwrmHtYuTkkBAwkVh/ZglTFyMXh5DAbkaJQ+8vMEIk RCU6LjcC2RxAtrDE4cPFEDWfGCU+fF8E1swmoC6xpG0tO0hCRGAlo8S2ezfZQRLMAqoS3ft6 mUBsYQEniU27r4I1sADFz1y7zgwylFfAXGL7nBqI+fISix9IgFTwCghKnJz5hAUkzAw0fv08 IYiB8hLNW2czT2Dkn4WkahZC1SwkVQsYmVcxSqYWFOem5xYbFhjmpZbrFSfmFpfmpesl5+du YgQHsJbmDsbtqz7oHWJk4mA8xCjBwawkwutXHJ8mxJuSWFmVWpQfX1Sak1p8iFGag0VJnFf8 RW+KkEB6YklqdmpqQWoRTJaJg1OqgSnAzTjn0LMnmUwqke8MHackHTu3VrpwetmrfskQndte n9dpnt2UZn3G4o7gulKHqr9+omqKbzVFQ1z+8QeUHujU+nzyWd2jlHChH+fmT/1y4NQ0048d 03RNgsz/sumJNPWtE7M3KXnT2nbiTwPb0aIw0fTfT8XWrnv5qGm7qUbc+2S5qHkzmvQmJC25 tzvg4KUPd9/Z5GTF7fqepmyXuTJP4+PWR4ICu24mpD7gehbZJnZZdIsn07mToXNyhFmnzvKt ks5eLHdp2fzTtkLPTumfmbv5uHnQuy0Lv6pNKJJaxT/36T+BLMZT27+9u3xAJDove0m5Hov2 o/WRIV0t7E6z1oj/lXZnPr5EvStEpVeJpTgj0VCLuag4EQBdKdlOzwIAAA== X-CMS-MailID: 20240605040759epcas1p36d200e262d9a98f9879cf7fd0ee94bba X-Msg-Generator: CA CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240605040759epcas1p36d200e262d9a98f9879cf7fd0ee94bba References: clkname "clk_uart_baud" already 13 byte, so compiler warns drivers/tty/serial/samsung_tty.c:1392:17: note: ‘sprintf’ output between 15 and 17 bytes into a destination of size 15 Signed-off-by: Kwanghoon Son --- drivers/tty/serial/samsung_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index dc35eb77d2ef..cad838ac8aa2 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -1339,7 +1339,7 @@ static void s3c24xx_serial_pm(struct uart_port *port, unsigned int level, * */ -#define MAX_CLK_NAME_LENGTH 15 +#define MAX_CLK_NAME_LENGTH 17 static inline u8 s3c24xx_serial_getsource(struct uart_port *port) {