Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C730C433FE for ; Fri, 19 Nov 2021 02:41:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5577A61872 for ; Fri, 19 Nov 2021 02:41:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232605AbhKSCoZ (ORCPT ); Thu, 18 Nov 2021 21:44:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231264AbhKSCoY (ORCPT ); Thu, 18 Nov 2021 21:44:24 -0500 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E84EC06173E for ; Thu, 18 Nov 2021 18:41:23 -0800 (PST) Received: by mail-pg1-x52a.google.com with SMTP id r5so7324163pgi.6 for ; Thu, 18 Nov 2021 18:41:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=19eC0yHN8Knq4er8eprHiiNnMBPtyRfdZNlAGVkzuA0=; b=g8V+RgDmhoLzRSSJmgnK+xoftMqWOQCDMkW7SMd7B/E63Mcto/jSrX63qkrEY7m9xt ElaG7vQHV0nBCYK6WBA1O6HlFiWqGNdvL83Sv8mnV8dPub4Dc0oEoU6uWRP0r2U95wBu hp66iNrtjPeUNgY717zMNX2JqYWAHBwPfiCIC7C/8TBBV0x21MqGAmOMlpgt6hA9Vjin oS1B5Nug/+PBeoByVZBZcRHG6JfxUyTnHjRb5qR9WCmY/wbOrQvyuCOqVFKVRVkyqzPv wC6toe7e5ybjaen7vf5R3e5C42+Vd4x+NZhfG9lnHO9yB8Mxk03M9ynzS7UUjR3Sxz5a 3fuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=19eC0yHN8Knq4er8eprHiiNnMBPtyRfdZNlAGVkzuA0=; b=uvxNFlMPKZ8mM/bM2jRW95445WL7Br4x5zuInT+GghDQsPCxgpi8/EOvnvnbaKmYrU KKnXRPpDEn1exZAZX4l7vrLrGrrnEzC3kZjdVFyQLEmGgE7lunrS+yxH2QeRApvBIHYg LUUW5/U9GxYiWYFLryk4e4DBAnFu+YzGDRKP0SW8iVYGKhhfqaOexPBuJlPUobrdee/F AUgUBYcfPIjSqGMOF+SxC5nqspp73qL4tNlW2pIOMOaGH+l1qf16vYXL0DLQEkZKiUi7 w415CKGIDXC0BeKUs8P/I2oE7umX8X6a2+7AJy/8ylYbPbqt/OPMidc4qHDhNdftkIQy cs3A== X-Gm-Message-State: AOAM5310eO7eB2xtIbAIQ37lJ39YXFs3v0K2cDH8JCzLMR27F5lZfTDr YoL6eIiSs4oKSRg0ekvG740zUQ== X-Google-Smtp-Source: ABdhPJyH7dLIVlWvWY2gnMMXBa3wdH+uvv8pklXAX+TNq575sm9EEbxFByiudWsfj2dx/Ox4bYD2ZA== X-Received: by 2002:a05:6a00:1909:b0:49f:a0d0:abcf with SMTP id y9-20020a056a00190900b0049fa0d0abcfmr60556058pfi.70.1637289682906; Thu, 18 Nov 2021 18:41:22 -0800 (PST) Received: from [192.168.254.17] ([50.39.160.154]) by smtp.gmail.com with ESMTPSA id e18sm714007pgl.50.2021.11.18.18.41.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Nov 2021 18:41:22 -0800 (PST) Message-ID: Date: Thu, 18 Nov 2021 18:41:21 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH 5.15] block: Add a helper to validate the block size Content-Language: en-US To: Damien Le Moal , stable@vger.kernel.org Cc: axboe@kernel.dk, hch@lst.de, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, syzbot+662448179365dddc1880@syzkaller.appspotmail.com, xieyongji@bytedance.com References: <7e6c4c23-f071-f33b-7bd4-da11980d34c6@linaro.org> <20211118235738.1128085-1-tadeusz.struk@linaro.org> From: Tadeusz Struk In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/18/21 17:55, Damien Le Moal wrote: > But where is this used in 5.15 ? I do not see any callers for this. > So why backport it ? It will be used after the af3c570fb0df ("loop: Use blk_validate_block_size() to validate block size") is applied. Please read the first message in the thread to get the context. -- Thanks, Tadeusz