Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1469814rdg; Sat, 14 Oct 2023 03:50:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF32xBYsw0AqhhvGquiHgh1eJ1RuaWkJunUpgUppf38osntw+a2XL6HZpKXLq6LPryZpYa4 X-Received: by 2002:a17:90a:1a0a:b0:27d:1a0a:1fb6 with SMTP id 10-20020a17090a1a0a00b0027d1a0a1fb6mr6970474pjk.35.1697280610152; Sat, 14 Oct 2023 03:50:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697280610; cv=none; d=google.com; s=arc-20160816; b=y5E2M0xOd6CWMYvzZ6Aw8vaaGb3aLGlutzh/SEwuGmrpCTovd0A9O9Fv78QVky9Hbg pLknuMWCle0Eu1Z1GvI8372SNLCmCo5VpLMqZBizyD4Cpy40eG7wf83/k+PuLQNjGPUk 2SjbgJ09ggWse9cXfhaet3kmnkEE40NIKgIwo2WSIhOjrEpXud8Z7VQ/1mq2jfqwzTiv 3WnfCwLLYujKeojNHGaiS+xe21fPBiMlnPRrSvA/1T5MM1ecyunX8JPjFG7fWZDMnT5M wYZc+9OGWQNGawqNuCfSICoIiiEsVJLHwLqrSUkf9G/Y6hVoHNqXUUjW6JiYLgFrRdCY yGiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:mime-version:date :dkim-signature; bh=NAiku5347ZizUWkMfV4Tpm0aCJ6vyX6cDZT3shueHrI=; fh=4iPUH3SCaUeHRPwZInlqPLZI8cmh/b74OgcORLvvuVM=; b=nrukkIwf/IhDT839HpZ8hMEdhEzuNh8lfRzCglMHPdOwR4cSRk7Nd+zm6reMPwzt78 9lz7jGq1qG7bnF+LF3K757VudM4GVAJ+tJCZkUbr7zBwwyoqcQWtBg+y9C1KLJVIWng3 Xq5SnbckeEIfPbaeJcjvQMiHag5UIODhTQih6+3XLgKORjVvCVsle2XZBdDKlKvU2Fay iThkAySIDJcrUiaFpfLRtXp+MWVGq+o5cn0oQmNNXxl+PPfGwE7OzCb0HkhDuXkYHaCw x7d6KDbVJ39/m89CgAwrZE4Ra9T+HWwepl4tCb3NicyYiY6iMNCftrFAJ4Pnq8svWZFM PoWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="Xz/Ji1/i"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id bk14-20020a17090b080e00b002776794a75csi1963902pjb.171.2023.10.14.03.50.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Oct 2023 03:50:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="Xz/Ji1/i"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id B14B880BCF4D; Sat, 14 Oct 2023 03:50:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232977AbjJNKt5 (ORCPT + 99 others); Sat, 14 Oct 2023 06:49:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232937AbjJNKt4 (ORCPT ); Sat, 14 Oct 2023 06:49:56 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1965B3 for ; Sat, 14 Oct 2023 03:49:54 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id 3f1490d57ef6-d9a5a3f2d4fso4109253276.3 for ; Sat, 14 Oct 2023 03:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1697280594; x=1697885394; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=NAiku5347ZizUWkMfV4Tpm0aCJ6vyX6cDZT3shueHrI=; b=Xz/Ji1/iNeybrU3FIMIa2jzsgoOuhNVYCrUetsmuuq/f49zaoxvrKTtl+e4/x0xTbU +SaZqYnXMrJwt0Cy6RzdiiWRa6NWSXwGyyL8Z2eNH0lOVmXG8voWrSzCV8eh3cZY0+en 11PbcBV4NJYX6RaqH6trXV9Z+UwhaIL3fEWtGce/41fopOlSlKp5xqyvCjr+wP8UW5d/ hkIK5snyWt5QGlXCZeEWJH2znb6YomFR+TA45zoo5PFSg9VPyhWqs15j0uZZ3WdCwQHV C03X8YP661+pv7jKABFOG9znGqd9+ukq2+V7g4R2omioHMJxRyIpeVrA9L0znqRWDyn0 yCmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697280594; x=1697885394; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NAiku5347ZizUWkMfV4Tpm0aCJ6vyX6cDZT3shueHrI=; b=S3u8s/ahXoAT1uI0Meyctx/HKZnt2UEZM4ZbcBSb5lw/WmqK8euxFUL40f9n/dja36 gxTEFzzzF+DGwgO2U3YXeqf520QhxnjQynn1WgiAIkj9OdqD5kksh66O7FBfcmW+mLzh VOcc5bmN080BzJRH8k1ZJd2PyvmaoNdwnDGkEQIEqB358y0okYxx10pNXXXtX65VMhdD aHCXfd9/c18hsHOHumqxsU/RTJT5B6RM4LIEbA6Sqg3JFQevHFnveyvmSjVKdLNP44mr +gUqs3Oywv8J90YvfaidFnoMPxUdfVa8naE9VrBXENFxRkpfA7r1q5wqW3Ev1oy0kYMJ uHDQ== X-Gm-Message-State: AOJu0Yw+KER4riL+bhU2TejfuMADNl9+MIj5kvj264kO+p6/EFkzYOPG GIhM49ggcFnZI/jgc/mg2LPLTSNTKY67lbDiDdmm X-Received: from vamshig51.c.googlers.com ([fda3:e722:ac3:cc00:3:22c1:c0a8:70c]) (user=vamshigajjela job=sendgmr) by 2002:a25:cf48:0:b0:d9a:3ebc:3220 with SMTP id f69-20020a25cf48000000b00d9a3ebc3220mr358048ybg.11.1697280593824; Sat, 14 Oct 2023 03:49:53 -0700 (PDT) Date: Sat, 14 Oct 2023 16:19:39 +0530 Mime-Version: 1.0 X-Mailer: git-send-email 2.42.0.655.g421f12c284-goog Message-ID: <20231014104942.856152-1-vamshigajjela@google.com> Subject: [PATCH 0/3] serial core type consistency and overflow checks From: Vamshi Gajjela To: Greg Kroah-Hartman , Jiri Slaby , ilpo.jarvinen@linux.intel.com Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, manugautam@google.com, Subhash Jadavani , Channa Kadabi , VAMSHI GAJJELA Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sat, 14 Oct 2023 03:50:07 -0700 (PDT) From: VAMSHI GAJJELA This patch series introduces a set of enhancements to the serial core, primarily focusing on improving type consistency and ensuring proper handling of timeout values. The changes aim to enhance the reliability and maintainability of the serial core. VAMSHI GAJJELA (3): serial: core: Potential overflow of frame_time serial: core: Make local variable size to u64 serial: core: Update uart_poll_timeout function to return unsigned int drivers/tty/serial/serial_core.c | 4 ++-- include/linux/serial_core.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) -- 2.42.0.655.g421f12c284-goog