From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2EC253A6F1B for ; Mon, 22 Jun 2026 13:03:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782133439; cv=none; b=Mr12swnC0apboE7EmDJDg+r/Y24IrZbQM3ACpt2p5B5YTueCWaMHGijdAzw8plUXd+X6Abub3lAg8W2jai0rZeapXo+UAHEhiWnifZTFXv+EUAOt68A08ljqllca8FW8VPvuKx65AXtuJZhW9ikmcKmoLHyDthrbcYhwd2eGLOQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782133439; c=relaxed/simple; bh=ZWrnUmd4s1PGLsWmsZ0VBfx45QUJkGzVruaA75Xj70E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lHo2iHPrwVD7Nw2jq82u0vInZNkoRk6wJtg5JfRWsUpMPllONxzH/nyMPR5//b9D9IaI5Ops0iqdj5gyUmfQbhi8iHfdWsY0DW4iC9S6oa1IbFLuoxfxugNGQnyn4ZeK4R0Elzp7jQZt550ioWNIdE1uE4MAQN8b6d9wY3uIwC0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=Y8TOYgJT; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="Y8TOYgJT" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4924f8db066so8479585e9.2 for ; Mon, 22 Jun 2026 06:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1782133432; x=1782738232; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3hsVtpSsUNsx/k80Nk5sPLM4WST9qjS6SPhICLZMfjk=; b=Y8TOYgJTPUQMyJgv8i/CMPEXEWG7yGYg8JL7YKX++WGdOX1KBeHDzvK4NlA/Yf4XbR oQ63nxuBZqIwP4Fy3qIfv5S2el04/ZGZwgIuR2mCARKODTUUD6jQlxFJ+GioCVPk/51h yib/8TuSBPK8iWA9dNOYJ1wRHPU8bK8a+Lxibv6Bo+1Kce/eEzZbzD7axSNpEkygqrlk zU28Qk5gWSI8XYJGPGeBjUD3niJ18L4+rVlt9pOG4CWAFapU4O3zwOmMJTsGR1VX6l+h 0/o6uHk2ADklHscQmPOAdyza/uI7VQ7qyw/OzZyTuMJfP6cocba/YUCrBYExafuTHGFD 9uyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782133432; x=1782738232; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3hsVtpSsUNsx/k80Nk5sPLM4WST9qjS6SPhICLZMfjk=; b=B5VTdA/vuHL9l5ZCsaJ+FwzVsaTbwMIuUytmR4vLLcn5DtwHbA1UtWvn1hz9P7fy0p P8UcuQdSw5/tnGk62L8W/ahX3yB9HVvqxDxyr57k3fk5bVBiIytBhXNtoilCayMIUyGo Qa52h6rXs4ZieMyMOIo8iQpfBqIWoKt4CuTNPhPAZOHONdksdmyoy0xqp9pV7Oh9kl6f gKcVdj3YwC6IF9YqbhvnVff3QMd+6/GXUnb3gQoT8hVwGE6aWmduqg82MZQ5ksa4nbOa 3QIE920x5ridZWljsXIHx6jh98RyfBRFp0HL21HAfoFFiuzEb4m/FhYuWSQOYlQwShNg ISjA== X-Forwarded-Encrypted: i=1; AFNElJ+f6oy2amh9PkW9v7ufWCSDdz1RsdrHNAIX9ZEh7V2YQyvq6f8OjHzbYn7Dnbv+2hqLkjnhPJ1rdYn7/Ik=@vger.kernel.org X-Gm-Message-State: AOJu0Yz9HtBbRaYmGvya/Uy12/pr7vF4QJK3wlu8tRPB7i2la8JD0ZNP sTWPXUaZA/E18GJXaVHCPWmQWdI1yadx0R4SnBJYBstxQetmnUzT5SU1ANnB+c8QfM8= X-Gm-Gg: AfdE7cneyq6RR2vy6aPuYWTf3DtDN1tVoiZsvOkXyaScUwi5ec+BXIC8GVJajx185iz AEIgngYCFj0kjTgX7OzKwqSjpXVS5Pb1NLWP2Vqlns5ZU6roMTIjBlQeGFzP2mEXL4yVVLrbFom VaQe9N36nB3RPqNafbOaLI9hF3n9ZGAgYjvLu7PUn7BkAScnAH3vh63LMRIb8gMdf37h93oOuuP SEQsdGL+8XOREwAUgLSyXidz0AUYBdWMh5O8e7lWnlvkJXZSv8HPZD6vfUxt5Y2R7ocHM/K8O98 1HkUlhlG9oJ1rAHVnY43cKkmOVy5xqAwM/2fO4AW+NXPC417AGPMqUNuh05AFFtYIeoasM44oYL dhWDspcE6AknNotv9fSNPjbgior/M6CE1xBkU9J3yc+yBRMGtNXIzgSYoLGeM5wioqlYVe/pFRb UpIFPQoV0Zu1RaHdVByvl3regL4iJYsxmenJMrOcj3tfVTU1Ba4fJL/843UVHK2KTm+g== X-Received: by 2002:a05:600c:4713:b0:492:4667:8c40 with SMTP id 5b1f17b1804b1-49246678e86mr166579925e9.8.1782133432322; Mon, 22 Jun 2026 06:03:52 -0700 (PDT) Received: from ?IPV6:2001:a61:13d4:6901:78ed:1f08:f691:11a2? ([2001:a61:13d4:6901:78ed:1f08:f691:11a2]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-46666c57ba0sm27430103f8f.32.2026.06.22.06.03.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Jun 2026 06:03:51 -0700 (PDT) Message-ID: <2dfae761-581c-401e-9438-2b06aea82f23@suse.com> Date: Mon, 22 Jun 2026 15:03:50 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] usb: misc: usbsevseg: replace deprecated simple_strtoul with kstrtouint To: Jad Keskes , gregkh@linuxfoundation.org Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260622125045.2398164-1-inasj268@gmail.com> Content-Language: en-US From: Oliver Neukum In-Reply-To: <20260622125045.2398164-1-inasj268@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 22.06.26 14:50, Jad Keskes wrote: > simple_strtoul() is deprecated. kstrtouint() actually tells you when > the input is garbage instead of silently accepting zero. That changes the API visible to user space. Is this a good idea? Regards Oliver