Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22273860rwd; Fri, 30 Jun 2023 06:12:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlHsGPVzV9IBLwJ+a8hTMpgxVUHQGlJI2ebEYq1V9ASI45DBAm/L5+e7agckUXng+w7Buqxw X-Received: by 2002:a17:90b:30c3:b0:262:df79:6f81 with SMTP id hi3-20020a17090b30c300b00262df796f81mr1712815pjb.24.1688130723206; Fri, 30 Jun 2023 06:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688130723; cv=none; d=google.com; s=arc-20160816; b=0W+Y6W3WQDC82SN4TaX4DY8OMSR5MdotGk1jV04ypMQmok20tkbjF+YjsX0hZeG1cK CPVrp8BnhejUZgszDCCjM4t+gZzAgagLYwqGhqT8HO9mZC4jB1tz1wBDez7olAdkC68O HcXtD12sFdRy1ZBdPcqN32lLw6d0zHgtGbO0ITVihZJK1w823Uk8h5i5/oaqEInwzD0x guCQaHjwpWnugfjYL2+e4kw1ALPp7mg5EPXURMqGnvIX1ySbmVRgsMflnySlvk7b17NB Q8SkRhr1kOTIhAAa5AV4TC9QJkK3Drbu2LRChHKzR9yderCLmue/zBPmkEmH96kmOpg/ qrOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=f1O0ugxx9WY05hdLDjHAqcENzi0LV4aCAOqOzk674oQ=; fh=fFv7x1KuscyMfo7/Po5XGtd0lMoNVjRLy6HjYTiN5hw=; b=Wo7AeUYcswnIL2VnJLIBsCsTFdvQcrRKfL996EBF+MsvZGx36Y/vmmbq1/8wO/CQiU MViq2LbgVfp81WQAc0bKUcFw9IY/7Oc/tIeKx4YN79NFZ9E8c/0tvwntPcJK8dOFrKcV vDCpYjZ3KfGbe8rozWOkAQic/KuCN9sDIWRVl6SwbrZmwHeWftvHttqJrTp2Wo0gWT1w GABWPv9iC1PgnJX4AsPmm15+BTgSVTeT1uHw/agGwQOeCWtFYtXW0IoqYlRCT12DJDZV eF2/bY8Af4RGyvHM2N/tegzjgWuvgqarbP4dXy27A930fiT/D/NHLdKiwie4/WJ3jg7c kMXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="dl7ecg/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020a17090a8a9800b0024b011026aesi4343780pjn.76.2023.06.30.06.11.50; Fri, 30 Jun 2023 06:12:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="dl7ecg/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232365AbjF3MnG (ORCPT + 99 others); Fri, 30 Jun 2023 08:43:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232235AbjF3MnF (ORCPT ); Fri, 30 Jun 2023 08:43:05 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2D4035AF; Fri, 30 Jun 2023 05:43:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688128982; x=1719664982; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Jh5EMMBq/kwv4zwh4mtqrj/lvWk5Oe0+aZ++KdUCnTA=; b=dl7ecg/3yRruKuQ1zWLLsQC6LO2k926cp6MnEi+Z2fXwO4ktnZDwgcAX 3eXr7e3MsxrNq2z1FUz4iqkPG11GHJR1xzzCxXN67uovXtV0ZcGQu2Ob7 oAFEE6MrBeC3k3GWEZ5eQoicd+EMrIzOL0oM21TY7b62mC5il73sUyMh7 frL+BtK/JSZjACNhAF7y+GyIxejMuqKRAPtgs32Yg0WY2S4Om0hKslCp4 ttzn15XUwRtUeJG1E3zfvUnjXrG7OjPnzh1juVpnMiqzBpbdGNo1+Za0/ j1GsZJXItih+gQvFRHxWD4lbzIyeSEVedMlQ/8V211RoNx+djTmt7ZZcG w==; X-IronPort-AV: E=McAfee;i="6600,9927,10756"; a="347165615" X-IronPort-AV: E=Sophos;i="6.01,170,1684825200"; d="scan'208";a="347165615" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2023 05:43:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10756"; a="862280550" X-IronPort-AV: E=Sophos;i="6.01,170,1684825200"; d="scan'208";a="862280550" Received: from kuha.fi.intel.com ([10.237.72.185]) by fmsmga001.fm.intel.com with SMTP; 30 Jun 2023 05:42:58 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Fri, 30 Jun 2023 15:42:57 +0300 Date: Fri, 30 Jun 2023 15:42:57 +0300 From: Heikki Krogerus To: Kyle Tso Cc: gregkh@linuxfoundation.org, badhri@google.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2 3/3] usb: typec: Use sysfs_emit_at when concatenating the string Message-ID: References: <20230623151036.3955013-1-kyletso@google.com> <20230623151036.3955013-4-kyletso@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230623151036.3955013-4-kyletso@google.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 23, 2023 at 11:10:36PM +0800, Kyle Tso wrote: > The buffer address used in sysfs_emit should be aligned to PAGE_SIZE. > Use sysfs_emit_at instead to offset the buffer. > > Fixes: a7cff92f0635 ("usb: typec: USB Power Delivery helpers for ports and partners") > Cc: stable@vger.kernel.org > Signed-off-by: Kyle Tso Acked-by: Heikki Krogerus -- heikki