lkml.org 
[lkml]   [2020]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v7 4/7] OPP: Add support for parsing interconnect bandwidth
    On 24-04-20, 12:20, Matthias Kaehlcke wrote:
    > On Fri, Apr 24, 2020 at 06:54:01PM +0300, Georgi Djakov wrote:
    > > + for (i = 0; i < num_paths; i++) {
    > > + opp_table->paths[i] = of_icc_get_by_index(dev, i);
    > > + if (IS_ERR(opp_table->paths[i])) {
    > > + ret = PTR_ERR(opp_table->paths[i]);
    > > + if (ret != -EPROBE_DEFER) {
    > > + dev_err(dev, "%s: Unable to get path%d: %d\n",
    > > + __func__, i, ret);
    > > + }
    >
    > nit: curly braces not needed

    Again, braces are preferred across multi-line blocks. Please keep it.

    --
    viresh

    \
     
     \ /
      Last update: 2020-04-30 07:29    [W:2.655 / U:0.368 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site