From patchwork Mon Jan 6 14:17:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 13927512 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (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 C794ABA34 for ; Mon, 6 Jan 2025 14:17:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.177.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736173066; cv=fail; b=EbVck0Sy7ooeygCyKc43w+esxWvEnbNau0XmxDu6gM+pixZ2Nxt7qVo1qQOrbOvKKPLVOE6cACM+GVAkv7ls62CZVmiZ/CN7ayL53K+NmiKdNZmoLlE/cSHDxVL7IobJrTl/tzoP1nFq2fSxmPU11XC3p6fQh/0qv2KLKQYiRcA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736173066; c=relaxed/simple; bh=8pBjz8lv10W9g/Q0Zi4xMo0624c4195uGWdjcUyOpGQ=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=OFwXZKxb7o7RWuz8ijHgPugcCfhHjDjgiNLWd6Z2otgFIf0TpGw2m1EOmOH39UWnUw66OAvoOW1YQrERGLqsyk8elXZ2zpzPUbNpvCTPJs7+yPMzbqjMwRR2rfyi+CE8ekYOMhjA0C/namWZspw/Uw8Gt2OLzE6KOzxEH+hoCME= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=Vw00utWd; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=XzfYhn2g; arc=fail smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="Vw00utWd"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="XzfYhn2g" Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5068u0L3019343; Mon, 6 Jan 2025 14:17:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc :content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=corp-2023-11-20; bh=jZ3LZXWV2ZRI+RfU Axjqh5+RNQT2oz8vu+xkvFytCDc=; b=Vw00utWd8SkYGnNITBLZWnQ26yAIS2i0 0LwUUItj6FXGQqqkLbP6aZPwusgeXJbnGTzmwOpnqU1BJy2sK7WKygJRiqqFTXc9 osv+PmUmwsMSgYWgvRWc+HLsuFmPXIs9G6jasLMVs6lekRfLxBIrXbB6syozlQef pzhmMAclV/+tIW0yproV5aJb8nsW0As0pgcpqVsJ/2PxfPBDDDQ0I/ryjxpFruzx PN/r7oeR8lVjigYOJFNIEmqFSM0tKxsrXJFw+bwbsVrND/rCTv6DfpOtSiANex8v NwbrpI6eH36Qa/HtGYn2J0WOCbFhLPofEueSLeZnr3GG75AihCc+gQ== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 43xw1btd2q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 06 Jan 2025 14:17:43 +0000 (GMT) Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 506CBZ1r010934; Mon, 6 Jan 2025 14:17:42 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2168.outbound.protection.outlook.com [104.47.56.168]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 43xue73fcx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 06 Jan 2025 14:17:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rzWUjlxLmVYtEztRbGBex6gkYjBXEdaFMUCYllbnkQ19ozcyb1UHV64N/K0v83LqZiChJHAm5+EF1s3Fw9yyPV31x53OCGNDQr3GPsztYDpaLi9/jupmwVOv79zbd/Akb4pnrGtTXZPzNcsuMlcCSoD4xWPtWzLCNDdZEiyu+CMJy6HcH3FD7OWLhN+lmv2o0rbiQiibaF2QDnQ3u3vHjiQdYIiuBWzvoxqPY7mki0Rnl6ebSPDGklzGY8QaBDOXSexrM0XA2zZzqQcFx/PQedCmmxF6tomwiMwP9orWrdJxaPsWG5nzNOTf2UqOdXWrvR9K36qJGHRuK6Gndf4yyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jZ3LZXWV2ZRI+RfUAxjqh5+RNQT2oz8vu+xkvFytCDc=; b=yeaOuydiVcVp2R6Pr1S8eMkB7PJsZKKnDTCj9KnpXjn38NX57q25lqM5TKgZ4Yg0H0a4S99vkBvq3o+CMc5oYQfVUlogHNVB788KOETK0hG/uNtMj/FZUIWksASIT0ERUo9sRh/0qhz8Fwgn9BwVCN1CDrqwaAke5ecX55NvFcpSxrLsiBRB75P2s0jgO1sFMDy6ct6QvVp3IpEo30CEIV2TdBWvpeX8m9eZimyNjziR3ej9UaN10I110lu1JvWyurzZw1JYDVeIg1aqYXszvjQksAx/VOvTwqyqhLLy+KC+eGZnB3CHN8I6RbRjw9CG49RSSAo/vyyBtiOOIuCRHw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jZ3LZXWV2ZRI+RfUAxjqh5+RNQT2oz8vu+xkvFytCDc=; b=XzfYhn2gS9obzIanty4yxHDVrBqxOKoeGRN8BS3vAA4sw3LdSmxOmlMyk3ULuFPP2/GyRjfI3okTnI47qyak10bdiaWZ1smRyx14OElMOOp+bZXGENlS0CcEh66kRCagRjlW5GfpDfqGuvyLq5iySI4RnhV0RnRTWJs2KTQ2+P4= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by PH7PR10MB7108.namprd10.prod.outlook.com (2603:10b6:510:27e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.16; Mon, 6 Jan 2025 14:17:35 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::4f45:f4ab:121:e088]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::4f45:f4ab:121:e088%4]) with mapi id 15.20.8314.012; Mon, 6 Jan 2025 14:17:35 +0000 From: John Garry To: msakai@redhat.com Cc: dm-devel@lists.linux.dev, John Garry Subject: [PATCH] dm vdo: Fix W=1 allmodconfig build error Date: Mon, 6 Jan 2025 14:17:31 +0000 Message-Id: <20250106141731.1341034-1-john.g.garry@oracle.com> X-Mailer: git-send-email 2.31.1 X-ClientProxiedBy: BYAPR11CA0090.namprd11.prod.outlook.com (2603:10b6:a03:f4::31) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) Precedence: bulk X-Mailing-List: dm-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|PH7PR10MB7108:EE_ X-MS-Office365-Filtering-Correlation-Id: 2da96e9a-c0e8-490a-ee94-08dd2e5cde3f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?q?JDQDNpZztUs71lTzDG8H5B6sEG4lruM?= =?utf-8?q?t1nIagvUFlTkZkGDWLZGqqdmE54xfFIzJUdyTGgZBvswWIHyEST7QMxfgxnDOLbnc?= =?utf-8?q?PhxeK+tFT231qEpzs4cm+ujPJAPIDr8bK/2l6eKjfqSeSS0LBR5y7acQkpD2pn7ih?= =?utf-8?q?ftK3tjdievhICk73YprQ66wbmgX+BO/2udRfLxNFu1HPl2T+96XCW4rClNhNC5sN4?= =?utf-8?q?eZv7PuF8t1o8EQ/ymozCvHheIzNMGEsEK2cvuVkrl5pK01/VIXm61jvzW2wehSVQH?= =?utf-8?q?rok0s9Dli/xs+ZPQ4e8nv0K+KDfMBkb/ayX0c3cFoARGHqO7HbMCn2zOvrTHJqNBy?= =?utf-8?q?SgJDqTmp5f1B7mGx16crxgarAg3GbxQRWS/jfzW/ReESsOEIfHEUMpWVvkkjaOjNU?= =?utf-8?q?On5iKNEC+NzkFfQmffvTguJ1WAt8bW5qUz/sBcdYS2+S/kHYYv7KY5eBqvJG1ATgh?= =?utf-8?q?dWzzsjx97DB95Nzw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Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR10MB4313.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?nnw8nlxTO2wQs9hvhkwUit4Z9Q7+?= =?utf-8?q?iCZ55sVgJ17o3wDFCG66xOHydeF28CCAo3cqD8XHdHdtp4v/JC+aBql3LL4sszYg7?= =?utf-8?q?OnEu9cEV6ZoJh/Nu9tZNGqP98WzaSOW5teo46Ar3d8T2ETyIIwfxn1wuWiMhzpES2?= =?utf-8?q?WtrL6kc+urJOZyTsZrFkumni9AUHTsDTzR0bdUSG6FYk2ThYjuTIRahHgRgy1jCPi?= =?utf-8?q?Cx8LYCK7KuyS+zWqO5hP4nnWg4+iE3sRcjiXvs3S3Xhev2OwW4j9PFD+LDcUqok9v?= =?utf-8?q?t4mXtn5iLghWReviGKGhuyU4OjHB/NLzeOA8+c3JLWft1GXL01zkS5e4pkexVKJvb?= =?utf-8?q?v0rUHN/5Yi7H2Ha06dBUirqLYrBhuRrO9u6gu6wiYVAwgwzEftsVDPNlAqIV1p+sP?= =?utf-8?q?duK17ju5XhjaOcp0jONQMmX28B6Hrj9n0Uo5i8Tta7gY/nzZ/xY84pQLWHUejqDBh?= =?utf-8?q?vqk5c/C1Vc81T14E9D9TYFZjQFw9swDpT4Z/ogTMEryeuLTOSfQK4X96k6fALFpT5?= =?utf-8?q?T71A4zrERiLfc0HUZgEHnvveQwJUI7ME/bg54tjDSUjaX5qGBYRBL3n6hdIiiWUhJ?= =?utf-8?q?RaO6JAe0SlLj41G3cW9YVBv+leBPYoSnX9kM9Fmdvul8VHwU3C8uBlHxQhBtvFZH1?= =?utf-8?q?TlobhKWZlNrL/HnIPtZNEyD7XpNI6DwrP/QpARwRYLShdl4iOiH1M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= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: WmAyt2LU1AG7Ixf3Mkb7RfkGZQzrQz2OPGzCj4S5KqfBcXZPIDm9zFY+VFjVPsEX9UQyA7g9Kw/llBNBLiUxCx0Wcdx5LQwFDbSunIjQyaMduvKoivcGAfDrvxxM8bF1psrrVHTPeBqnsXndmo0vMfsf0jeh6lIhx/tszWJp4rD/EsmUjHmlP/Miki66wPW4ejRcBaQR6SsyCpuamsLLc9VMAfvQErWczdftu4i9wbxfeuWoS5nC41yECtQ/G8Vp+zEI64DvWczecFLbhSX3l0mUlqUkxAhOWSXExWhdqxl/TsRqmyIUiA8HnfLE8zWHNnXkm0Q63qmaVkb1s4LM61ntrtL03oArOqLLZ0fd+MRXgc7fCFhOCNf5yAKQ1E4QKtqAWO3kjg4VEvGKZKV0oLgeCr6YSf/+U/5x3YxTczftvF7I+q5PLHbZgydZ4w02sOeAbW2hXgNo1Jx75cleghDOeSL8goUMyYBKdsvCeTQK2GUB7Sr0oeYl2yj5vd0Gbd0fhcDYzC4wL7ahdndRgGUJ1phWg9o/MogCEOtPvpF+kc0ZCL4NkasCUeOm1/9jLRDVXhNIqsNdcBANg98IolrJFtzK2oUmt2UbPs4najk= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2da96e9a-c0e8-490a-ee94-08dd2e5cde3f X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jan 2025 14:17:35.8426 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JiTkc1m7gjT0NGwtM+kLOG51XcJNPAuvhYGEJefWusS70PWo8wpqcFzBFQRmrdhOqnA+M6AhPxFEkmE+fwxfWg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB7108 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-02_03,2025-01-06_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 malwarescore=0 adultscore=0 mlxlogscore=999 suspectscore=0 mlxscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2411120000 definitions=main-2501060126 X-Proofpoint-ORIG-GUID: u-XiNXJhZhpTw1qnZ8Nx5lLV-USdVDww X-Proofpoint-GUID: u-XiNXJhZhpTw1qnZ8Nx5lLV-USdVDww For an allmodconfig build, I currently get this error when building with W=1: $ make W=1 drivers/md/dm-vdo/vdo.o CALL scripts/checksyscalls.sh DESCEND objtool INSTALL libsubcmd_headers CC [M] drivers/md/dm-vdo/vdo.o drivers/md/dm-vdo/vdo.c: In function ‘vdo_make’: drivers/md/dm-vdo/vdo.c:564:5: error: ‘%s’ directive output may be truncated writing up to 55 bytes into a region of size 16 [-Werror=format-truncation=] "%s%u", MODULE_NAME, instance); ^~ drivers/md/dm-vdo/vdo.c:563:2: note: ‘snprintf’ output between 2 and 66 bytes into a destination of size 16 snprintf(vdo->thread_name_prefix, sizeof(vdo->thread_name_prefix), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s%u", MODULE_NAME, instance); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fix by defining MAX_VDO_WORK_QUEUE_NAME_LEN to be sum of MODULE_NAME_LEN plus 11 - 11 comes from number of characters required to print max unsigned int plus NUL terminator. Also relocate the include of sched.h to the only c file which it is actually needed. Signed-off-by: John Garry diff --git a/drivers/md/dm-vdo/funnel-workqueue.c b/drivers/md/dm-vdo/funnel-workqueue.c index ae11941c90a9..7e42342263ab 100644 --- a/drivers/md/dm-vdo/funnel-workqueue.c +++ b/drivers/md/dm-vdo/funnel-workqueue.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "funnel-queue.h" #include "logger.h" diff --git a/drivers/md/dm-vdo/funnel-workqueue.h b/drivers/md/dm-vdo/funnel-workqueue.h index b5be6e9e83bc..3447aac5b188 100644 --- a/drivers/md/dm-vdo/funnel-workqueue.h +++ b/drivers/md/dm-vdo/funnel-workqueue.h @@ -6,12 +6,10 @@ #ifndef VDO_WORK_QUEUE_H #define VDO_WORK_QUEUE_H -#include /* for TASK_COMM_LEN */ - #include "types.h" enum { - MAX_VDO_WORK_QUEUE_NAME_LEN = TASK_COMM_LEN, + MAX_VDO_WORK_QUEUE_NAME_LEN = MODULE_NAME_LEN + 11, }; struct vdo_work_queue_type {