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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B13C6C27C5F for ; Fri, 7 Jun 2024 15:37:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Gvl1ePSGJLQI6H3yT3rKdEMskZJf9eT9aaY4Rz5z89k=; b=h5Jz2955uAak/Q uDVfFuf6PxZe35pZLJdSs0i/q2dJ136koR88rxx3a4Pq4LEuaOt/ATi4gqH37VGfYJ/gX0VsMqknE Nj7SYzFrD8bNSRFleHwfPgKB9KGgk7EWAxrPgzKAK8gAEdz45ifGhvV0vXxaOzA0xLrI5oWQ/l4Zs NGGql+G4cdfE4i+cjj4URDDU2NFKe7FBlQ6B0MjP2akQPZIQR+NZ+yV/h0MlYbDumEO+PhCpNZ1+L l5pcLRdHrocWiZOIXoahmJ/jEAbc21YLuAbICkP3ClYk+LyjMGzjV9IAeuPqrNMzKeKs5B5ZjA066 9AuR+QPRc7/Ibym594ew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFbeL-0000000EkDo-3txa; Fri, 07 Jun 2024 15:37:05 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFbeH-0000000EkBB-2mUm for linux-arm-kernel@lists.infradead.org; Fri, 07 Jun 2024 15:37:03 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-42121d27861so21297405e9.0 for ; Fri, 07 Jun 2024 08:36:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717774617; x=1718379417; darn=lists.infradead.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=4WFHGyOf2WCg/AHCXQoRe0OOLDlNcvfZjAFHn1msRSw=; b=OZMadpBsN8F9MWDVmJsi94S02rH3wNjOK/2O+lkGiG985Q6msH9Cs5Bpg8SiK6Vf5L 2B5MClTYWGT7K/AxEwja2Jjkc/BSlFqTJSCoBw5LleIJ7w38rZ+Sa35NXTBBcTQVxJ2d wRo9zA4hYKwkfHxpXToGJCG19jx6pC3dMiUAWKDkV3wJLFh2pE2zFSF4sNZ/AEaK4lec 3MNOee6/VjEFZje79EKqBwWTjD3JBcytGE9YAkMLmGGP6ev2iQphjs/L1e8xb2KOZhau JeolbJVS0n8G5jMDYQQgoD+OGgRMdwwDTXkUjalsMiLx7F9C5Vmr0FMzj8bI1ryf2siZ qmsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717774617; x=1718379417; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4WFHGyOf2WCg/AHCXQoRe0OOLDlNcvfZjAFHn1msRSw=; b=RtOSV5ufwQKBikmsMPCp1H4G4v5CCYlHUwi6abCFrjuV71nR8J/CYF7b6tahjWuQzh 0ysyEe+ZukpgNxEilZlPK6k4XClMI/dH0PUA/1AziwMmby4034FBxJ21jZ5iSlAMDsE3 lQGVoWxIuilJobJIg3T6WycZzrNEshZMpA5dxc4X8YmMFORfnxhktcfzvs82qfMGY8Wh ARZXqtawtDW639EeDrNOJpcL133HCYqubW+Oq4pmdH7olnwdU+Lkh+jneD+MpKC64u2S orZWIVIEvBd5OExOChl9eHtJ97VLLUIoVXDtwoN8lImBISLWYLK8xNtLvSU2KhvSCe/D LvSA== X-Forwarded-Encrypted: i=1; AJvYcCUDBPsFt1gCpGRDZz9YLVXUE87t7QMVbSKASFChXzvUT2YZhMe2Rm4woNDsPEFBk2UqTiJ4Hu6AHKMkS/KVS8JBTUmFqwDWr7w860sQUemkQwCuvOs= X-Gm-Message-State: AOJu0YzfyQIDnXylI9zDIw3K/WzeT/R5+1xEhbvq6iSPfoB58H0+lKMC QeioNVZ7WYPXrUvY8B88YBey+Gz8VlswI6FVkaBtDTHL4OotqN5VJDZJNdwux98= X-Google-Smtp-Source: AGHT+IEDldfKJ9oi/vJP0wgtmawveExjpCYHaZ1+MQjCvlUC+KOjWN7/r5DIQyvHKU1HK5ctc+JgNw== X-Received: by 2002:a05:600c:444b:b0:420:29a8:ff5e with SMTP id 5b1f17b1804b1-42164a0c1c9mr25925175e9.19.1717774617356; Fri, 07 Jun 2024 08:36:57 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4215f89aacfsm48862905e9.42.2024.06.07.08.36.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Jun 2024 08:36:56 -0700 (PDT) Message-ID: <7cc32596-8af0-43ff-91fd-59264d0a29ac@linaro.org> Date: Fri, 7 Jun 2024 16:36:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 07/17] misc: eeprom: at25: Change nvmem reg_read/write return type To: Dan Carpenter , Joy Chakraborty , Greg Kroah-Hartman Cc: AngeloGioacchino Del Regno , Lars-Peter Clausen , Sakari Ailus , Bingbu Cao , Zhihao Cheng , Jerome Brunet , Martin Blumenstingl , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-media@vger.kernel.org, linux-i2c@vger.kernel.org, linux-gpio@vger.kernel.org, linux-mtd@lists.infradead.org, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org, manugautam@google.com References: <20240605175953.2613260-1-joychakr@google.com> <20240605175953.2613260-8-joychakr@google.com> Content-Language: en-US From: Srinivas Kandagatla In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240607_083701_818131_9C1D8A68 X-CRM114-Status: GOOD ( 11.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 06/06/2024 09:41, Dan Carpenter wrote: > So the original bug was that rmem_read() is returning positive values > on success instead of zero[1]. That started a discussion about partial > reads which resulted in changing the API to support partial reads[2]. > That patchset broke the build. This patchset is trying to fix the > build breakage. > > [1]https://lore.kernel.org/all/20240206042408.224138-1-joychakr@google.com/ > [2]https://lore.kernel.org/all/20240510082929.3792559-2-joychakr@google.com/ > > The bug in rmem_read() is still not fixed. That needs to be fixed as > a stand alone patch. We can discuss re-writing the API separately. I agree with Dan, Lets fix the rmem_read and start working on the API rework in parallel. Am happy to pick the [1]. --srini _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel