Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1458457pxj; Fri, 21 May 2021 15:04:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrgfGr9SUTu2z/pQVZ97WZUMPbN00xzOy1cexmPdkIarJYA/RI/lXqWNw5qEwjdgnRhWC8 X-Received: by 2002:a05:6402:4414:: with SMTP id y20mr13720691eda.41.1621634685850; Fri, 21 May 2021 15:04:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621634685; cv=none; d=google.com; s=arc-20160816; b=N04XEsKWIaPYL5XBXJXAa6wicYF1P/jwLrPbX2VdkZFdkUj/IjT+Bg3nEIhqw5OLXG n45ZytbA1AYx0jYsftaAlM/JFM+i3rRaffZafISPA11y2BJHly4H5yiBiUX3puZQRPIz SZ4YdoJBsowSS/nisI0YsuR/z7DghsdP33LXMORjqacuS79fTIBwnPSDowG1PIaJxucx Q8QKMCFLb9+DEAZKlpoYTq0wQvdpyLGQPL6iOXYl1Cj9UJ8j2UG5cMUVCll+5K60wnEI d/yBXr6GjfOH53P6M8ijZ0Leku4VWNFpsyKkQhMAbhAIEv+yNaF6KgJhXTFkzckQG56B 7hZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=N4WDRHJzz65u4VfeYJW6joOLDC2TOf7BbCNb8jma3Ds=; b=ISPUYYUAZuC5QZolYZImmJid+LGd/O3g8teffZ8tGjDlz/hhisyKepZWPFnAc9eYGn hQrYOMtJ20XAH4EvlIBbdDA1H3dPUZMYKssfB6zlFwEjAqzAXLrOgnnmNDn9cKAEKlue 8MNavpQUyd0FEqyDDn9wOnmFxH9AkBeP0ulAw4pOeKqFZjH8rw8Bf47bUvTJVUfFqhTA o8w5YDF4qwh3yzuw+WokxXGLUD6U2mvkdnISsrHZ6fgc10ebhMIQIAbNip05gVQEylw2 gdFKlPKCtQQPFgyBRpB/o5sf8K6rhmK2trHp7dIP5L80vxaOUHUtqwiQdPFzw1CAe3YG uVSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lfkQEcoJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n21si5996572edq.44.2021.05.21.15.04.23; Fri, 21 May 2021 15:04:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lfkQEcoJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229708AbhEUWEX (ORCPT + 99 others); Fri, 21 May 2021 18:04:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbhEUWEV (ORCPT ); Fri, 21 May 2021 18:04:21 -0400 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1B41C0613CE for ; Fri, 21 May 2021 15:02:56 -0700 (PDT) Received: by mail-oi1-x22f.google.com with SMTP id t24so5530819oiw.3 for ; Fri, 21 May 2021 15:02:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=N4WDRHJzz65u4VfeYJW6joOLDC2TOf7BbCNb8jma3Ds=; b=lfkQEcoJDzWkpaNQkq45vsQfYAFYQvjFjWDhsaxUacnqXj1TyseJXeorDzXc0RtOQz Aiy46ofTKuXrN095DXIH4oEfrR9k5TP0SxQU4Xk07U+Gy/2ozQpC6gZI7ACKzlSrleuL +tvdyizaE58T36IItLv0VfNZs9UI4xHjHn4WQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=N4WDRHJzz65u4VfeYJW6joOLDC2TOf7BbCNb8jma3Ds=; b=gb1nw9OviEK1jWqxo0OED61t6h9YTxdfkdMI1YOcxV/mlSqqlIFRK/S+2uEWhzFhya a9wi1VaiIPcBj7bhhgtUav/VRIj7ZLKm2+VB45wnz/fWet7uMROWG9RGXfnGY8ffuHQg Aie6FF+Uyg87ii9XxeOltOzB99w9bkDvgBgKl5Px4s1k9qZlyyEmWwHKXGX2FAb7NcOd nZBD47AU8M3Xdk2slYBVv/ctG4fxpJiJQ76C3seBTYcbGZcm4AtzBhZJmiwlYV9UNfhm JWusctRMFtpmFZKsuvL8Uw7SyYiXvB2hNdqxklA1G01TBUdi220eMexrof9ReobGmSeq Z7yQ== X-Gm-Message-State: AOAM530+UUjJHIizLwIP3UM23Z+e+k+KvcHWF9gCuiNTeLtORwALTaCc 9A0UOxqNqv25J/8xO+ZIGgPfSBlJ8xyIB40JsUbdqw== X-Received: by 2002:aca:654d:: with SMTP id j13mr3780480oiw.125.1621634576454; Fri, 21 May 2021 15:02:56 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 21 May 2021 15:02:55 -0700 MIME-Version: 1.0 In-Reply-To: <20210521140031.1.Ibaca694aedfaff823feefa06b29ae746c641dd1a@changeid> References: <20210521140031.1.Ibaca694aedfaff823feefa06b29ae746c641dd1a@changeid> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Fri, 21 May 2021 15:02:55 -0700 Message-ID: Subject: Re: [PATCH 1/2] nvmem: core: constify nvmem_cell_read_variable_common() return value To: Douglas Anderson , Srinivas Kandagatla Cc: Rajendra Nayak , linux-arm-msm@vger.kernel.org, Joe Perches , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Douglas Anderson (2021-05-21 14:00:57) > The caller doesn't modify the memory pointed to by the pointer so it > can be const. > > Suggested-by: Stephen Boyd > Signed-off-by: Douglas Anderson > --- Reviewed-by: Stephen Boyd