Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp965092pxf; Wed, 7 Apr 2021 16:18:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTc9S3B5nO87BEFspELSg0/c4Yj804snMbuvhqxq3NMue4JBrksaDb9LsdmpyFkn2VHl0K X-Received: by 2002:a17:907:969e:: with SMTP id hd30mr6678324ejc.5.1617837501116; Wed, 07 Apr 2021 16:18:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617837501; cv=none; d=google.com; s=arc-20160816; b=ZUL5JqUffDdJwu9N2ntr/P5zjrVU3rzYlzxQqds+apkzphG3nq7zWEdW4ow/bykFSd wShWpa3UPHFiOC9adWKJP8ad8xFx27ttUAvZ3BdMzWm1TfSr2XJfZAJl3iERMCPrk74Z QCCn6PFi9Gt5w9I/wJOC5TXM7LcOmU1DR6v6f9L6K7F7nOlIcPaA8irwJ5GdhniQ/lv1 FMXqPX6MNrUCRq5uHH1KsAhnspsu3BcB+v2cc8YUM70r8ZvudR9lhVAGBZKG1YPZRE/s DMkJ2DGNBDDN2EUq/DMniFhMWxCEosTLfDr2HA7kJauGdFZSPCZkJAWOSiMZiPRKU/hi rUqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=X2nI1zIBWz+pSZ7MQAIAfow9rM3SJx6yf70DunlYH/E=; b=E5etd08K8BIRVTEcNIv9yhrHzv/yRu2iPmGe0dgXDz9wNapXTtLjL6kWhpHeIdAsoz Hhg4kc+dvIsN2IOyHZZchbzLzH5DLm/mrb5V72g49OX9t6NGJE8Zk5+yHmD2AATBvbb9 yWIrpFYGhyCZfqM44GV4GyTQS4txXtIHhSsRDQEC9f/ydqxoId3Ppza8qjTT9geqEB2z 5pD7QaC8ogVy3Y8ifzBF5BYM5R+EzcWdRzaVBgnOm69Y6g03BX9BV013FL0T+V6TjJ6q b/40wIcbmDkD96soXJtRewnVrb159AYOgT0jzqcESv+toBEoqGzaSI5dg/wyyGsd/6Je i/4A== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ec6si20781019ejb.738.2021.04.07.16.17.57; Wed, 07 Apr 2021 16:18:21 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353645AbhDGPhd (ORCPT + 99 others); Wed, 7 Apr 2021 11:37:33 -0400 Received: from mga04.intel.com ([192.55.52.120]:19364 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353625AbhDGPhd (ORCPT ); Wed, 7 Apr 2021 11:37:33 -0400 IronPort-SDR: x0NYdmZRGah87gzxd9eNXVXoj5K8ZTUHVHscavPlvwxEcy+RLpYx2y4LX+Q0uQ+inWUtlwUhLf eTqZzWxmka+w== X-IronPort-AV: E=McAfee;i="6000,8403,9947"; a="191173873" X-IronPort-AV: E=Sophos;i="5.82,203,1613462400"; d="scan'208";a="191173873" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2021 08:37:21 -0700 IronPort-SDR: nLiCtEa99Zw5tXG79XYzqElccOCupiaUmbTVVZVLlrRsjjJNDArtQKBb+L6G7dm5zf1UTeNKSK ynbya8MY7efQ== X-IronPort-AV: E=Sophos;i="5.82,203,1613462400"; d="scan'208";a="379865679" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2021 08:37:17 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lUAF0-0022c8-95; Wed, 07 Apr 2021 18:37:14 +0300 Date: Wed, 7 Apr 2021 18:37:14 +0300 From: Andy Shevchenko To: Petr Mladek Cc: Stephen Boyd , Andrew Morton , linux-kernel@vger.kernel.org, Jiri Olsa , Alexei Starovoitov , Jessica Yu , Evan Green , Hsin-Yi Wang , Steven Rostedt , Sergey Senozhatsky , Rasmus Villemoes , linux-doc@vger.kernel.org, Matthew Wilcox Subject: Re: [PATCH v3 04/12] module: Add printk format to add module build ID to stacktraces Message-ID: References: <20210331030520.3816265-1-swboyd@chromium.org> <20210331030520.3816265-5-swboyd@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 07, 2021 at 05:03:47PM +0200, Petr Mladek wrote: > On Tue 2021-03-30 20:05:12, Stephen Boyd wrote: > Please add something like: > > /* Keep BUILD_ID_SIZE_MAX in sync with the below used %20phN */ > BUILD_BUG_ON(BUILD_ID_SIZE_MAX != 20) > > to make sure the the hard Why not static assert? -- With Best Regards, Andy Shevchenko