From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95C11C4338F for ; Wed, 18 Aug 2021 09:17:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6ECC760F39 for ; Wed, 18 Aug 2021 09:17:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231605AbhHRJSH (ORCPT ); Wed, 18 Aug 2021 05:18:07 -0400 Received: from mga14.intel.com ([192.55.52.115]:30577 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230253AbhHRJSC (ORCPT ); Wed, 18 Aug 2021 05:18:02 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10079"; a="216014814" X-IronPort-AV: E=Sophos;i="5.84,330,1620716400"; d="scan'208";a="216014814" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2021 02:17:27 -0700 X-IronPort-AV: E=Sophos;i="5.84,330,1620716400"; d="scan'208";a="676997102" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2021 02:17:25 -0700 Received: from andy by smile with local (Exim 4.94.2) (envelope-from ) id 1mGHhH-00B3oa-07; Wed, 18 Aug 2021 12:17:19 +0300 Date: Wed, 18 Aug 2021 12:17:18 +0300 From: Andy Shevchenko To: Yury Norov Cc: Andrew Morton , linux-kernel@vger.kernel.org, Petr Mladek , Rasmus Villemoes , Sergey Senozhatsky , Stephen Rothwell , Steven Rostedt Subject: Re: [PATCH] lib/vsprintf: don't increment buf in bitmap_list_string Message-ID: References: <20210817193735.269942-1-yury.norov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210817193735.269942-1-yury.norov@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 17, 2021 at 12:37:35PM -0700, Yury Norov wrote: Thanks! > Increment is confusing as the buf is overritten at the same line. > Fixes: b1c4af4d3d6b (vsprintf: rework bitmap_list_string) (next-20210817) Fixes tag has its special format. I don't think we need it here, just to ask Andrew in comments that it needs to be folded. -- With Best Regards, Andy Shevchenko